public class SHPStoreProviderFactory extends AbstractFeatureStoreProviderFactory
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_GEOMETRY_FIELD_NAME |
static int |
DEFAULT_GEOMETRY_SUBTYPE |
static int |
DEFAULT_GEOMETRY_TYPE |
NO, UNKNOWN, YES| Modifier | Constructor and Description |
|---|---|
protected |
SHPStoreProviderFactory(java.lang.String name,
java.lang.String description) |
| Modifier and Type | Method and Description |
|---|---|
int |
allowCreate()
The provider can create new stores.
|
int |
allowEditableFeatureType() |
int |
allowMultipleGeometryTypes() |
int |
allowRead()
The provider has read support
|
boolean |
allowsMandatoryAttributes() |
boolean |
allowsPrimaryKeyAttributes() |
int |
allowWrite()
The provider has write support
|
FeatureType |
createDefaultFeatureType() |
DynObject |
createParameters() |
DataStoreProvider |
createProvider(DataParameters parameters,
DataStoreProviderServices providerServices)
Builds a specific provider
|
int |
getMaxAttributeNameSize()
Returns max size for attributes names returns -1 if it is undefined
|
java.util.List |
getSupportedDataTypes()
Returns a list of
DataTypes supported by this
FeatureStoreProviderFactory |
java.util.List |
getSupportedGeometryTypesSubtypes()
Geometry
Return a matrix (list of pairs) (int, int] [Geometry.TYPE,GEOMETRY.SUBTYPE]
with types and subtypes supported by this provider. |
int |
hasRasterSupport()
The provider has raster support.
|
int |
hasTabularSupport()
The provider has tabular support.
|
int |
hasVectorialSupport()
The provider has vectorial support.
|
int |
isOptimalRecoverFeaturesByReference() |
boolean |
supportNumericOID() |
int |
useLocalIndexesCanImprovePerformance() |
allowFunction, allowGroupBy, allowSpatialIndexSupport, preferNotToUseNonNullRestrictions, supportInsertOrUpdate, supportPassthroughModecreate, hasSQLSupport, isTiledSupported, worksBestTiledgetDescription, getName, isHiddenclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescription, getName, hasSQLSupport, isTiledSupported, worksBestTiledcreate, isHiddenpublic static final java.lang.String DEFAULT_GEOMETRY_FIELD_NAME
public static final int DEFAULT_GEOMETRY_TYPE
public static final int DEFAULT_GEOMETRY_SUBTYPE
protected SHPStoreProviderFactory(java.lang.String name,
java.lang.String description)
public DataStoreProvider createProvider(DataParameters parameters, DataStoreProviderServices providerServices) throws InitializeException
DataStoreProviderFactoryInitializeExceptionpublic DynObject createParameters()
public int allowCreate()
DataStoreProviderFactoryallowCreate in interface DataStoreProviderFactoryallowCreate in class AbstractDataStoreProviderFactorypublic int allowWrite()
DataStoreProviderFactoryallowWrite in interface DataStoreProviderFactoryallowWrite in class AbstractDataStoreProviderFactorypublic int allowRead()
DataStoreProviderFactoryallowRead in interface DataStoreProviderFactoryallowRead in class AbstractDataStoreProviderFactorypublic int hasRasterSupport()
DataStoreProviderFactoryhasRasterSupport in interface DataStoreProviderFactoryhasRasterSupport in class AbstractDataStoreProviderFactorypublic int hasTabularSupport()
DataStoreProviderFactoryhasTabularSupport in interface DataStoreProviderFactoryhasTabularSupport in class AbstractDataStoreProviderFactorypublic int hasVectorialSupport()
DataStoreProviderFactoryhasVectorialSupport in interface DataStoreProviderFactoryhasVectorialSupport in class AbstractDataStoreProviderFactorypublic int allowMultipleGeometryTypes()
public int allowEditableFeatureType()
allowEditableFeatureType in interface FeatureStoreProviderFactoryallowEditableFeatureType in class AbstractFeatureStoreProviderFactorypublic int useLocalIndexesCanImprovePerformance()
useLocalIndexesCanImprovePerformance in interface FeatureStoreProviderFactoryuseLocalIndexesCanImprovePerformance in class AbstractFeatureStoreProviderFactorypublic int isOptimalRecoverFeaturesByReference()
isOptimalRecoverFeaturesByReference in interface FeatureStoreProviderFactoryisOptimalRecoverFeaturesByReference in class AbstractFeatureStoreProviderFactorypublic java.util.List getSupportedDataTypes()
FeatureStoreProviderFactoryDataTypes supported by this
FeatureStoreProviderFactorygetSupportedDataTypes in interface FeatureStoreProviderFactorygetSupportedDataTypes in class AbstractFeatureStoreProviderFactoryDataTypes supported by this
FeatureStoreProviderFactory or null if it has no restrictions on data typespublic java.util.List getSupportedGeometryTypesSubtypes()
FeatureStoreProviderFactoryGeometry
Return 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.getSupportedGeometryTypesSubtypes in interface FeatureStoreProviderFactorygetSupportedGeometryTypesSubtypes in class AbstractFeatureStoreProviderFactorypublic boolean allowsMandatoryAttributes()
allowsMandatoryAttributes in interface FeatureStoreProviderFactoryallowsMandatoryAttributes in class AbstractFeatureStoreProviderFactorypublic boolean allowsPrimaryKeyAttributes()
allowsPrimaryKeyAttributes in interface FeatureStoreProviderFactoryallowsPrimaryKeyAttributes in class AbstractFeatureStoreProviderFactorypublic FeatureType createDefaultFeatureType()
createDefaultFeatureType in interface FeatureStoreProviderFactorycreateDefaultFeatureType in class AbstractFeatureStoreProviderFactorypublic int getMaxAttributeNameSize()
FeatureStoreProviderFactorygetMaxAttributeNameSize in interface FeatureStoreProviderFactorygetMaxAttributeNameSize in class AbstractFeatureStoreProviderFactorypublic boolean supportNumericOID()
supportNumericOID in interface FeatureStoreProviderFactorysupportNumericOID in class AbstractFeatureStoreProviderFactory