public interface FeatureStoreProvider extends DataStoreProvider
FeatureStoreProvider(DataStoreParameters, FeatureStoreProviderServices)
| Modifier and Type | Method and Description |
|---|---|
void |
abortAppend() |
boolean |
allowAutomaticValues()
Inform if the store provider supports automatic values for attributues
(autonumeric)
|
int |
allowGeometry(java.lang.String name,
Geometry geometry) |
boolean |
allowWrite()
Informs that store supports write.
|
void |
append(FeatureProvider featureProvider) |
void |
beginAppend() |
void |
beginAppend(int submode) |
boolean |
canWriteGeometry(int geometryType,
int geometrySubType)
Informs that store supports write a geometry.
|
FeatureLocks |
createFeatureLocks()
Factory of
FeatureLocks. |
FeatureProvider |
createFeatureProvider(FeatureType type)
Factory of
FeatureProvider. |
FeatureSelection |
createFeatureSelection()
Factory of
FeatureSelection. |
java.lang.Object |
createNewOID()
Return a new OID valid for a new feature.
|
FeatureSetProvider |
createSet(FeatureQuery query,
FeatureType featureType)
Factory of
FeatureSetProvider. |
FeatureSetProvider |
createSet(FeatureQuery query,
FeatureType providerFeatureType,
FeatureType storeFeatureType) |
void |
endAppend() |
void |
fixFeatureTypeFromParameters() |
Envelope |
getEnvelope()
Returns this store's total envelope (extent).
|
Envelope |
getEnvelope(java.lang.String geomname) |
long |
getFeatureCount()
Returns total feature count of this store.
|
FeatureProvider |
getFeatureProviderByReference(FeatureReferenceProviderServices reference)
Return
FeatureProvider from a
FeatureReferenceProviderServices using
FeatureStore.getDefaultFeatureType() as FeatureType |
FeatureProvider |
getFeatureProviderByReference(FeatureReferenceProviderServices reference,
FeatureType featureType)
|
FeatureStore |
getFeatureStore() |
int |
getOIDType()
Return OID data type (from
DataTypes) of this store. |
DataStoreParameters |
getParameters() |
int |
getRetrievedFeaturesLimit()
If the
hasRetrievedFeaturesLimit() returns true,
it returns the limit of features retrieved from the provider. |
FeatureStoreProviderServices |
getStoreServices()
Return
FeatureStoreProviderServices for this store |
boolean |
hasRetrievedFeaturesLimit()
Return if the maximum number of features provided by the
provider are limited.
|
boolean |
isKnownEnvelope()
Return if the provider knows the real envelope of a layer.
|
boolean |
isLocksSupported()
Informs if store supports locks
|
boolean |
isTemporary()
Indicates if the storage is temporary.
|
void |
passThroughDelete(Expression filter) |
void |
passThroughDelete(FeatureReferenceProviderServices featureReference) |
void |
passThroughInsert(FeatureProvider featureProvider) |
void |
passThroughInsertOrUpdate(FeatureProvider featureProvider) |
void |
passThroughUpdate(FeatureProvider featureProvider) |
void |
passThroughUpdate(java.lang.Object[] parameters,
Expression filter) |
void |
performChanges(java.util.Iterator deleteds,
java.util.Iterator inserteds,
java.util.Iterator updateds,
java.util.Iterator featureTypesChanged)
Perform changes on store.
|
boolean |
supportsAppendMode() |
boolean |
supportsPassThroughMode() |
close, getChildren, getExplorer, getFullName, getInterval, getName, getProviderName, getResource, getResourcesStorage, getSourceId, getStoresRepository, getTimes, getTimes, open, refresh, setTransactionhasDynMethodclear, clone, delegate, getDynClass, getDynValue, hasDynValue, implement, invokeDynMethod, invokeDynMethod, setDynValuedisposejava.lang.Object createNewOID()
FeatureStoreProvider#getOIDType()}int getOIDType()
DataTypes) of this store.FeatureStoreProvider#createNewOID()} {@link DataTypes}FeatureProvider createFeatureProvider(FeatureType type) throws DataException
FeatureProvider.
Create a new FeatureProvider instance valid for this Store.type, - FeatureType of the FeatureProviderDataExceptionFeatureSelection createFeatureSelection() throws DataException
FeatureSelection. Create a new
FeatureSelection instance valid for this Store.DataExceptionFeatureLocks createFeatureLocks() throws DataException
FeatureLocks. Create a new FeatureLocks
instance valid for this Store.FeatureLocks or null if not
isLocksSupported()DataExceptionFeatureSetProvider createSet(FeatureQuery query, FeatureType featureType) throws DataException
FeatureSetProvider. Create a new
FeatureSetProvider that represents result of FeatureQuery
.query - (never will be null)featureType - (never will be null)DataExceptionFeatureSetProvider createSet(FeatureQuery query, FeatureType providerFeatureType, FeatureType storeFeatureType) throws DataException
DataExceptionFeatureProvider getFeatureProviderByReference(FeatureReferenceProviderServices reference) throws DataException
FeatureProvider from a
FeatureReferenceProviderServices using
FeatureStore.getDefaultFeatureType() as FeatureTypereference - DataExceptionFeatureProvider getFeatureProviderByReference(FeatureReferenceProviderServices reference, FeatureType featureType) throws DataException
reference - featureType - DataExceptionboolean allowWrite()
boolean canWriteGeometry(int geometryType,
int geometrySubType)
throws DataException
geometryType - geometrySubType - DataExceptionvoid performChanges(java.util.Iterator deleteds,
java.util.Iterator inserteds,
java.util.Iterator updateds,
java.util.Iterator featureTypesChanged)
throws DataException
deleteds - iterator of FeatureReferenceProviderServicesinserteds - iterator of FeatureProviderupdateds - iterator of FeatureProviderfeatureTypesChanged - iterator of FeatureType.FeatureTypeChangedDataExceptionEnvelope getEnvelope() throws DataException
null if
store not have geometry informationDataExceptionEnvelope getEnvelope(java.lang.String geomname) throws DataException
DataExceptionboolean isLocksSupported()
FeatureStoreProviderServices getStoreServices()
FeatureStoreProviderServices for this storeboolean allowAutomaticValues()
true if supportedlong getFeatureCount()
throws DataException
DataExceptionboolean supportsAppendMode()
void beginAppend()
throws DataException
DataExceptionvoid beginAppend(int submode)
throws DataException
DataExceptionvoid endAppend()
throws DataException
DataExceptionvoid append(FeatureProvider featureProvider) throws DataException
DataExceptionvoid abortAppend()
throws DataException
DataExceptionboolean isKnownEnvelope()
getEnvelope() method doesn't return
the full envelope.boolean hasRetrievedFeaturesLimit()
int getRetrievedFeaturesLimit()
hasRetrievedFeaturesLimit() returns true,
it returns the limit of features retrieved from the provider.FeatureStore getFeatureStore()
DataStoreParameters getParameters()
boolean isTemporary()
void fixFeatureTypeFromParameters()
boolean supportsPassThroughMode()
void passThroughInsert(FeatureProvider featureProvider) throws DataException
DataExceptionvoid passThroughInsertOrUpdate(FeatureProvider featureProvider) throws DataException
DataExceptionvoid passThroughUpdate(FeatureProvider featureProvider) throws DataException
DataExceptionvoid passThroughDelete(FeatureReferenceProviderServices featureReference) throws DataException
DataExceptionvoid passThroughDelete(Expression filter) throws DataException
DataExceptionvoid passThroughUpdate(java.lang.Object[] parameters,
Expression filter)
int allowGeometry(java.lang.String name,
Geometry geometry)