Class TableIsEmptyOperation
java.lang.Object
org.gvsig.fmap.dal.store.jdbc2.spi.operations.AbstractConnectionOperation
org.gvsig.fmap.dal.store.jdbc2.spi.operations.TableIsEmptyOperation
- All Implemented Interfaces:
ConnectionOperation
-
Field Summary
Fields inherited from class org.gvsig.fmap.dal.store.jdbc2.spi.operations.AbstractConnectionOperation
conn, helper, LOGGER -
Constructor Summary
ConstructorsConstructorDescriptionTableIsEmptyOperation(JDBCHelper helper) TableIsEmptyOperation(JDBCHelper helper, org.gvsig.fmap.dal.feature.FeatureType featureType, OperationsFactory.TableReference table, String baseFilter, org.gvsig.fmap.dal.feature.FeatureQuery query) -
Method Summary
Modifier and TypeMethodDescriptiongetSQL()final Objectperform(org.gvsig.fmap.dal.store.jdbc2.JDBCConnection conn) booleantableIsEmpty(org.gvsig.fmap.dal.store.jdbc2.JDBCConnection conn) Methods inherited from class org.gvsig.fmap.dal.store.jdbc2.spi.operations.AbstractConnectionOperation
closeConnection, continueTransactionAllowed, createSQLBuilder, getConnection, needTransaction, perform, perform_operation
-
Constructor Details
-
TableIsEmptyOperation
-
TableIsEmptyOperation
public TableIsEmptyOperation(JDBCHelper helper, org.gvsig.fmap.dal.feature.FeatureType featureType, OperationsFactory.TableReference table, String baseFilter, org.gvsig.fmap.dal.feature.FeatureQuery query)
-
-
Method Details
-
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
-
getSQL
-
tableIsEmpty
public boolean tableIsEmpty(org.gvsig.fmap.dal.store.jdbc2.JDBCConnection conn) throws org.gvsig.fmap.dal.exception.DataException - Throws:
org.gvsig.fmap.dal.exception.DataException
-