public class SHPStoreProviderFactory extends AbstractFeatureStoreProviderFactory implements FeatureStoreProviderFactory
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_GEOMETRY_FIELD_NAME |
static int |
DEFAULT_GEOMETRY_SUBTYPE |
static int |
DEFAULT_GEOMETRY_TYPE |
NO, UNKNOWN, YES
Modifier | Constructor and Description |
---|---|
protected |
SHPStoreProviderFactory(String name,
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()
Creates the parameters for the
Provider created by this factory. |
DataStoreProvider |
createProvider(DataParameters parameters,
DataStoreProviderServices providerServices)
Builds a specific provider
|
int |
getMaxAttributeNameSize()
Returns max size for attributes names
returns -1 if it is undefined
|
List |
getSupportedDataTypes()
Returns a list of
DataTypes supported
by this FeatureStoreProviderFactory |
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 |
useLocalIndexesCanImprovePerformance() |
create, getDescription, getName, initialize
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDescription, getName
create, initialize
public static final String DEFAULT_GEOMETRY_FIELD_NAME
public static final int DEFAULT_GEOMETRY_TYPE
public static final int DEFAULT_GEOMETRY_SUBTYPE
public DataStoreProvider createProvider(DataParameters parameters, DataStoreProviderServices providerServices) throws InitializeException
DataStoreProviderFactory
createProvider
in interface DataStoreProviderFactory
InitializeException
public DynObject createParameters()
ProviderFactory
Provider
created by this factory.createParameters
in interface ProviderFactory
public int allowCreate()
DataStoreProviderFactory
allowCreate
in interface DataStoreProviderFactory
allowCreate
in class AbstractDataStoreProviderFactory
public int allowWrite()
DataStoreProviderFactory
allowWrite
in interface DataStoreProviderFactory
allowWrite
in class AbstractDataStoreProviderFactory
public int allowRead()
DataStoreProviderFactory
allowRead
in interface DataStoreProviderFactory
allowRead
in class AbstractDataStoreProviderFactory
public int hasRasterSupport()
DataStoreProviderFactory
hasRasterSupport
in interface DataStoreProviderFactory
hasRasterSupport
in class AbstractDataStoreProviderFactory
public int hasTabularSupport()
DataStoreProviderFactory
hasTabularSupport
in interface DataStoreProviderFactory
hasTabularSupport
in class AbstractDataStoreProviderFactory
public int hasVectorialSupport()
DataStoreProviderFactory
hasVectorialSupport
in interface DataStoreProviderFactory
hasVectorialSupport
in class AbstractDataStoreProviderFactory
public int allowMultipleGeometryTypes()
allowMultipleGeometryTypes
in class AbstractFeatureStoreProviderFactory
public int allowEditableFeatureType()
allowEditableFeatureType
in interface FeatureStoreProviderFactory
allowEditableFeatureType
in class AbstractFeatureStoreProviderFactory
public int useLocalIndexesCanImprovePerformance()
useLocalIndexesCanImprovePerformance
in interface FeatureStoreProviderFactory
useLocalIndexesCanImprovePerformance
in class AbstractFeatureStoreProviderFactory
public List getSupportedDataTypes()
FeatureStoreProviderFactory
DataTypes
supported
by this FeatureStoreProviderFactorygetSupportedDataTypes
in interface FeatureStoreProviderFactory
getSupportedDataTypes
in class AbstractFeatureStoreProviderFactory
DataTypes
supported
by this FeatureStoreProviderFactory or null
if it has no restrictions on data typespublic List getSupportedGeometryTypesSubtypes()
FeatureStoreProviderFactory
Geometry
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 FeatureStoreProviderFactory
getSupportedGeometryTypesSubtypes
in class AbstractFeatureStoreProviderFactory
public boolean allowsMandatoryAttributes()
allowsMandatoryAttributes
in interface FeatureStoreProviderFactory
allowsMandatoryAttributes
in class AbstractFeatureStoreProviderFactory
public boolean allowsPrimaryKeyAttributes()
allowsPrimaryKeyAttributes
in interface FeatureStoreProviderFactory
allowsPrimaryKeyAttributes
in class AbstractFeatureStoreProviderFactory
public FeatureType createDefaultFeatureType()
createDefaultFeatureType
in interface FeatureStoreProviderFactory
createDefaultFeatureType
in class AbstractFeatureStoreProviderFactory
public int getMaxAttributeNameSize()
FeatureStoreProviderFactory
getMaxAttributeNameSize
in interface FeatureStoreProviderFactory
getMaxAttributeNameSize
in class AbstractFeatureStoreProviderFactory