Class CreateTableOperation

All Implemented Interfaces:
ConnectionOperation

public class CreateTableOperation extends AbstractConnectionWritableOperation
  • Field Details

    • table

      protected final OperationsFactory.TableReference table
    • type

      protected org.gvsig.fmap.dal.feature.FeatureType type
    • userAndPrivileges

      protected final List<org.apache.commons.lang3.tuple.Pair<String,org.gvsig.fmap.dal.SQLBuilder.Privilege>> userAndPrivileges
    • additionalSQLs

      protected final List<String> additionalSQLs
  • Constructor Details

    • CreateTableOperation

      public CreateTableOperation(JDBCHelper helper)
    • CreateTableOperation

      public CreateTableOperation(JDBCHelper helper, OperationsFactory.TableReference table, org.gvsig.fmap.dal.feature.FeatureType type, List<org.apache.commons.lang3.tuple.Pair<String,org.gvsig.fmap.dal.SQLBuilder.Privilege>> userAndPrivileges, List<String> additionalSQLs)
  • Method Details

    • getType

      public org.gvsig.fmap.dal.feature.FeatureType getType()
    • perform

      public final Object perform(org.gvsig.fmap.dal.store.jdbc2.JDBCConnection conn) throws org.gvsig.fmap.dal.exception.DataException
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • buildCreateIndexesSQL

      protected List<String> buildCreateIndexesSQL(OperationsFactory.TableReference table, org.gvsig.fmap.dal.feature.FeatureType type)
    • getSQLs

      public List<String> getSQLs() throws org.gvsig.fmap.dal.exception.DataException
      Throws:
      org.gvsig.fmap.dal.exception.DataException
    • performCreateTable

      public boolean performCreateTable(org.gvsig.fmap.dal.store.jdbc2.JDBCConnection conn) throws org.gvsig.fmap.dal.exception.DataException
      Throws:
      org.gvsig.fmap.dal.exception.DataException