Class PostgisFeatureTypeMapper
- Object
-
- AbstractFeatureTypeMapper
-
- PostgisFeatureTypeMapper
-
- All Implemented Interfaces:
FeatureTypeMapper
public class PostgisFeatureTypeMapper extends AbstractFeatureTypeMapper
A Postgis specificFeatureTypeMapper
instance- Author:
- Daniele Romagnoli, GeoSolutions SAS
-
-
Field Summary
-
Fields inherited from class AbstractFeatureTypeMapper
coordinateReferenceSystem, definitions, definitionsMapping, mappedFeatureType, mappedName, maxLength, originalName, simpleFeatureSource, wrappedFeatureType
-
-
Constructor Summary
Constructors Constructor Description PostgisFeatureTypeMapper(SimpleFeatureType featureType)
Create a newPostgisFeatureTypeMapper
on top of the original featureType provided
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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 featureType-
Methods inherited from class AbstractFeatureTypeMapper
getCoordinateReferenceSystem, getDefinitions, getMappedFeatureType, getMappedName, getName, getSimpleFeatureSource, getWrappedFeatureType, remap, remap, remapFeatureType, setSimpleFeatureSource
-
-
-
-
Constructor Detail
-
PostgisFeatureTypeMapper
public PostgisFeatureTypeMapper(SimpleFeatureType featureType) throws CQLException
Create a newPostgisFeatureTypeMapper
on top of the original featureType provided- Throws:
CQLException
-
-
Method Detail
-
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
-
-