Uses of Interface
org.geotools.api.data.Transaction
-
Packages that use Transaction Package Description org.geotools.api.data Defines the DataStore API via which all data is imported or exported.org.geotools.coverage.grid.io org.geotools.coverage.io.catalog org.geotools.data org.geotools.data.complex This package contains the implementation of a ComplexDataStore,org.geotools.data.complex.spi org.geotools.data.csv org.geotools.data.directory org.geotools.data.gen org.geotools.data.geojson.store org.geotools.data.geoparquet org.geotools.data.jdbc org.geotools.data.joining org.geotools.data.memory org.geotools.data.mongodb org.geotools.data.mongodb.complex org.geotools.data.property org.geotools.data.shapefile org.geotools.data.store org.geotools.data.transform org.geotools.data.vpf org.geotools.data.wfs org.geotools.gce.imagemosaic org.geotools.gce.imagemosaic.catalog org.geotools.gce.imagemosaic.catalog.oracle org.geotools.geopkg org.geotools.jdbc -
-
Uses of Transaction in org.geotools.api.data
Fields in org.geotools.api.data declared as Transaction Modifier and Type Field Description static TransactionTransaction. AUTO_COMMITRepresents AUTO_COMMIT mode as opposed to operations with commit/rollback control under a user-supplied transaction.Methods in org.geotools.api.data that return Transaction Modifier and Type Method Description TransactionFeatureStore. getTransaction()Gets theTransactionthat thisFeatureStoreis currently operating against.Methods in org.geotools.api.data with parameters of type Transaction Modifier and Type Method Description FeatureReader<SimpleFeatureType,SimpleFeature>DataStore. getFeatureReader(Query query, Transaction transaction)Gets aFeatureReaderfor features selected by the givenQuery.FeatureWriter<SimpleFeatureType,SimpleFeature>DataStore. getFeatureWriter(String typeName, Transaction transaction)Gets aFeatureWriterto modify features in thisDataStore.FeatureWriter<SimpleFeatureType,SimpleFeature>DataStore. getFeatureWriter(String typeName, Filter filter, Transaction transaction)Gets aFeatureWriterto modify features in thisDataStore.FeatureWriter<SimpleFeatureType,SimpleFeature>FileDataStore. getFeatureWriter(Transaction transaction)FeatureWriter<SimpleFeatureType,SimpleFeature>FileDataStore. getFeatureWriter(Filter filter, Transaction transaction)FeatureWriter<SimpleFeatureType,SimpleFeature>DataStore. getFeatureWriterAppend(String typeName, Transaction transaction)Gets aFeatureWriterthat can add new features to theDataStore.FeatureWriter<SimpleFeatureType,SimpleFeature>FileDataStore. getFeatureWriterAppend(Transaction transaction)voidLockingManager. lockFeatureID(String typeName, String authID, Transaction transaction, FeatureLock featureLock)FeatureID based locking.booleanLockingManager. refresh(String authID, Transaction transaction)Refresh locks held by the authorizationlockID.booleanLockingManager. release(String authID, Transaction transaction)Release locks held by the authorizationlockID.voidFeatureStore. setTransaction(Transaction transaction)Provide a transaction for commit/rollback control of a modifying operation on thisFeatureStore.voidTransaction.State. setTransaction(Transaction transaction)Provides configuration information for Transaction.StatevoidLockingManager. 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 Transaction Modifier and Type Method Description TransactionGranuleStore. getTransaction()Gets theTransactionthat thisGranuleStoreis currently operating against.TransactionRenamingGranuleStore. getTransaction()Methods in org.geotools.coverage.grid.io with parameters of type Transaction Modifier and Type Method Description voidGranuleStore. setTransaction(Transaction transaction)Provide a transaction for commit/rollback control of a modifying operation on thisGranuleStore.voidRenamingGranuleStore. setTransaction(Transaction transaction) -
Uses of Transaction in org.geotools.coverage.io.catalog
Methods in org.geotools.coverage.io.catalog with parameters of type Transaction Modifier and Type Method Description voidCoverageSlicesCatalog. addGranule(String typeName, SimpleFeature granule, Transaction transaction)voidCoverageSlicesCatalog. addGranules(String typeName, SimpleFeatureCollection granules, Transaction transaction)voidCoverageSlicesCatalog. removeGranules(String typeName, Filter filter, Transaction transaction)voidCoverageSlicesCatalog.WrappedCoverageSlicesCatalog. removeGranules(String typeName, Filter filter, Transaction transaction) -
Uses of Transaction in org.geotools.data
Classes in org.geotools.data that implement Transaction Modifier and Type Class Description classDefaultTransactionQuick implementation of Transaction api.Methods in org.geotools.data that return Transaction Modifier and Type Method Description protected TransactionDefaultFeatureResults. 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 Transaction Modifier and Type Method Description voidInProcessLockingManager. assertAccess(String typeName, String featureID, Transaction transaction)Checks mutability of featureID for this transaction.FeatureWriter<SimpleFeatureType,SimpleFeature>InProcessLockingManager. checkedWriter(FeatureWriter<SimpleFeatureType,SimpleFeature> writer, Transaction transaction)Provides a wrapper on the provided writer that checks locks.protected InProcessLockingManager.LockInProcessLockingManager. createLock(Transaction transaction, FeatureLock featureLock)Creates the right sort of In-Process Lock.voidFeatureListenerManager. fireChanged(String typeName, Transaction transaction, boolean commit)Notify all listeners that have registered interest for notification on this event type.voidFeatureListenerManager. fireEvent(String typeName, Transaction transaction, FeatureEvent event)Provided event will be used as a template for notifying all FeatureSources for the provided typeName.voidFeatureListenerManager. fireFeaturesAdded(String typeName, Transaction transaction, ReferencedEnvelope bounds, boolean commit)Notify all listeners that have registered interest for notification on this event type.voidFeatureListenerManager. fireFeaturesChanged(String typeName, Transaction transaction, ReferencedEnvelope bounds, boolean commit)Notify all listeners that have registered interest for notification on this event type.voidFeatureListenerManager. fireFeaturesRemoved(String typeName, Transaction transaction, ReferencedEnvelope bounds, boolean commit)Notify all listeners that have registered interest for notification on this event type.booleanInProcessLockingManager.Lock. isAuthorized(Transaction transaction)Check if transaction is authorized for this lockvoidInProcessLockingManager. lockFeatureID(String typeName, String featureID, Transaction transaction, FeatureLock featureLock)Aquire lock on featureID.booleanDefaultRepository. lockRefresh(String lockID, Transaction transaction)Implement lockRefresh.booleanDefaultRepository. lockRelease(String lockID, Transaction transaction)Implement lockRelease.booleanInProcessLockingManager. refresh(String authID, Transaction transaction)Refresh locks held by the authorizationauthID.booleanInProcessLockingManager. release(String authID, Transaction transaction)Release locks held by the authorizationauthID.voidInProcessLockingManager. 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 Transaction Modifier and Type Field Description protected TransactionAbstractMappingFeatureIterator. transactionprotected TransactionIndexedMappingFeatureIterator. transactionprotected TransactionIndexedMappingFeatureIteratorFactory. transactionMethods in org.geotools.data.complex that return Transaction Modifier and Type Method Description TransactionAbstractMappingFeatureIterator. getTransaction()Methods in org.geotools.data.complex with parameters of type Transaction Modifier and Type Method Description FeatureIterator<Feature>MappingFeatureCollection. features(Transaction transaction)This overload allows client code to explicitly specify the transaction that the created iterator will be working against.static IMappingFeatureIteratorMappingFeatureIteratorFactory. getInstance(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Filter unrolledFilter, Transaction transaction)static IMappingFeatureIteratorMappingFeatureIteratorFactory. getInstance(AppSchemaDataAccess store, FeatureTypeMapping mapping, Query query, Filter unrolledFilter, Transaction transaction, boolean indexEnable) -
Uses of Transaction in org.geotools.data.complex.spi
Methods in org.geotools.data.complex.spi with parameters of type Transaction Modifier and Type Method Description DataAccessMappingFeatureIteratorCustomSourceDataStore. 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 Transaction Modifier and Type Method Description TransactionCSVFeatureStore. getTransaction()Methods in org.geotools.data.csv with parameters of type Transaction Modifier and Type Method Description FeatureWriter<SimpleFeatureType,SimpleFeature>CSVDataStore. getFeatureWriter(Transaction transaction)FeatureWriter<SimpleFeatureType,SimpleFeature>CSVDataStore. getFeatureWriter(Filter filter, Transaction transaction)FeatureWriter<SimpleFeatureType,SimpleFeature>CSVDataStore. getFeatureWriterAppend(Transaction transaction)voidCSVFeatureStore. setTransaction(Transaction transaction) -
Uses of Transaction in org.geotools.data.directory
Methods in org.geotools.data.directory that return Transaction Modifier and Type Method Description TransactionDirectoryFeatureStore. getTransaction()Methods in org.geotools.data.directory with parameters of type Transaction Modifier and Type Method Description FeatureReader<SimpleFeatureType,SimpleFeature>DirectoryDataStore. getFeatureReader(Query query, Transaction transaction)FeatureWriter<SimpleFeatureType,SimpleFeature>DirectoryDataStore. getFeatureWriter(String typeName, Transaction transaction)FeatureWriter<SimpleFeatureType,SimpleFeature>DirectoryDataStore. getFeatureWriter(String typeName, Filter filter, Transaction transaction)FeatureWriter<SimpleFeatureType,SimpleFeature>DirectoryDataStore. getFeatureWriterAppend(String typeName, Transaction transaction)voidDirectoryLockingManager. lockFeatureID(String typeName, String authID, Transaction transaction, FeatureLock featureLock)booleanDirectoryLockingManager. refresh(String authID, Transaction transaction)booleanDirectoryLockingManager. release(String authID, Transaction transaction)voidDirectoryFeatureStore. setTransaction(Transaction transaction)voidDirectoryLockingManager. 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 Transaction Modifier and Type Method Description FeatureReader<SimpleFeatureType,SimpleFeature>PreGeneralizedDataStore. getFeatureReader(Query query, Transaction transaction)FeatureReader<SimpleFeatureType,SimpleFeature>PreGeneralizedFeatureSource. getFeatureReader(Query query, Transaction transaction)FeatureWriter<SimpleFeatureType,SimpleFeature>PreGeneralizedDataStore. getFeatureWriter(String typeName, Transaction transaction)FeatureWriter<SimpleFeatureType,SimpleFeature>PreGeneralizedDataStore. getFeatureWriter(String typeName, Filter filter, Transaction transaction)FeatureWriter<SimpleFeatureType,SimpleFeature>PreGeneralizedDataStore. getFeatureWriterAppend(String typeName, Transaction transaction) -
Uses of Transaction in org.geotools.data.geojson.store
Methods in org.geotools.data.geojson.store that return Transaction Modifier and Type Method Description TransactionGeoJSONFeatureStore. getTransaction()Methods in org.geotools.data.geojson.store with parameters of type Transaction Modifier and Type Method Description FeatureWriter<SimpleFeatureType,SimpleFeature>GeoJSONDataStore. getFeatureWriter(Transaction transaction)FeatureWriter<SimpleFeatureType,SimpleFeature>GeoJSONDataStore. getFeatureWriter(Filter filter, Transaction transaction)FeatureWriter<SimpleFeatureType,SimpleFeature>GeoJSONDataStore. getFeatureWriterAppend(Transaction transaction)voidGeoJSONFeatureStore. setTransaction(Transaction transaction) -
Uses of Transaction in org.geotools.data.geoparquet
Methods in org.geotools.data.geoparquet with parameters of type Transaction Modifier and Type Method Description FeatureReader<SimpleFeatureType,SimpleFeature>ForwardingDataStore. getFeatureReader(Query query, Transaction transaction)FeatureWriter<SimpleFeatureType,SimpleFeature>ForwardingDataStore. getFeatureWriter(String typeName, Transaction transaction)FeatureWriter<SimpleFeatureType,SimpleFeature>ForwardingDataStore. getFeatureWriter(String typeName, Filter filter, Transaction transaction)FeatureWriter<SimpleFeatureType,SimpleFeature>ForwardingDataStore. getFeatureWriterAppend(String typeName, Transaction transaction) -
Uses of Transaction in org.geotools.data.jdbc
Methods in org.geotools.data.jdbc with parameters of type Transaction Modifier and Type Method Description static voidJDBCUtils. 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 Transaction Modifier and Type Method Description DataAccessMappingFeatureIteratorJoiningNestedAttributeMapping. 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 Transaction Modifier and Type Method Description voidCollectionSource. setTransaction(Transaction t)voidMemoryFeatureStore. setTransaction(Transaction transaction) -
Uses of Transaction in org.geotools.data.mongodb
Methods in org.geotools.data.mongodb with parameters of type Transaction Modifier and Type Method Description FeatureWriter<SimpleFeatureType,SimpleFeature>MongoDataStore. 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 Transaction Modifier and Type Method Description DataAccessMappingFeatureIteratorMongoComplexDataSource. 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 Transaction Modifier and Type Method Description TransactionPropertyFeatureStore. getTransaction()Methods in org.geotools.data.property with parameters of type Transaction Modifier and Type Method Description voidPropertyFeatureStore. setTransaction(Transaction transaction) -
Uses of Transaction in org.geotools.data.shapefile
Methods in org.geotools.data.shapefile with parameters of type Transaction Modifier and Type Method Description FeatureWriter<SimpleFeatureType,SimpleFeature>ShapefileDataStore. getFeatureWriter(Transaction transaction)FeatureWriter<SimpleFeatureType,SimpleFeature>ShapefileDataStore. getFeatureWriter(Filter filter, Transaction transaction)FeatureWriter<SimpleFeatureType,SimpleFeature>ShapefileDataStore. getFeatureWriterAppend(Transaction transaction) -
Uses of Transaction in org.geotools.data.store
Fields in org.geotools.data.store declared as Transaction Modifier and Type Field Description protected TransactionContentFeatureSource. transactionThe transaction to work from, use {linkContentEntry.getState(Transaction)to access shared state in common to ContentFeatureSource and ContentFeatureStore working on this Transaction.protected TransactionDiffTransactionState. transactionThe transaction (ie session) associated with this stateprotected TransactionContentState. txTransaction the state works from.Methods in org.geotools.data.store that return Transaction Modifier and Type Method Description TransactionContentFeatureSource. getTransaction()The current transaction the feature source is working against.TransactionContentState. getTransaction()The transaction associated with the state.Methods in org.geotools.data.store with parameters of type Transaction Modifier and Type Method Description voidContentEntry. clearTransaction(Transaction transaction)Removes a closed transaction from the state cache.protected ContentFeatureStoreContentDataStore. ensureFeatureStore(String typeName, Transaction tx)Helper method which gets a feature source ensuring that it is a feature store as well.FeatureReader<SimpleFeatureType,SimpleFeature>ContentDataStore. getFeatureReader(Query query, Transaction tx)Returns a feature reader for the specified query and transaction.FeatureReader<SimpleFeatureType,SimpleFeature>DecoratingDataStore. getFeatureReader(Query query, Transaction transaction)ContentFeatureSourceContentDataStore. getFeatureSource(String typeName, Transaction tx)Returns the feature source matching the specified name and explicitly specifies a transaction.ContentFeatureSourceContentDataStore. getFeatureSource(Name typeName, Transaction tx)Returns the feature source matching the specified name and explicitly specifies a transaction.FeatureWriter<SimpleFeatureType,SimpleFeature>ContentDataStore. getFeatureWriter(String typeName, Transaction tx)Returns a feature writer for the specified type name and transaction.FeatureWriter<SimpleFeatureType,SimpleFeature>ContentDataStore. getFeatureWriter(String typeName, Filter filter, Transaction tx)Returns a feature writer for the specified query and transaction.FeatureWriter<SimpleFeatureType,SimpleFeature>DecoratingDataStore. getFeatureWriter(String typeName, Transaction transaction)FeatureWriter<SimpleFeatureType,SimpleFeature>DecoratingDataStore. getFeatureWriter(String typeName, Filter filter, Transaction transaction)FeatureWriter<SimpleFeatureType,SimpleFeature>ContentDataStore. getFeatureWriterAppend(String typeName, Transaction tx)Returns an appending feature writer for the specified type name and transaction.FeatureWriter<SimpleFeatureType,SimpleFeature>DecoratingDataStore. getFeatureWriterAppend(String typeName, Transaction transaction)ContentStateContentEntry. getState(Transaction transaction)Returns state for the entry for a particular transaction.voidContentFeatureSource. setTransaction(Transaction transaction)Sets the current transaction the feature source is working against.voidContentState. setTransaction(Transaction tx)Sets the transaction associated with the state.voidDiffTransactionState. setTransaction(Transaction transaction) -
Uses of Transaction in org.geotools.data.transform
Methods in org.geotools.data.transform that return Transaction Modifier and Type Method Description TransactionTransformFeatureStore. getTransaction()Methods in org.geotools.data.transform with parameters of type Transaction Modifier and Type Method Description FeatureReader<SimpleFeatureType,SimpleFeature>SingleFeatureSourceDataStore. getFeatureReader(Query query, Transaction transaction)FeatureWriter<SimpleFeatureType,SimpleFeature>SingleFeatureSourceDataStore. getFeatureWriter(String typeName, Transaction transaction)FeatureWriter<SimpleFeatureType,SimpleFeature>SingleFeatureSourceDataStore. getFeatureWriter(String typeName, Filter filter, Transaction transaction)FeatureWriter<SimpleFeatureType,SimpleFeature>SingleFeatureSourceDataStore. getFeatureWriterAppend(String typeName, Transaction transaction)voidTransformFeatureStore. setTransaction(Transaction transaction) -
Uses of Transaction in org.geotools.data.vpf
Methods in org.geotools.data.vpf with parameters of type Transaction Modifier and Type Method Description ContentFeatureSourceVPFLibrary. getFeatureSource(Name typeName, Transaction tx) -
Uses of Transaction in org.geotools.data.wfs
Methods in org.geotools.data.wfs with parameters of type Transaction Modifier and Type Method Description voidWFSContentState. 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 Transaction Modifier and Type Method Description voidRasterManager. initialize(boolean checkDomains, Transaction transaction) -
Uses of Transaction in org.geotools.gce.imagemosaic.catalog
Methods in org.geotools.gce.imagemosaic.catalog that return Transaction Modifier and Type Method Description TransactionGranuleCatalogStore. getTransaction()Methods in org.geotools.gce.imagemosaic.catalog with parameters of type Transaction Modifier and Type Method Description voidGranuleCatalog. addGranule(String typeName, SimpleFeature granule, Transaction transaction)voidLockingGranuleCatalog. addGranule(String typeName, SimpleFeature granule, Transaction transaction)voidQueryCacheGranuleCatalog. addGranule(String typeName, SimpleFeature granule, Transaction transaction)abstract voidGranuleCatalog. addGranules(String typeName, Collection<SimpleFeature> granules, Transaction transaction)voidLockingGranuleCatalog. addGranules(String typeName, Collection<SimpleFeature> granules, Transaction transaction)voidQueryCacheGranuleCatalog. addGranules(String typeName, Collection<SimpleFeature> granules, Transaction transaction)BoundingBoxGranuleCatalog. getBounds(String typeName, Transaction t)BoundingBoxLockingGranuleCatalog. getBounds(String typeName, Transaction t)SimpleFeatureCollectionCachingDataStoreGranuleCatalog. getGranules(Query q, Transaction t)SimpleFeatureCollectionGranuleCatalog. getGranules(Query q, Transaction t)SimpleFeatureCollectionLockingGranuleCatalog. getGranules(Query q, Transaction t)SimpleFeatureCollectionQueryCacheGranuleCatalog. getGranules(Query q, Transaction t)intCachingDataStoreGranuleCatalog. removeGranules(Query query, Transaction transaction)intGranuleCatalog. removeGranules(Query query, Transaction transaction)intLockingGranuleCatalog. removeGranules(Query query, Transaction transaction)intQueryCacheGranuleCatalog. removeGranules(Query query, Transaction transaction)voidGranuleCatalogStore. 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 Transaction Modifier and Type Method Description FeatureReader<SimpleFeatureType,SimpleFeature>DataStoreWrapper. getFeatureReader(Query query, Transaction transaction)FeatureWriter<SimpleFeatureType,SimpleFeature>DataStoreWrapper. getFeatureWriter(String typeName, Transaction transaction)FeatureWriter<SimpleFeatureType,SimpleFeature>DataStoreWrapper. getFeatureWriter(String typeName, Filter filter, Transaction transaction)FeatureWriter<SimpleFeatureType,SimpleFeature>DataStoreWrapper. getFeatureWriterAppend(String typeName, Transaction transaction) -
Uses of Transaction in org.geotools.geopkg
Methods in org.geotools.geopkg with parameters of type Transaction Modifier and Type Method Description SimpleFeatureReaderGeoPackage. reader(FeatureEntry entry, Filter filter, Transaction tx)Returns a reader for the contents of a feature dataset.SimpleFeatureWriterGeoPackage. 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 Transaction Modifier and Type Field Description protected TransactionJDBCFeatureReader. txcurrent transactionMethods in org.geotools.jdbc that return Transaction Modifier and Type Method Description TransactionJDBCDataStore. buildTransaction(Connection cx)Builds a transaction object around a user provided connection.TransactionJDBCFeatureStore. getTransaction()Methods in org.geotools.jdbc with parameters of type Transaction Modifier and Type Method Description protected voidJDBCDataStore. ensureAuthorization(SimpleFeatureType featureType, Filter filter, Transaction tx, Connection cx)Ensures that that the specified transaction has access to features specified by a filter.ConnectionJDBCDataStore. getConnection(Transaction t)Returns a JDBC Connection to the underlying database for the specified GeoToolsTransaction.voidJDBCFeatureStore. setTransaction(Transaction transaction)
-