public class CreateTableOperation extends AbstractConnectionWritableOperation
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<java.lang.String> |
additionalSQLs |
protected OperationsFactory.TableReference |
table |
protected FeatureType |
type |
protected java.util.List<<any>> |
userAndPrivileges |
conn, helper, LOGGER| Constructor and Description |
|---|
CreateTableOperation(JDBCHelper helper) |
CreateTableOperation(JDBCHelper helper,
OperationsFactory.TableReference table,
FeatureType type,
java.util.List<<any>> userAndPrivileges,
java.util.List<java.lang.String> additionalSQLs) |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.List<java.lang.String> |
buildCreateIndexesSQL(OperationsFactory.TableReference table,
FeatureType type) |
java.util.List<java.lang.String> |
getSQLs() |
FeatureType |
getType() |
java.lang.Object |
perform(JDBCConnection conn) |
boolean |
performCreateTable(JDBCConnection conn) |
getConnectioncloseConnection, continueTransactionAllowed, createSQLBuilder, needTransaction, perform_operation, performprotected final OperationsFactory.TableReference table
protected FeatureType type
protected final java.util.List<<any>> userAndPrivileges
protected final java.util.List<java.lang.String> additionalSQLs
public CreateTableOperation(JDBCHelper helper)
public CreateTableOperation(JDBCHelper helper, OperationsFactory.TableReference table, FeatureType type, java.util.List<<any>> userAndPrivileges, java.util.List<java.lang.String> additionalSQLs)
public FeatureType getType()
public final java.lang.Object perform(JDBCConnection conn) throws DataException
DataExceptionprotected java.util.List<java.lang.String> buildCreateIndexesSQL(OperationsFactory.TableReference table, FeatureType type)
public java.util.List<java.lang.String> getSQLs()
throws DataException
DataExceptionpublic boolean performCreateTable(JDBCConnection conn) throws DataException
DataException