public class PostgisFeatureTypeMapper extends AbstractFeatureTypeMapper
FeatureTypeMapper
instancecoordinateReferenceSystem, definitions, definitionsMapping, mappedFeatureType, mappedName, maxLength, originalName, simpleFeatureSource, wrappedFeatureType
Constructor and Description |
---|
PostgisFeatureTypeMapper(SimpleFeatureType featureType)
Create a new
PostgisFeatureTypeMapper on top of the original featureType provided |
Modifier and Type | Method and 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
|
getCoordinateReferenceSystem, getDefinitions, getMappedFeatureType, getMappedName, getName, getSimpleFeatureSource, getWrappedFeatureType, remap, remap, remapFeatureType, setSimpleFeatureSource
public PostgisFeatureTypeMapper(SimpleFeatureType featureType) throws CQLException
PostgisFeatureTypeMapper
on top of the original featureType providedCQLException
protected void remapGeometryAttribute(SimpleFeatureTypeBuilder tb, Definition definition, AttributeDescriptor descriptor, AttributeType type)
AbstractFeatureTypeMapper
remapGeometryAttribute
in class AbstractFeatureTypeMapper
Copyright © 1996–2022 Geotools. All rights reserved.