public class JMapPersonalDataSource extends JMapEditableDataSource
DEFAULT_INDEX_BASE, DEFAULT_TABLE_BASE
hiddenAttributes, systemAttributes
dbConfig, DEFAULT_GEOMETRY_FORMAT, JMAP_AREA_FIELD, JMAP_CENTROID_X_FIELD, JMAP_CENTROID_Y_FIELD, JMAP_GEOMETRY_FIELD, JMAP_GEOMETRY_TYPE_FIELD, JMAP_GEOMETRY_TYPE_FIELD_IX_NAME, JMAP_ID_FIELD, JMAP_ID_FIELD_IX_NAME, JMAP_LENGTH_FIELD, JMAP_MBR_FIELDS_IX_NAME, JMAP_MBR_X1_FIELD, JMAP_MBR_X2_FIELD, JMAP_MBR_Y1_FIELD, JMAP_MBR_Y2_FIELD, LAYER_TABLE_BASE, LAYERS_INDEX_TABLE, METADATA_EXTENT_X1, METADATA_EXTENT_X2, METADATA_EXTENT_Y1, METADATA_EXTENT_Y2, METADATA_GEOMETRY_FORMAT, METADATA_INDEX_COLS, METADATA_INDEX_ROWS, METADATA_INDEX_TABLE_NAME, METADATA_SRID, METADATA_TABLE, METADATA_TABLE_NAME, SPATIAL_INDEX_TABLE_BASE, TABLE_BASE
integerFields, mbrX1Field, mbrX2Field, mbrY1Field, mbrY2Field
connPool, MAX_EXTRACT_ELEMENTS_COUNT
EMPTY_ATTRIBUTE_ARRAY, EMPTY_ELEMENT_ARRAY
Constructor and Description |
---|
JMapPersonalDataSource() |
Modifier and Type | Method and Description |
---|---|
void |
delete()
The
delete() method is called when a spatial data source is being deleted
in order to free and delete all resources used. |
EditionResult[] |
deleteElements(EditionTransaction.Delete transaction) |
JMapGeoElement[] |
extractElements(QueryFilter[] queryFilters) |
JMapGeoElement[] |
extractElements(QueryFilter[] queryFilters,
Attribute[] attributes) |
void |
init(SpatialDataSourceInfo dsInfo) |
EditionResult[] |
insertElements(EditionTransaction.Insert transaction) |
EditionResult[] |
insertElements(EditionTransaction.Insert transaction,
Attribute[] attributes) |
protected void |
setSystemFields() |
EditionResult[] |
updateElements(EditionTransaction.Update transaction) |
EditionResult[] |
updateElements(EditionTransaction.Update transaction,
Attribute[] attributes) |
close, getAttributeMetaData, getBaseDataTableName, getBaseIndexTableName, getConflictEditionResults, getDataSourceInfo, getName, getNextGeometryId, isSpatialIndexSupported, update
alterTable, appendGeometryTypesFilter, computeElementsCount, computeExtent, createBaseTable, getCount, getExtent, getHiddenAttributes, getSystemAttributes
calculateStats, deleteMetadataTableEntry, extractAttributes, extractElements, formatGeometryTableName, formatIndexTableName, getMetadataExtent, prepareSpatialIndexWhereClause, updateMetadataTable, validateAttributeNames, validateAttributeNames, validateFieldName, validateFieldName
appendSpatialFilter, createIndex, createIndex, deleteIndex, getExtent, getSimpleExtent, indexExists, setDefaultIsolationLevel, setIsolationLevel, setMinIsolationLevel
appendSqlFilter, insertSqlRestrictions, setupQueryFilters
appendAttributeFilter, applyQueryFilters
isCancelled, validateProjection
public void init(SpatialDataSourceInfo dsInfo)
init
in class JMapEditableDataSource
public void delete()
delete()
method is called when a spatial data source is being deleted
in order to free and delete all resources used.delete
in class AbstractJMapTableDataSource
public JMapGeoElement[] extractElements(QueryFilter[] queryFilters, Attribute[] attributes) throws java.lang.Exception
extractElements
in class AbstractJMapDataSource
java.lang.Exception
public JMapGeoElement[] extractElements(QueryFilter[] queryFilters) throws java.lang.Exception
java.lang.Exception
public EditionResult[] deleteElements(EditionTransaction.Delete transaction)
deleteElements
in interface EditableVectorDataSource
deleteElements
in class JMapEditableDataSource
public EditionResult[] insertElements(EditionTransaction.Insert transaction, Attribute[] attributes)
insertElements
in interface EditableVectorDataSource
insertElements
in class JMapEditableDataSource
public EditionResult[] insertElements(EditionTransaction.Insert transaction)
public EditionResult[] updateElements(EditionTransaction.Update transaction, Attribute[] attributes)
updateElements
in interface EditableVectorDataSource
updateElements
in class JMapEditableDataSource
public EditionResult[] updateElements(EditionTransaction.Update transaction)
protected void setSystemFields()
setSystemFields
in class JMapEditableDataSource