Uses of Interface
org.geotools.api.data.Transaction
Packages that use Transaction
Package
Description
Defines the DataStore API via which all data is imported or exported.
This package contains the implementation of a ComplexDataStore,
-
Uses of Transaction in org.geotools.api.data
Fields in org.geotools.api.data declared as TransactionModifier and TypeFieldDescriptionstatic final Transaction
Transaction.AUTO_COMMIT
Represents AUTO_COMMIT mode as opposed to operations with commit/rollback control under a user-supplied transaction.Methods in org.geotools.api.data that return TransactionModifier and TypeMethodDescriptionFeatureStore.getTransaction()
Gets theTransaction
that thisFeatureStore
is currently operating against.Methods in org.geotools.api.data with parameters of type TransactionModifier and TypeMethodDescriptionDataStore.getFeatureReader
(Query query, Transaction transaction) Gets aFeatureReader
for features selected by the givenQuery
.DataStore.getFeatureWriter
(String typeName, Transaction transaction) Gets aFeatureWriter
to modify features in thisDataStore
.DataStore.getFeatureWriter
(String typeName, Filter filter, Transaction transaction) Gets aFeatureWriter
to modify features in thisDataStore
.FileDataStore.getFeatureWriter
(Transaction transaction) FileDataStore.getFeatureWriter
(Filter filter, Transaction transaction) DataStore.getFeatureWriterAppend
(String typeName, Transaction transaction) Gets aFeatureWriter
that can add new features to theDataStore
.FileDataStore.getFeatureWriterAppend
(Transaction transaction) void
LockingManager.lockFeatureID
(String typeName, String authID, Transaction transaction, FeatureLock featureLock) FeatureID based locking.boolean
LockingManager.refresh
(String authID, Transaction transaction) Refresh locks held by the authorizationlockID
.boolean
LockingManager.release
(String authID, Transaction transaction) Release locks held by the authorizationlockID
.void
FeatureStore.setTransaction
(Transaction transaction) Provide a transaction for commit/rollback control of a modifying operation on thisFeatureStore
.void
Transaction.State.setTransaction
(Transaction transaction) Provides configuration information for Transaction.Statevoid
LockingManager.unLockFeatureID
(String typeName, String authID, Transaction transaction, FeatureLock featureLock) FeatureID based unlocking. -
Uses of Transaction in org.geotools.coverage.grid.io
Methods in org.geotools.coverage.grid.io that return TransactionModifier and TypeMethodDescriptionGranuleStore.getTransaction()
Gets theTransaction
that thisGranuleStore
is currently operating against.RenamingGranuleStore.getTransaction()
Methods in org.geotools.coverage.grid.io with parameters of type TransactionModifier and TypeMethodDescriptionvoid
GranuleStore.setTransaction
(Transaction transaction) Provide a transaction for commit/rollback control of a modifying operation on thisGranuleStore
.void
RenamingGranuleStore.setTransaction
(Transaction transaction) -
Uses of Transaction in org.geotools.coverage.io.catalog
Methods in org.geotools.coverage.io.catalog with parameters of type TransactionModifier and TypeMethodDescriptionvoid
CoverageSlicesCatalog.addGranule
(String typeName, SimpleFeature granule, Transaction transaction) void
CoverageSlicesCatalog.addGranules
(String typeName, SimpleFeatureCollection granules, Transaction transaction) void
CoverageSlicesCatalog.removeGranules
(String typeName, Filter filter, Transaction transaction) void
CoverageSlicesCatalog.WrappedCoverageSlicesCatalog.removeGranules
(String typeName, Filter filter, Transaction transaction) -
Uses of Transaction in org.geotools.data
Classes in org.geotools.data that implement TransactionModifier and TypeClassDescriptionclass
Quick implementation of Transaction api.Methods in org.geotools.data that return TransactionModifier and TypeMethodDescriptionprotected Transaction
DefaultFeatureResults.getTransaction()
Returns transaction from SimpleFeatureSource (if it is a FeatureStore), or Transaction.AUTO_COMMIT if it is not.Methods in org.geotools.data with parameters of type TransactionModifier and TypeMethodDescriptionvoid
InProcessLockingManager.assertAccess
(String typeName, String featureID, Transaction transaction) Checks mutability of featureID for this transaction.InProcessLockingManager.checkedWriter
(FeatureWriter<SimpleFeatureType, SimpleFeature> writer, Transaction transaction) Provides a wrapper on the provided writer that checks locks.protected InProcessLockingManager.Lock
InProcessLockingManager.createLock
(Transaction transaction, FeatureLock featureLock) Creates the right sort of In-Process Lock.void
FeatureListenerManager.fireChanged
(String typeName, Transaction transaction, boolean commit) Notify all listeners that have registered interest for notification on this event type.void
FeatureListenerManager.fireEvent
(String typeName, Transaction transaction, FeatureEvent event) Provided event will be used as a template for notifying all FeatureSources for the provided typeName.void
FeatureListenerManager.fireFeaturesAdded
(String typeName, Transaction transaction, ReferencedEnvelope bounds, boolean commit) Notify all listeners that have registered interest for notification on this event type.void
FeatureListenerManager.fireFeaturesChanged
(String typeName, Transaction transaction, ReferencedEnvelope bounds, boolean commit) Notify all listeners that have registered interest for notification on this event type.void
FeatureListenerManager.fireFeaturesRemoved
(String typeName, Transaction transaction, ReferencedEnvelope bounds, boolean commit) Notify all listeners that have registered interest for notification on this event type.boolean
InProcessLockingManager.Lock.isAuthorized
(Transaction transaction) Check if transaction is authorized for this lockvoid
InProcessLockingManager.lockFeatureID
(String typeName, String featureID, Transaction transaction, FeatureLock featureLock) Aquire lock on featureID.boolean
DefaultRepository.lockRefresh
(String lockID, Transaction transaction) Implement lockRefresh.boolean
DefaultRepository.lockRelease
(String lockID, Transaction transaction) Implement lockRelease.boolean
InProcessLockingManager.refresh
(String authID, Transaction transaction) Refresh locks held by the authorizationauthID
.boolean
InProcessLockingManager.release
(String authID, Transaction transaction) Release locks held by the authorizationauthID
.void
InProcessLockingManager.unLockFeatureID
(String typeName, String featureID, Transaction transaction, FeatureLock featureLock) Release indicated featureID, must have correct authroization. -
Uses of Transaction in org.geotools.data.complex
Fields in org.geotools.data.complex declared as TransactionModifier and TypeFieldDescriptionprotected Transaction
AbstractMappingFeatureIterator.transaction
protected final Transaction
IndexedMappingFeatureIterator.transaction
protected final Transaction
IndexedMappingFeatureIteratorFactory.transaction
Methods in org.geotools.data.complex that return TransactionMethods in org.geotools.data.complex with parameters of type TransactionModifier and TypeMethodDescriptionMappingFeatureCollection.features
(Transaction transaction) This overload allows client code to explicitly specify the transaction that the created iterator will be working against.static IMappingFeatureIterator
MappingFeatureIteratorFactory.getInstance
(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Filter unrolledFilter, Transaction transaction) static IMappingFeatureIterator
MappingFeatureIteratorFactory.getInstance
(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Filter unrolledFilter, Transaction transaction, boolean indexEnable) Constructors in org.geotools.data.complex with parameters of type TransactionModifierConstructorDescriptionAbstractMappingFeatureIterator
(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Query unrolledQuery, boolean removeQueryLimitIfDenormalised, boolean hasPostFilter, Transaction tx) DataAccessMappingFeatureIterator
(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, boolean isFiltered, boolean removeQueryLimitIfDenormalised, boolean hasPostFilter, Transaction transaction) DataAccessMappingFeatureIterator
(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Query unrolledQuery, boolean removeQueryLimitIfDenormalised, Transaction transaction) IndexedMappingFeatureIterator
(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Filter unrolledFilter, Transaction transaction, IndexQueryManager indexModeProcessor) IndexedMappingFeatureIteratorFactory
(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Filter unrolledFilter, Transaction transaction) MappingAttributeIterator
(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Query unrolledQuery, Transaction transaction) PartialIndexedMappingFeatureIterator
(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Filter unrolledFilter, Transaction transaction, IndexQueryManager indexModeProcessor) PartialIndexedMappingFeatureIterator
(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Filter unrolledFilter, Transaction transaction, IndexQueryManager indexModeProcessor, int maxNumRound) TotalIndexedMappingFeatureIterator
(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Filter unrolledFilter, Transaction transaction, IndexQueryManager indexModeProcessor) -
Uses of Transaction in org.geotools.data.complex.spi
Methods in org.geotools.data.complex.spi with parameters of type TransactionModifier and TypeMethodDescriptionCustomSourceDataStore.buildIterator
(AppSchemaDataAccess store, FeatureTypeMapping featureTypeMapping, Query query, Transaction transaction) Allows a data store to build its own iterator that will be used by App-Schema core to retrieve the necessary attributes from the data store to build the mapped feature types. -
Uses of Transaction in org.geotools.data.csv
Methods in org.geotools.data.csv that return TransactionMethods in org.geotools.data.csv with parameters of type TransactionModifier and TypeMethodDescriptionCSVDataStore.getFeatureWriter
(Transaction transaction) CSVDataStore.getFeatureWriter
(Filter filter, Transaction transaction) CSVDataStore.getFeatureWriterAppend
(Transaction transaction) void
CSVFeatureStore.setTransaction
(Transaction transaction) -
Uses of Transaction in org.geotools.data.directory
Methods in org.geotools.data.directory that return TransactionMethods in org.geotools.data.directory with parameters of type TransactionModifier and TypeMethodDescriptionDirectoryDataStore.getFeatureReader
(Query query, Transaction transaction) DirectoryDataStore.getFeatureWriter
(String typeName, Transaction transaction) DirectoryDataStore.getFeatureWriter
(String typeName, Filter filter, Transaction transaction) DirectoryDataStore.getFeatureWriterAppend
(String typeName, Transaction transaction) void
DirectoryLockingManager.lockFeatureID
(String typeName, String authID, Transaction transaction, FeatureLock featureLock) boolean
DirectoryLockingManager.refresh
(String authID, Transaction transaction) boolean
DirectoryLockingManager.release
(String authID, Transaction transaction) void
DirectoryFeatureStore.setTransaction
(Transaction transaction) void
DirectoryLockingManager.unLockFeatureID
(String typeName, String authID, Transaction transaction, FeatureLock featureLock) -
Uses of Transaction in org.geotools.data.gen
Methods in org.geotools.data.gen with parameters of type TransactionModifier and TypeMethodDescriptionPreGeneralizedDataStore.getFeatureReader
(Query query, Transaction transaction) PreGeneralizedFeatureSource.getFeatureReader
(Query query, Transaction transaction) PreGeneralizedDataStore.getFeatureWriter
(String typeName, Transaction transaction) PreGeneralizedDataStore.getFeatureWriter
(String typeName, Filter filter, Transaction transaction) PreGeneralizedDataStore.getFeatureWriterAppend
(String typeName, Transaction transaction) -
Uses of Transaction in org.geotools.data.geojson.store
Methods in org.geotools.data.geojson.store that return TransactionMethods in org.geotools.data.geojson.store with parameters of type TransactionModifier and TypeMethodDescriptionGeoJSONDataStore.getFeatureWriter
(Transaction transaction) GeoJSONDataStore.getFeatureWriter
(Filter filter, Transaction transaction) GeoJSONDataStore.getFeatureWriterAppend
(Transaction transaction) void
GeoJSONFeatureStore.setTransaction
(Transaction transaction) -
Uses of Transaction in org.geotools.data.geoparquet
Methods in org.geotools.data.geoparquet with parameters of type TransactionModifier and TypeMethodDescriptionForwardingDataStore.getFeatureReader
(Query query, Transaction transaction) ForwardingDataStore.getFeatureWriter
(String typeName, Transaction transaction) ForwardingDataStore.getFeatureWriter
(String typeName, Filter filter, Transaction transaction) ForwardingDataStore.getFeatureWriterAppend
(String typeName, Transaction transaction) -
Uses of Transaction in org.geotools.data.jdbc
Methods in org.geotools.data.jdbc with parameters of type TransactionModifier and TypeMethodDescriptionstatic void
JDBCUtils.close
(Connection conn, Transaction transaction, SQLException sqlException) A utility method for closing a Connection. -
Uses of Transaction in org.geotools.data.joining
Methods in org.geotools.data.joining with parameters of type TransactionModifier and TypeMethodDescriptionJoiningNestedAttributeMapping.initSourceFeatures
(JoiningNestedAttributeMapping.Instance instance, Name featureTypeName, CoordinateReferenceSystem reprojection, List<PropertyName> selectedProperties, boolean includeMandatory, int resolveDepth, Integer resolveTimeOut, Transaction transaction) Initialise a new iterator (for polymorphism, there could be multiple per instance) -
Uses of Transaction in org.geotools.data.memory
Methods in org.geotools.data.memory with parameters of type TransactionModifier and TypeMethodDescriptionvoid
CollectionSource.setTransaction
(Transaction t) void
MemoryFeatureStore.setTransaction
(Transaction transaction) -
Uses of Transaction in org.geotools.data.mongodb
Methods in org.geotools.data.mongodb with parameters of type TransactionModifier and TypeMethodDescriptionMongoDataStore.getFeatureWriter
(String typeName, Filter filter, Transaction tx) -
Uses of Transaction in org.geotools.data.mongodb.complex
Methods in org.geotools.data.mongodb.complex with parameters of type TransactionModifier and TypeMethodDescriptionMongoComplexDataSource.buildIterator
(AppSchemaDataAccess store, FeatureTypeMapping featureTypeMapping, Query query, Transaction transaction) -
Uses of Transaction in org.geotools.data.property
Methods in org.geotools.data.property that return TransactionMethods in org.geotools.data.property with parameters of type TransactionModifier and TypeMethodDescriptionvoid
PropertyFeatureStore.setTransaction
(Transaction transaction) -
Uses of Transaction in org.geotools.data.shapefile
Methods in org.geotools.data.shapefile with parameters of type TransactionModifier and TypeMethodDescriptionShapefileDataStore.getFeatureWriter
(Transaction transaction) ShapefileDataStore.getFeatureWriter
(Filter filter, Transaction transaction) ShapefileDataStore.getFeatureWriterAppend
(Transaction transaction) -
Uses of Transaction in org.geotools.data.store
Fields in org.geotools.data.store declared as TransactionModifier and TypeFieldDescriptionprotected Transaction
ContentFeatureSource.transaction
The transaction to work from, use {linkContentEntry.getState(Transaction)
to access shared state in common to ContentFeatureSource and ContentFeatureStore working on this Transaction.protected Transaction
DiffTransactionState.transaction
The transaction (ie session) associated with this stateprotected Transaction
ContentState.tx
Transaction the state works from.Methods in org.geotools.data.store that return TransactionModifier and TypeMethodDescriptionContentFeatureSource.getTransaction()
The current transaction the feature source is working against.ContentState.getTransaction()
The transaction associated with the state.Methods in org.geotools.data.store with parameters of type TransactionModifier and TypeMethodDescriptionvoid
ContentEntry.clearTransaction
(Transaction transaction) Removes a closed transaction from the state cache.protected final ContentFeatureStore
ContentDataStore.ensureFeatureStore
(String typeName, Transaction tx) Helper method which gets a feature source ensuring that it is a feature store as well.ContentDataStore.getFeatureReader
(Query query, Transaction tx) Returns a feature reader for the specified query and transaction.DecoratingDataStore.getFeatureReader
(Query query, Transaction transaction) ContentDataStore.getFeatureSource
(String typeName, Transaction tx) Returns the feature source matching the specified name and explicitly specifies a transaction.ContentDataStore.getFeatureSource
(Name typeName, Transaction tx) Returns the feature source matching the specified name and explicitly specifies a transaction.ContentDataStore.getFeatureWriter
(String typeName, Transaction tx) Returns a feature writer for the specified type name and transaction.ContentDataStore.getFeatureWriter
(String typeName, Filter filter, Transaction tx) Returns a feature writer for the specified query and transaction.DecoratingDataStore.getFeatureWriter
(String typeName, Transaction transaction) DecoratingDataStore.getFeatureWriter
(String typeName, Filter filter, Transaction transaction) ContentDataStore.getFeatureWriterAppend
(String typeName, Transaction tx) Returns an appending feature writer for the specified type name and transaction.DecoratingDataStore.getFeatureWriterAppend
(String typeName, Transaction transaction) ContentEntry.getState
(Transaction transaction) Returns state for the entry for a particular transaction.void
ContentFeatureSource.setTransaction
(Transaction transaction) Sets the current transaction the feature source is working against.void
ContentState.setTransaction
(Transaction tx) Sets the transaction associated with the state.void
DiffTransactionState.setTransaction
(Transaction transaction) We are already holding onto our transaction from ContentState; however this method does check that the transaction is correct. -
Uses of Transaction in org.geotools.data.transform
Methods in org.geotools.data.transform that return TransactionMethods in org.geotools.data.transform with parameters of type TransactionModifier and TypeMethodDescriptionSingleFeatureSourceDataStore.getFeatureReader
(Query query, Transaction transaction) SingleFeatureSourceDataStore.getFeatureWriter
(String typeName, Transaction transaction) SingleFeatureSourceDataStore.getFeatureWriter
(String typeName, Filter filter, Transaction transaction) SingleFeatureSourceDataStore.getFeatureWriterAppend
(String typeName, Transaction transaction) void
TransformFeatureStore.setTransaction
(Transaction transaction) -
Uses of Transaction in org.geotools.data.vpf
Methods in org.geotools.data.vpf with parameters of type Transaction -
Uses of Transaction in org.geotools.data.wfs
Methods in org.geotools.data.wfs with parameters of type TransactionModifier and TypeMethodDescriptionvoid
WFSContentState.setTransaction
(Transaction tx) Sets the transaction associated with the state. -
Uses of Transaction in org.geotools.gce.imagemosaic
Methods in org.geotools.gce.imagemosaic with parameters of type TransactionModifier and TypeMethodDescriptionvoid
RasterManager.initialize
(boolean checkDomains, Transaction transaction) -
Uses of Transaction in org.geotools.gce.imagemosaic.catalog
Methods in org.geotools.gce.imagemosaic.catalog that return TransactionMethods in org.geotools.gce.imagemosaic.catalog with parameters of type TransactionModifier and TypeMethodDescriptionvoid
GranuleCatalog.addGranule
(String typeName, SimpleFeature granule, Transaction transaction) void
LockingGranuleCatalog.addGranule
(String typeName, SimpleFeature granule, Transaction transaction) void
QueryCacheGranuleCatalog.addGranule
(String typeName, SimpleFeature granule, Transaction transaction) abstract void
GranuleCatalog.addGranules
(String typeName, Collection<SimpleFeature> granules, Transaction transaction) void
LockingGranuleCatalog.addGranules
(String typeName, Collection<SimpleFeature> granules, Transaction transaction) void
QueryCacheGranuleCatalog.addGranules
(String typeName, Collection<SimpleFeature> granules, Transaction transaction) GranuleCatalog.getBounds
(String typeName, Transaction t) LockingGranuleCatalog.getBounds
(String typeName, Transaction t) CachingDataStoreGranuleCatalog.getGranules
(Query q, Transaction t) GranuleCatalog.getGranules
(Query q, Transaction t) LockingGranuleCatalog.getGranules
(Query q, Transaction t) QueryCacheGranuleCatalog.getGranules
(Query q, Transaction t) int
CachingDataStoreGranuleCatalog.removeGranules
(Query query, Transaction transaction) int
GranuleCatalog.removeGranules
(Query query, Transaction transaction) int
LockingGranuleCatalog.removeGranules
(Query query, Transaction transaction) int
QueryCacheGranuleCatalog.removeGranules
(Query query, Transaction transaction) void
GranuleCatalogStore.setTransaction
(Transaction transaction) -
Uses of Transaction in org.geotools.gce.imagemosaic.catalog.oracle
Methods in org.geotools.gce.imagemosaic.catalog.oracle with parameters of type TransactionModifier and TypeMethodDescriptionDataStoreWrapper.getFeatureReader
(Query query, Transaction transaction) DataStoreWrapper.getFeatureWriter
(String typeName, Transaction transaction) DataStoreWrapper.getFeatureWriter
(String typeName, Filter filter, Transaction transaction) DataStoreWrapper.getFeatureWriterAppend
(String typeName, Transaction transaction) -
Uses of Transaction in org.geotools.geopkg
Methods in org.geotools.geopkg with parameters of type TransactionModifier and TypeMethodDescriptionGeoPackage.reader
(FeatureEntry entry, Filter filter, Transaction tx) Returns a reader for the contents of a feature dataset.GeoPackage.writer
(FeatureEntry entry, boolean append, Filter filter, Transaction tx) Returns a writer used to modify or add to the contents of a feature dataset. -
Uses of Transaction in org.geotools.jdbc
Fields in org.geotools.jdbc declared as TransactionMethods in org.geotools.jdbc that return TransactionModifier and TypeMethodDescriptionJDBCDataStore.buildTransaction
(Connection cx) Builds a transaction object around a user provided connection.JDBCFeatureStore.getTransaction()
Methods in org.geotools.jdbc with parameters of type TransactionModifier and TypeMethodDescriptionprotected void
JDBCDataStore.ensureAuthorization
(SimpleFeatureType featureType, Filter filter, Transaction tx, Connection cx) Ensures that that the specified transaction has access to features specified by a filter.JDBCDataStore.getConnection
(Transaction t) Returns a JDBC Connection to the underlying database for the specified GeoToolsTransaction
.void
JDBCFeatureStore.setTransaction
(Transaction transaction)