Package org.gvsig.fmap.dal.feature
Interface FeatureStoreProviderFactory
- All Superinterfaces:
DataFactory,DataStoreProviderFactory,org.gvsig.tools.extensionpoint.ExtensionSingleton
-
Field Summary
Fields inherited from interface org.gvsig.fmap.dal.DataStoreProviderFactory
NO, UNKNOWN, YES -
Method Summary
Modifier and TypeMethodDescriptionintintbooleanbooleanbooleanintReturns max size for attributes names returns -1 if it is undefinedReturns a list ofDataTypessupported by this FeatureStoreProviderFactoryGeometryReturn a matrix (list of pairs) (int, int] [Geometry.TYPE,GEOMETRY.SUBTYPE] with types and subtypes supported by this provider.intbooleanintbooleanintintMethods inherited from interface org.gvsig.fmap.dal.DataFactory
create, createParameters, isHiddenMethods inherited from interface org.gvsig.fmap.dal.DataStoreProviderFactory
allowCreate, allowRead, allowWrite, createProvider, getDescription, getName, hasRasterSupport, hasSQLSupport, hasTabularSupport, hasVectorialSupport, isTiledSupported, worksBestTiled
-
Method Details
-
getSupportedDataTypes
List getSupportedDataTypes()Returns a list ofDataTypessupported by this FeatureStoreProviderFactory- Returns:
- list of
DataTypessupported by this FeatureStoreProviderFactory or null if it has no restrictions on data types
-
getSupportedGeometryTypesSubtypes
List getSupportedGeometryTypesSubtypes()GeometryReturn a matrix (list of pairs) (int, int] [Geometry.TYPE,GEOMETRY.SUBTYPE] with types and subtypes supported by this provider. If the provider has not vector support or has not restrictions over geometry types return null.- Returns:
- Matrix of Geometry.TYPES, SUBTYPES or null
-
allowsMandatoryAttributes
boolean allowsMandatoryAttributes()- Returns:
- whether this factory allows mandatory attributes in the generated stores' feature types.
-
preferNotToUseNonNullRestrictions
boolean preferNotToUseNonNullRestrictions() -
allowsPrimaryKeyAttributes
boolean allowsPrimaryKeyAttributes()- Returns:
- whether this factory allows primary key attributes in the generated stores' feature types.
-
createDefaultFeatureType
FeatureType createDefaultFeatureType()- Returns:
- a new instance of a default feature type (changes to that feature type do not affect following calls)
-
allowEditableFeatureType
int allowEditableFeatureType()- Returns:
- whether stores created by this factory allow several geometry types. Actually redundant after adding getSupportedGeometryTypesSubtypes())
-
useLocalIndexesCanImprovePerformance
int useLocalIndexesCanImprovePerformance() -
isOptimalRecoverFeaturesByReference
int isOptimalRecoverFeaturesByReference() -
getMaxAttributeNameSize
int getMaxAttributeNameSize()Returns max size for attributes names returns -1 if it is undefined- Returns:
-
supportNumericOID
boolean supportNumericOID() -
allowFunction
- Returns:
-
allowGroupBy
int allowGroupBy() -
allowSpatialIndexSupport
boolean allowSpatialIndexSupport() -
supportPassthroughMode
int supportPassthroughMode() -
supportInsertOrUpdate
int supportInsertOrUpdate()
-