org.locationtech.geomesa.index.geotools
common datastore configuration options - subclasses can extend this
Gets and acquires a distributed lock based on the key.
Gets and acquires a distributed lock based on the key. Make sure that you 'release' the lock in a finally block.
key to lock on - equivalent to a path in zookeeper
how long to wait to acquire the lock, in millis
the lock, if obtained
Gets and acquires a distributed lock based on the key.
Gets and acquires a distributed lock based on the key. Make sure that you 'release' the lock in a finally block.
key to lock on - equivalent to a path in zookeeper
the lock
Acquires a distributed lock for all data stores sharing this catalog table.
Acquires a distributed lock for all data stores sharing this catalog table. Make sure that you 'release' the lock in a finally block.
common datastore configuration options - subclasses can extend this
Validates the schema and writes metadata to catalog.If the schema already exists, continue without error.
Validates the schema and writes metadata to catalog.If the schema already exists, continue without error.
This method uses distributed locking to ensure a schema is only created once.
type to create
org.geotools.data.DataAccess#createSchema(org.opengis.feature.type.FeatureType)
Optimized method to delete everything (all tables) associated with this datastore (index tables and catalog table) NB: We are *not* currently deleting the query table and/or query information.
Cleanup any open connections, etc.
Cleanup any open connections, etc. Equivalent to java.io.Closeable.close()
org.geotools.data.DataAccess#dispose()
Returns all index tables that may be created for the simple feature type.
Returns all index tables that may be created for the simple feature type. Note that some of these tables may be shared with other simple feature types, and the tables may not all currently exist.
simple feature type name
Returns all tables that may be created for the simple feature type.
Returns all tables that may be created for the simple feature type. Note that some of these tables may be shared with other simple feature types, and the tables may not all currently exist.
simple feature type name
Gets the geomesa version
Gets the geomesa version
client version
Gets the geomesa version
Gets the geomesa version
iterator version, if data store has iterators
query to execute
transaction to use (currently ignored)
feature reader
org.geotools.data.DataStore#getFeatureReader(org.geotools.data.Query, org.geotools.data.Transaction)
simple feature type name
featureStore, suitable for reading and writing
org.geotools.data.DataStore#getFeatureSource(java.lang.String)
simple feature type name
featureStore, suitable for reading and writing
org.geotools.data.DataStore#getFeatureSource(java.lang.String)
Create a general purpose writer that is capable of updates and deletes.
Create a general purpose writer that is capable of updates and deletes. Does not allow inserts.
feature type name
cql filter to select features for update/delete
transaction (currently ignored)
feature writer
org.geotools.data.DataStore#getFeatureWriter(java.lang.String, org.opengis.filter.Filter, org.geotools.data.Transaction)
Create a general purpose writer that is capable of updates and deletes.
Create a general purpose writer that is capable of updates and deletes. Does not allow inserts. Will return all existing features.
feature type name
transaction (currently ignored)
feature writer
org.geotools.data.DataStore#getFeatureWriter(java.lang.String, org.geotools.data.Transaction)
Creates a feature writer only for writing - does not allow updates or deletes.
Creates a feature writer only for writing - does not allow updates or deletes.
feature type name
transaction (currently ignored)
feature writer
org.geotools.data.DataStore#getFeatureWriterAppend(java.lang.String, org.geotools.data.Transaction)
Writes to the specified indices
Writes to the specified indices
feature type name
indices to write
service info
org.geotools.data.DataAccess#getInfo()
We always return null, which indicates that we are handling transactions ourselves.
We always return null, which indicates that we are handling transactions ourselves.
locking manager - null
org.geotools.data.DataStore#getLockingManager()
existing simple feature type names
org.geotools.data.DataAccess#getNames()
Gets the query plan for a given query.
Gets the query plan for a given query. The query plan consists of the tables, ranges, iterators etc required to run a query against the data store.
query to execute
hint on the index to use to satisfy the query
query plans
feature type name
feature type, or null if it does not exist
org.geotools.data.DataStore#getSchema(java.lang.String)
feature type name
feature type, or null if it does not exist
org.geotools.data.DataAccess#getSchema(org.opengis.feature.type.Name)
existing simple feature type names
org.geotools.data.DataStore#getTypeNames()
Gets iterator versions as a string.
Gets iterator versions as a string. Subclasses with distributed classpaths should override and implement.
iterator versions
Called after schema metadata has been persisted.
Called after schema metadata has been persisted. Allows for creating tables, etc
simple feature type
Called after deleting schema metadata.
Called after deleting schema metadata. Allows for deleting tables, etc
simple feature type
Called after schema metadata has been persisted.
Called after schema metadata has been persisted. Allows for creating tables, etc
simple feature type
previous feature type before changes
Called just before persisting schema metadata.
Called just before persisting schema metadata. Allows for validation or configuration of user data
simple feature type
java.lang.IllegalArgumentException
if schema is invalid and shouldn't be written
Called just before updating schema metadata.
Called just before updating schema metadata. Allows for validation or configuration of user data
simple feature type
previous feature type before changes
java.lang.IllegalArgumentException
if schema is invalid and shouldn't be updated
simple feature type name
org.geotools.data.DataAccess#removeSchema(org.opengis.feature.type.Name)
Deletes the schema metadata
Deletes the schema metadata
simple feature type name
org.geotools.data.DataStore#removeSchema(java.lang.String)
Update the local value for sft.getIndices
.
Update the local value for sft.getIndices
. Only needed for legacy data stores with old index metadata
encoding
simple feature type
Allows the following modifications to the schema: renaming the feature type renaming attributes appending new attributes enabling/disabling indices through RichSimpleFeatureType.setIndexVersion modifying keywords through user-data
Allows the following modifications to the schema: renaming the feature type renaming attributes appending new attributes enabling/disabling indices through RichSimpleFeatureType.setIndexVersion modifying keywords through user-data
Other modifications are not supported.
simple feature type name
new simple feature type
org.geotools.data.DataAccess#updateSchema(org.opengis.feature.type.Name, org.opengis.feature.type.FeatureType)
Allows the following modifications to the schema: renaming the feature type renaming attributes appending new attributes enabling/disabling indices through RichSimpleFeatureType.setIndexVersion modifying keywords through user-data
Allows the following modifications to the schema: renaming the feature type renaming attributes appending new attributes enabling/disabling indices through RichSimpleFeatureType.setIndexVersion modifying keywords through user-data
Other modifications are not supported.
simple feature type name
new simple feature type
org.geotools.data.DataStore#updateSchema(java.lang.String, org.opengis.feature.simple.SimpleFeatureType)
Execute a function wrapped in a lock
Execute a function wrapped in a lock
result type
key to lock on
how long to wait to acquire the lock, in millis
function to run with the lock
function to run if the lock could not be acquired
Execute a function wrapped in a lock
Execute a function wrapped in a lock
result type
key to lock on
function to run with the lock
use getDistributedVersion
Gets the geomesa version
Gets the geomesa version
(client version, iterator version)
use getClientVersion and getDistributedVersion
Abstract base class for data store implementations on top of distributed databases
type of this data store