public interface FeatureStoreProvider extends DataStoreProvider
FeatureStoreProvider(DataStoreParameters, FeatureStoreProviderServices)
| Modifier and Type | Interface and Description |
|---|---|
static interface |
FeatureStoreProvider.FeatureTypeChanged |
| Modifier and Type | Method and Description |
|---|---|
void |
abortAppend() |
boolean |
allowAutomaticValues()
Inform if the store provider supports automatic values for attributues
(autonumeric)
|
boolean |
allowWrite()
Informs that store supports write.
|
void |
append(FeatureProvider featureProvider) |
void |
beginAppend() |
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. |
Object |
createNewOID()
Return a new OID valid for a new feature.
|
FeatureSetProvider |
createSet(FeatureQuery query,
FeatureType featureType)
Factory of
FeatureSetProvider. |
void |
endAppend() |
Envelope |
getEnvelope()
Returns this store's total envelope (extent).
|
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)
|
int |
getOIDType()
Return OID data type (from
DataTypes) of this store. |
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
|
void |
performChanges(Iterator deleteds,
Iterator inserteds,
Iterator updateds,
Iterator featureTypesChanged)
Perform changes on store.
|
boolean |
supportsAppendMode() |
close, getChilds, getExplorer, getFullName, getInterval, getName, getProviderName, getResource, getSourceId, getTimes, getTimes, open, refreshclear, delegate, getDynClass, getDynValue, hasDynValue, implement, invokeDynMethod, invokeDynMethod, setDynValuedisposeObject 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.{@link - 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)DataExceptionFeatureProvider getFeatureProviderByReference(FeatureReferenceProviderServices reference) throws DataException
FeatureProvider from a
FeatureReferenceProviderServices using
FeatureStore.getDefaultFeatureType() as FeatureTypereference - DataExceptionFeatureProvider getFeatureProviderByReference(FeatureReferenceProviderServices reference, FeatureType featureType) throws DataException
reference - DataExceptionboolean allowWrite()
boolean canWriteGeometry(int geometryType,
int geometrySubType)
throws DataException
geometryType - geometrySubType - DataExceptionvoid performChanges(Iterator deleteds, Iterator inserteds, Iterator updateds, Iterator featureTypesChanged) throws DataException
deleteds - iterator of FeatureReferenceProviderServicesinserteds - iterator of FeatureProviderupdateds - iterator of FeatureProviderfeatureTypesChanged - iterator of FeatureStoreProvider.FeatureTypeChangedDataExceptionEnvelope getEnvelope() throws DataException
null if
store not have geometry informationDataExceptionboolean isLocksSupported()
FeatureStoreProviderServices getStoreServices()
FeatureStoreProviderServices for this storeboolean allowAutomaticValues()
true if supportedlong getFeatureCount()
throws DataException
DataExceptionboolean supportsAppendMode()
void beginAppend()
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.