public class ExportJDBCParametersImpl extends AbstractExportParametersGeometry implements ExportJDBCParameters
exportAttributes, factory, LOGGER
CHECKGEOMETRY_CHECK_IF_CORRUPT, CHECKGEOMETRY_CHECK_IF_VALID, CHECKGEOMETRY_NONE, CHECKGEOMETRYACTION_ABORT, CHECKGEOMETRYACTION_SET_GEOMETRY_TO_NULL, CHECKGEOMETRYACTION_SKIP_FEATURE
USE_ALL_FEATURES, USE_FILTERED_FEATURES, USE_SELECTED_FEATURES
Constructor and Description |
---|
ExportJDBCParametersImpl() |
ExportJDBCParametersImpl(ExportJDBCServiceFactory factory) |
Modifier and Type | Method and Description |
---|---|
boolean |
canCreatetable() |
ExportJDBCParameters |
clone() |
java.lang.String |
fixIdentifier(java.lang.String name) |
java.lang.String |
getAllRole() |
int |
getCaseIdentifiersMode() |
boolean |
getCreateIndexInGeometryRow() |
java.lang.String |
getDeleteRole() |
Expression |
getDeleteRowsFilter() |
java.lang.String |
getExplorerName() |
JDBCServerExplorerParameters |
getExplorerParameters() |
java.lang.String |
getInsertRole() |
java.lang.String |
getPostCreatingStatement() |
java.lang.String |
getPrimaryKey() |
java.lang.String |
getReferenceRole() |
boolean |
getRemoveSpacesInIdentifiers() |
java.lang.String |
getSchema() |
java.lang.String |
getSelectRole() |
java.lang.String |
getServiceName() |
java.lang.String |
getStoreName() |
java.lang.String |
getTableName() |
boolean |
getTranslateHyphens() |
java.lang.String |
getTriggerRole() |
java.lang.String |
getTruncateRole() |
java.lang.String |
getUpdateRole() |
boolean |
getUpdateTableStatistics() |
boolean |
isDeleteRows() |
void |
loadFromState(PersistentState state)
Set the state of the object from the state passed as parameter.
|
static void |
registerPersistence() |
void |
saveToState(PersistentState state)
Saves the internal state of the object on the provided
PersistentState object.
|
void |
setAllRole(java.lang.String allRole) |
void |
setCanCreatetable(boolean canCreatetable) |
void |
setCaseIdentifiersMode(int mode) |
void |
setCreateIndexInGeometryRow(boolean createIndexInGeometryRow) |
void |
setDeleteRole(java.lang.String deleteRole) |
void |
setDeleteRows(boolean deleteRows) |
void |
setDeleteRowsFilter(Expression deleteRowsFilter) |
void |
setExplorerName(java.lang.String explorerName) |
void |
setExplorerParameters(JDBCServerExplorerParameters explorerParameters) |
void |
setInsertRole(java.lang.String insertRole) |
void |
setPostCreatingStatement(java.lang.String postCreatingStatement) |
void |
setPrimaryKey(java.lang.String primaryKey) |
void |
setReferenceRole(java.lang.String referenceRole) |
void |
setRemoveSpacesInIdentifiers(boolean removeSpacesInIdentifiers) |
void |
setSchema(java.lang.String schema) |
void |
setSelectRole(java.lang.String selectRole) |
void |
setStoreName(java.lang.String storeName) |
void |
setTableName(java.lang.String tableName) |
void |
setTranslateHyphens(boolean translateHyphens) |
void |
setTriggerRole(java.lang.String triggerRole) |
void |
setTruncateRole(java.lang.String truncateRole) |
void |
setUpdateRole(java.lang.String updateRole) |
void |
setUpdateTableStatistics(boolean updateTableStatistics) |
getContextProjection, getGeometryChecks, getGeometryChecksAction, getSourceGeometryFieldName, getSourceProjection, getSourceTransformation, getTargetGeometrySubtype, getTargetGeometryType, getTargetGeometryTypeAsInt, getTargetProjection, getTargetTransformation, getTransformationToUse, getTryToFixGeometry, needsSelectTargetProjection, setContextProjection, setGeometryChecks, setGeometryChecksAction, setSourceGeometryFieldName, setSourceProjection, setSourceTransformation, setTargetGeometrySubtype, setTargetGeometryType, setTargetGeometryType, setTargetProjection, setTargetTransformation, setTryToFixGeometry
getContext, getCreationDate, getExportAttributes, getFactory, getFeatureQuery, getFeaturesToUse, getFilterExpresion, getLabel, getSourceFeatureStore, getSourceFeatureType, getTargetFeatureType, getValue, resetVolatileValues, setContext, setCreationDate, setExportAttributes, setFeatureQuery, setFeaturesToUse, setFilterExpresion, setSourceFeatureStore, setSourceFeatureType, toString
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getContextProjection, getGeometryChecks, getGeometryChecksAction, getSourceGeometryFieldName, getSourceProjection, getSourceTransformation, getTargetGeometrySubtype, getTargetGeometryType, getTargetGeometryTypeAsInt, getTargetProjection, getTargetTransformation, getTransformationToUse, getTryToFixGeometry, setContextProjection, setGeometryChecks, setGeometryChecksAction, setSourceGeometryFieldName, setSourceProjection, setSourceTransformation, setTargetGeometrySubtype, setTargetGeometryType, setTargetGeometryType, setTargetProjection, setTargetTransformation, setTryToFixGeometry
getContext, getCreationDate, getExportAttributes, getFactory, getFeatureQuery, getFeaturesToUse, getFilterExpresion, getSourceFeatureStore, getSourceFeatureType, getTargetFeatureType, needsSelectTargetProjection, resetVolatileValues, setContext, setCreationDate, setExportAttributes, setFeatureQuery, setFeaturesToUse, setFilterExpresion, setSourceFeatureStore, setSourceFeatureType
getLabel, getValue, label, toString
public ExportJDBCParametersImpl(ExportJDBCServiceFactory factory)
public ExportJDBCParametersImpl()
public java.lang.String getServiceName()
getServiceName
in interface ExportParameters
public JDBCServerExplorerParameters getExplorerParameters()
getExplorerParameters
in interface ExportJDBCParameters
public void setExplorerParameters(JDBCServerExplorerParameters explorerParameters)
setExplorerParameters
in interface ExportJDBCParameters
explorerParameters
- the explorerParameters to setpublic java.lang.String getSchema()
getSchema
in interface ExportJDBCParameters
public void setSchema(java.lang.String schema)
setSchema
in interface ExportJDBCParameters
schema
- the schema to setpublic java.lang.String getTableName()
getTableName
in interface ExportJDBCParameters
public void setTableName(java.lang.String tableName)
setTableName
in interface ExportJDBCParameters
tableName
- the tableName to setpublic boolean canCreatetable()
canCreatetable
in interface ExportJDBCParameters
public void setCanCreatetable(boolean canCreatetable)
setCanCreatetable
in interface ExportJDBCParameters
canCreatetable
- the canCreatetable to setpublic java.lang.String getPrimaryKey()
getPrimaryKey
in interface ExportJDBCParameters
public void setPrimaryKey(java.lang.String primaryKey)
setPrimaryKey
in interface ExportJDBCParameters
primaryKey
- the primaryKeyName to setpublic java.lang.String getStoreName()
getStoreName
in interface ExportJDBCParameters
public void setStoreName(java.lang.String storeName)
setStoreName
in interface ExportJDBCParameters
storeName
- the storeName to setpublic java.lang.String getExplorerName()
getExplorerName
in interface ExportJDBCParameters
public void setExplorerName(java.lang.String explorerName)
setExplorerName
in interface ExportJDBCParameters
explorerName
- the explorerName to setpublic void setCaseIdentifiersMode(int mode)
setCaseIdentifiersMode
in interface ExportJDBCParameters
mode
- the caseIdentifiersMode to setpublic void setRemoveSpacesInIdentifiers(boolean removeSpacesInIdentifiers)
setRemoveSpacesInIdentifiers
in interface ExportJDBCParameters
removeSpacesInIdentifiers
- the removeSpacesInIdentifiers to setpublic void setTranslateHyphens(boolean translateHyphens)
setTranslateHyphens
in interface ExportJDBCParameters
translateHyphens
- the translateHyphens to setpublic java.lang.String getSelectRole()
getSelectRole
in interface ExportJDBCParameters
public void setSelectRole(java.lang.String selectRole)
setSelectRole
in interface ExportJDBCParameters
selectRole
- the selectRole to setpublic java.lang.String getInsertRole()
getInsertRole
in interface ExportJDBCParameters
public void setInsertRole(java.lang.String insertRole)
setInsertRole
in interface ExportJDBCParameters
insertRole
- the insertRole to setpublic java.lang.String getUpdateRole()
getUpdateRole
in interface ExportJDBCParameters
public void setUpdateRole(java.lang.String updateRole)
setUpdateRole
in interface ExportJDBCParameters
updateRole
- the updateRole to setpublic java.lang.String getDeleteRole()
getDeleteRole
in interface ExportJDBCParameters
public void setDeleteRole(java.lang.String deleteRole)
setDeleteRole
in interface ExportJDBCParameters
deleteRole
- the deleteRole to setpublic java.lang.String getTruncateRole()
getTruncateRole
in interface ExportJDBCParameters
public void setTruncateRole(java.lang.String truncateRole)
setTruncateRole
in interface ExportJDBCParameters
truncateRole
- the truncateRole to setpublic java.lang.String getReferenceRole()
getReferenceRole
in interface ExportJDBCParameters
public void setReferenceRole(java.lang.String referenceRole)
setReferenceRole
in interface ExportJDBCParameters
referenceRole
- the referenceRole to setpublic java.lang.String getTriggerRole()
getTriggerRole
in interface ExportJDBCParameters
public void setTriggerRole(java.lang.String triggerRole)
setTriggerRole
in interface ExportJDBCParameters
triggerRole
- the triggerRole to setpublic java.lang.String getAllRole()
getAllRole
in interface ExportJDBCParameters
public void setAllRole(java.lang.String allRole)
setAllRole
in interface ExportJDBCParameters
allRole
- the allRole to setpublic java.lang.String getPostCreatingStatement()
getPostCreatingStatement
in interface ExportJDBCParameters
public void setPostCreatingStatement(java.lang.String postCreatingStatement)
setPostCreatingStatement
in interface ExportJDBCParameters
postCreatingStatement
- the postCreatingStatement to setpublic boolean getCreateIndexInGeometryRow()
getCreateIndexInGeometryRow
in interface ExportJDBCParameters
public void setCreateIndexInGeometryRow(boolean createIndexInGeometryRow)
setCreateIndexInGeometryRow
in interface ExportJDBCParameters
createIndexInGeometryRow
- the createIndexInGeometryRow to setpublic boolean getUpdateTableStatistics()
getUpdateTableStatistics
in interface ExportJDBCParameters
public void setUpdateTableStatistics(boolean updateTableStatistics)
setUpdateTableStatistics
in interface ExportJDBCParameters
updateTableStatistics
- the updateTableStatistics to setpublic boolean getTranslateHyphens()
getTranslateHyphens
in interface ExportJDBCParameters
public boolean getRemoveSpacesInIdentifiers()
getRemoveSpacesInIdentifiers
in interface ExportJDBCParameters
public int getCaseIdentifiersMode()
getCaseIdentifiersMode
in interface ExportJDBCParameters
public void setDeleteRows(boolean deleteRows)
setDeleteRows
in interface ExportJDBCParameters
public boolean isDeleteRows()
isDeleteRows
in interface ExportJDBCParameters
public void setDeleteRowsFilter(Expression deleteRowsFilter)
setDeleteRowsFilter
in interface ExportJDBCParameters
public Expression getDeleteRowsFilter()
getDeleteRowsFilter
in interface ExportJDBCParameters
public ExportJDBCParameters clone() throws java.lang.CloneNotSupportedException
clone
in interface ExportParameters
clone
in class AbstractExportParametersGeometry
java.lang.CloneNotSupportedException
public static void registerPersistence()
public void saveToState(PersistentState state) throws PersistenceException
Persistent
saveToState
in interface Persistent
saveToState
in class AbstractExportParametersGeometry
PersistenceException
public void loadFromState(PersistentState state) throws PersistenceException
Persistent
loadFromState
in interface Persistent
loadFromState
in class AbstractExportParametersGeometry
PersistenceException
public java.lang.String fixIdentifier(java.lang.String name)
fixIdentifier
in interface ExportJDBCParameters