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 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 TransactionModifier and TypeMethodDescriptionFeatureStore.getTransaction()Gets theTransactionthat thisFeatureStoreis currently operating against.Methods in org.geotools.api.data with parameters of type TransactionModifier and TypeMethodDescriptionDataStore.getFeatureReader(Query query, Transaction transaction) Gets aFeatureReaderfor features selected by the givenQuery.DataStore.getFeatureWriter(String typeName, Transaction transaction) Gets aFeatureWriterto modify features in thisDataStore.DataStore.getFeatureWriter(String typeName, Filter filter, Transaction transaction) Gets aFeatureWriterto modify features in thisDataStore.FileDataStore.getFeatureWriter(Transaction transaction) FileDataStore.getFeatureWriter(Filter filter, Transaction transaction) DataStore.getFeatureWriterAppend(String typeName, Transaction transaction) Gets aFeatureWriterthat can add new features to theDataStore.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 TransactionModifier and TypeMethodDescriptionGranuleStore.getTransaction()Gets theTransactionthat thisGranuleStoreis currently operating against.RenamingGranuleStore.getTransaction()Methods in org.geotools.coverage.grid.io with parameters of type TransactionModifier and TypeMethodDescriptionvoidGranuleStore.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 TransactionModifier and TypeMethodDescriptionvoidCoverageSlicesCatalog.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 TransactionModifier and TypeClassDescriptionclassQuick implementation of Transaction api.Methods in org.geotools.data that return TransactionModifier and TypeMethodDescriptionprotected 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 TransactionModifier and TypeMethodDescriptionvoidInProcessLockingManager.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.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 TransactionModifier and TypeFieldDescriptionprotected TransactionAbstractMappingFeatureIterator.transactionprotected final TransactionIndexedMappingFeatureIterator.transactionprotected final TransactionIndexedMappingFeatureIteratorFactory.transactionMethods 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 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) 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) voidCSVFeatureStore.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) 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 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) voidGeoJSONFeatureStore.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 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 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 TypeMethodDescriptionvoidCollectionSource.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 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 TypeMethodDescriptionvoidPropertyFeatureStore.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 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 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 TypeMethodDescriptionvoidContentEntry.clearTransaction(Transaction transaction) Removes a closed transaction from the state cache.protected final ContentFeatureStoreContentDataStore.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.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) 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) voidTransformFeatureStore.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 TypeMethodDescriptionvoidWFSContentState.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 TypeMethodDescriptionvoidRasterManager.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 TypeMethodDescriptionvoidGranuleCatalog.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) 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) 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 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 voidJDBCDataStore.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.voidJDBCFeatureStore.setTransaction(Transaction transaction)