public class BasicOGRDataStoreProviderFactory extends AbstractFeatureStoreProviderFactory implements OGRDataStoreProviderFactory
NO, UNKNOWN, YES
Constructor and Description |
---|
BasicOGRDataStoreProviderFactory(java.lang.String name,
java.lang.String description) |
Modifier and Type | Method and Description |
---|---|
int |
allowEditableFeatureType() |
int |
allowMultipleGeometryTypes() |
boolean |
allowsMandatoryAttributes() |
boolean |
allowsPrimaryKeyAttributes() |
DynObject |
createDataExplorerParameters(java.lang.Object connectionString)
Creates specific data explorer parameters if factory can open connection
object.
|
DynObject |
createParameters() |
DynObject |
createParameters(java.lang.Object connectionObject)
Creates specific parameters if factory can open connection object.
|
DataStoreProvider |
createProvider(DataParameters dataParameters,
DataStoreProviderServices providerServices)
Builds a specific provider
|
java.lang.String |
getDriver() |
java.util.List |
getSupportedDataTypes()
See
OGRConverter.convertToDataType(int) method. |
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 |
useLocalIndexesCanImprovePerformance() |
allowFunction, allowGroupBy, allowSpatialIndexSupport, createDefaultFeatureType, getMaxAttributeNameSize, isOptimalRecoverFeaturesByReference, preferNotToUseNonNullRestrictions, supportInsertOrUpdate, supportNumericOID, supportPassthroughMode
allowCreate, allowRead, allowWrite, create, hasRasterSupport, hasSQLSupport, hasTabularSupport, hasVectorialSupport, isTiledSupported, worksBestTiled
getDescription, getName, isHidden
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
allowFunction, allowGroupBy, allowSpatialIndexSupport, createDefaultFeatureType, getMaxAttributeNameSize, isOptimalRecoverFeaturesByReference, preferNotToUseNonNullRestrictions, supportInsertOrUpdate, supportNumericOID, supportPassthroughMode
allowCreate, allowRead, allowWrite, getDescription, getName, hasRasterSupport, hasSQLSupport, hasTabularSupport, hasVectorialSupport, isTiledSupported, worksBestTiled
create, isHidden
public BasicOGRDataStoreProviderFactory(java.lang.String name, java.lang.String description)
name
- Name of factorydescription
- Description of factorypublic DataStoreProvider createProvider(DataParameters dataParameters, DataStoreProviderServices providerServices) throws InitializeException
DataStoreProviderFactory
createProvider
in interface DataStoreProviderFactory
InitializeException
public DynObject createParameters()
createParameters
in interface DataFactory
public int allowMultipleGeometryTypes()
public int allowEditableFeatureType()
allowEditableFeatureType
in interface FeatureStoreProviderFactory
allowEditableFeatureType
in class AbstractFeatureStoreProviderFactory
public java.util.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 java.util.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(java.lang.Object connectionString)
OGRDataStoreProviderFactory
createDataExplorerParameters
in interface OGRDataStoreProviderFactory
connectionString
- File or connection string to be openedpublic DynObject createParameters(java.lang.Object connectionObject)
OGRDataStoreProviderFactory
createParameters
in interface OGRDataStoreProviderFactory
connectionObject
- File or connection string to be openedpublic java.lang.String getDriver()
getDriver
in interface OGRDataStoreProviderFactory