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, supportNumericOID
allowCreate, allowRead, allowWrite, create, hasRasterSupport, hasTabularSupport, hasVectorialSupport, isTiledSupported, worksBestTiled
getDescription, getName, isHidden
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createDefaultFeatureType, getMaxAttributeNameSize, supportNumericOID
allowCreate, allowRead, allowWrite, getDescription, getName, hasRasterSupport, hasTabularSupport, hasVectorialSupport, isTiledSupported, worksBestTiled
create, isHidden
public DataStoreProvider createProvider(DataParameters dataParameters, DataStoreProviderServices providerServices) throws InitializeException
DataStoreProviderFactory
createProvider
in interface DataStoreProviderFactory
InitializeException
public DynObject createParameters()
createParameters
in interface DataFactory
public int allowMultipleGeometryTypes()
allowMultipleGeometryTypes
in class AbstractFeatureStoreProviderFactory
public int allowEditableFeatureType()
allowEditableFeatureType
in interface FeatureStoreProviderFactory
allowEditableFeatureType
in class AbstractFeatureStoreProviderFactory
public 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 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 int useLocalIndexesCanImprovePerformance()
useLocalIndexesCanImprovePerformance
in interface FeatureStoreProviderFactory
useLocalIndexesCanImprovePerformance
in class AbstractFeatureStoreProviderFactory
public DynObject createDataExplorerParameters(Object connectionString)
OGRDataStoreProviderFactory
createDataExplorerParameters
in interface OGRDataStoreProviderFactory
connectionString
- File or connection string to be openedpublic DynObject createParameters(Object connectionObject)
OGRDataStoreProviderFactory
createParameters
in interface OGRDataStoreProviderFactory
connectionObject
- File or connection string to be openedpublic String getDriver()
getDriver
in interface OGRDataStoreProviderFactory