Interface FeatureStoreProviderFactory

All Superinterfaces:
DataFactory, DataStoreProviderFactory, org.gvsig.tools.extensionpoint.ExtensionSingleton

public interface FeatureStoreProviderFactory extends DataStoreProviderFactory
  • Method Details

    • getSupportedDataTypes

      List getSupportedDataTypes()
      Returns a list of DataTypes supported by this FeatureStoreProviderFactory
      Returns:
      list of DataTypes supported by this FeatureStoreProviderFactory or null if it has no restrictions on data types
    • getSupportedGeometryTypesSubtypes

      List getSupportedGeometryTypesSubtypes()
      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.
      Returns:
      Matrix of Geometry.TYPES, SUBTYPES or null
    • allowsMandatoryAttributes

      boolean allowsMandatoryAttributes()
      Returns:
      whether this factory allows mandatory attributes in the generated stores' feature types.
    • preferNotToUseNonNullRestrictions

      boolean preferNotToUseNonNullRestrictions()
    • allowsPrimaryKeyAttributes

      boolean allowsPrimaryKeyAttributes()
      Returns:
      whether this factory allows primary key attributes in the generated stores' feature types.
    • createDefaultFeatureType

      FeatureType createDefaultFeatureType()
      Returns:
      a new instance of a default feature type (changes to that feature type do not affect following calls)
    • allowEditableFeatureType

      int allowEditableFeatureType()
      Returns:
      whether stores created by this factory allow several geometry types. Actually redundant after adding getSupportedGeometryTypesSubtypes())
    • useLocalIndexesCanImprovePerformance

      int useLocalIndexesCanImprovePerformance()
    • isOptimalRecoverFeaturesByReference

      int isOptimalRecoverFeaturesByReference()
    • getMaxAttributeNameSize

      int getMaxAttributeNameSize()
      Returns max size for attributes names returns -1 if it is undefined
      Returns:
    • supportNumericOID

      boolean supportNumericOID()
    • allowFunction

      Function<String,Integer> allowFunction()
      Returns:
    • allowGroupBy

      int allowGroupBy()
    • allowSpatialIndexSupport

      boolean allowSpatialIndexSupport()
    • supportPassthroughMode

      int supportPassthroughMode()
    • supportInsertOrUpdate

      int supportInsertOrUpdate()