Class PostgisFeatureTypeMapper
Object
AbstractFeatureTypeMapper
PostgisFeatureTypeMapper
- All Implemented Interfaces:
FeatureTypeMapper
A Postgis specific
FeatureTypeMapper
instance- Author:
- Daniele Romagnoli, GeoSolutions SAS
-
Field Summary
Fields inherited from class AbstractFeatureTypeMapper
coordinateReferenceSystem, definitions, definitionsMapping, mappedFeatureType, mappedName, maxLength, originalName, simpleFeatureSource, wrappedFeatureType
-
Constructor Summary
ConstructorsConstructorDescriptionPostgisFeatureTypeMapper
(SimpleFeatureType featureType) Create a newPostgisFeatureTypeMapper
on top of the original featureType provided -
Method Summary
Modifier and TypeMethodDescriptionprotected void
remapGeometryAttribute
(SimpleFeatureTypeBuilder tb, Definition definition, AttributeDescriptor descriptor, AttributeType type) Remap the original GeomtryType on top of the available definitions to create the database specific featureTypeMethods inherited from class AbstractFeatureTypeMapper
getCoordinateReferenceSystem, getDefinitions, getMappedFeatureType, getMappedName, getName, getSimpleFeatureSource, getWrappedFeatureType, remap, remap, remapFeatureType, setSimpleFeatureSource
-
Constructor Details
-
PostgisFeatureTypeMapper
Create a newPostgisFeatureTypeMapper
on top of the original featureType provided- Throws:
CQLException
-
-
Method Details
-
remapGeometryAttribute
protected void remapGeometryAttribute(SimpleFeatureTypeBuilder tb, Definition definition, AttributeDescriptor descriptor, AttributeType type) Description copied from class:AbstractFeatureTypeMapper
Remap the original GeomtryType on top of the available definitions to create the database specific featureType- Overrides:
remapGeometryAttribute
in classAbstractFeatureTypeMapper
-