| |
|
| java.lang.Object org.continuent.sequoia.controller.requests.AbstractRequest org.continuent.sequoia.controller.requests.AbstractWriteRequest org.continuent.sequoia.controller.requests.CreateRequest
Constructor Summary | |
public | CreateRequest(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator) Creates a new CreateRequest instance. |
Method Summary | |
public boolean | altersAggregateList() | public boolean | altersDatabaseCatalog() | public boolean | altersDatabaseSchema() Returns true if this create request alters the current database schema
(using create table, create schema, create view) and false otherwise
(create database, create index, create function, create method, create
procedure, create role, create trigger, create type). | public boolean | altersMetadataCache() | public boolean | altersQueryResultCache() | public boolean | altersSomething() | public boolean | altersStoredProcedureList() | public boolean | altersUserDefinedTypes() | public boolean | altersUsers() | public void | cloneParsing(AbstractRequest request) | public boolean | createsTemporaryTable() | public void | debug() Displays some debugging information about this request. | public DatabaseTable | getDatabaseTable() Gets the database table created by this statement (in case of a CREATE
TABLE statement). | public Collection | getFromTables() Returns the list of tables used to fill the created table in case of create
query containing a select. | public String | getParsingResultsAsString() | public boolean | needsMacroProcessing() | public void | parse(DatabaseSchema schema, int granularity, boolean isCaseSensitive) | public boolean | returnsResultSet() |
altersAggregateList | protected boolean altersAggregateList(Code) | | |
altersDatabaseCatalog | protected boolean altersDatabaseCatalog(Code) | | |
altersDatabaseSchema | protected boolean altersDatabaseSchema(Code) | | |
altersMetadataCache | protected boolean altersMetadataCache(Code) | | |
altersQueryResultCache | protected boolean altersQueryResultCache(Code) | | |
altersSomething | protected boolean altersSomething(Code) | | |
altersStoredProcedureList | protected boolean altersStoredProcedureList(Code) | | |
altersUserDefinedTypes | protected boolean altersUserDefinedTypes(Code) | | |
altersUsers | protected boolean altersUsers(Code) | | |
createsTemporaryTable | protected boolean createsTemporaryTable(Code) | | |
fromTables | protected transient Collection fromTables(Code) | | List of tables used to fill the created table in case of create query
containing a select.
|
CreateRequest | public CreateRequest(String sqlQuery, boolean escapeProcessing, int timeout, String lineSeparator)(Code) | | Creates a new CreateRequest instance. The caller must give
an SQL request, without any leading or trailing spaces and beginning with
'create table ' (it will not be checked).
The request is not parsed but it can be done later by a call to
CreateRequest.parse(DatabaseSchema,int,boolean) .
Parameters: sqlQuery - the SQL request Parameters: escapeProcessing - should the driver to escape processing beforesending to the database ? Parameters: timeout - an int value Parameters: lineSeparator - the line separator used in the query See Also: CreateRequest.parse |
altersDatabaseSchema | public boolean altersDatabaseSchema()(Code) | | Returns true if this create request alters the current database schema
(using create table, create schema, create view) and false otherwise
(create database, create index, create function, create method, create
procedure, create role, create trigger, create type).
Returns true if this query alters the database schema. |
createsTemporaryTable | public boolean createsTemporaryTable()(Code) | | |
debug | public void debug()(Code) | | Displays some debugging information about this request.
|
getDatabaseTable | public DatabaseTable getDatabaseTable()(Code) | | Gets the database table created by this statement (in case of a CREATE
TABLE statement).
a DatabaseTable value |
getFromTables | public Collection getFromTables()(Code) | | Returns the list of tables used to fill the created table in case of create
query containing a select.
Collection of tables |
returnsResultSet | public boolean returnsResultSet()(Code) | | Does this request returns a ResultSet?
false |
|
|
|