public class BasicOGRDataStoreProviderFactory extends AbstractFeatureStoreProviderFactory implements OGRDataStoreProviderFactory
NO, UNKNOWN, YES| Constructor and Description |
|---|
BasicOGRDataStoreProviderFactory(String name,
String description) |
| Modifier and Type | Method and Description |
|---|---|
int |
allowEditableFeatureType() |
int |
allowMultipleGeometryTypes() |
boolean |
allowsMandatoryAttributes() |
boolean |
allowsPrimaryKeyAttributes() |
DynObject |
createDataExplorerParameters(Object connectionString)
Creates specific data explorer parameters if factory can open connection
object.
|
DynObject |
createParameters() |
DynObject |
createParameters(Object connectionObject)
Creates specific parameters if factory can open connection object.
|
DataStoreProvider |
createProvider(DataParameters dataParameters,
DataStoreProviderServices providerServices)
Builds a specific provider
|
String |
getDriver() |
List |
getSupportedDataTypes()
See
OGRConverter.convertToDataType(int) method. |
List |
getSupportedGeometryTypesSubtypes()
Geometry
Return a matrix (list of pairs) (int, int]
[Geometry.TYPE,GEOMETRY.SUBTYPE]
with types and subtypes supported by this provider. |
int |
useLocalIndexesCanImprovePerformance() |
createDefaultFeatureType, getMaxAttributeNameSize, supportNumericOIDallowCreate, allowRead, allowWrite, create, hasRasterSupport, hasTabularSupport, hasVectorialSupport, isTiledSupported, worksBestTiledgetDescription, getName, isHiddenclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateDefaultFeatureType, getMaxAttributeNameSize, supportNumericOIDallowCreate, allowRead, allowWrite, getDescription, getName, hasRasterSupport, hasTabularSupport, hasVectorialSupport, isTiledSupported, worksBestTiledcreate, isHiddenpublic DataStoreProvider createProvider(DataParameters dataParameters, DataStoreProviderServices providerServices) throws InitializeException
DataStoreProviderFactorycreateProvider in interface DataStoreProviderFactoryInitializeExceptionpublic DynObject createParameters()
createParameters in interface DataFactorypublic int allowMultipleGeometryTypes()
allowMultipleGeometryTypes in class AbstractFeatureStoreProviderFactorypublic int allowEditableFeatureType()
allowEditableFeatureType in interface FeatureStoreProviderFactoryallowEditableFeatureType in class AbstractFeatureStoreProviderFactorypublic List getSupportedDataTypes()
OGRConverter.convertToDataType(int) method. The list of data
type of OGR. If the list of OGR types changes update this method.getSupportedDataTypes in interface FeatureStoreProviderFactorygetSupportedDataTypes in class AbstractFeatureStoreProviderFactoryDataTypes supported
by this FeatureStoreProviderFactory or null
if it has no restrictions on data typespublic 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 int useLocalIndexesCanImprovePerformance()
useLocalIndexesCanImprovePerformance in interface FeatureStoreProviderFactoryuseLocalIndexesCanImprovePerformance in class AbstractFeatureStoreProviderFactorypublic DynObject createDataExplorerParameters(Object connectionString)
OGRDataStoreProviderFactorycreateDataExplorerParameters in interface OGRDataStoreProviderFactoryconnectionString - File or connection string to be openedpublic DynObject createParameters(Object connectionObject)
OGRDataStoreProviderFactorycreateParameters in interface OGRDataStoreProviderFactoryconnectionObject - File or connection string to be openedpublic String getDriver()
getDriver in interface OGRDataStoreProviderFactory