public class GeometryFieldMapper extends SpatialFieldMapper<org.locationtech.jts.geom.Geometry>
IndexFieldMapper.IndexFieldOptions
adapterFields, indexFieldName
Constructor and Description |
---|
GeometryFieldMapper() |
Modifier and Type | Method and Description |
---|---|
short |
adapterFieldCount() |
Class<org.locationtech.jts.geom.Geometry> |
adapterFieldType() |
Set<String> |
getLowerCaseSuggestedFieldNames() |
protected org.locationtech.jts.geom.Geometry |
getNativeGeometry(List<org.locationtech.jts.geom.Geometry> nativeFieldValues)
Builds a `Geometry` from the native adapter field values.
|
void |
toAdapter(org.locationtech.jts.geom.Geometry indexFieldValue,
RowBuilder<?> rowBuilder)
Converts an index value back to the fields used by the adapter.
|
byteLength, indexFieldType, initFromOptions, readBytes, toIndex, transformFieldDescriptors, writeBytes
fromBinary, getAdapterFields, getIndexOrderedAdapterFields, indexFieldName, init, isCompatibleWith, toBinary
protected org.locationtech.jts.geom.Geometry getNativeGeometry(List<org.locationtech.jts.geom.Geometry> nativeFieldValues)
SpatialFieldMapper
getNativeGeometry
in class SpatialFieldMapper<org.locationtech.jts.geom.Geometry>
nativeFieldValues
- the adapter field valuespublic void toAdapter(org.locationtech.jts.geom.Geometry indexFieldValue, RowBuilder<?> rowBuilder)
IndexFieldMapper
toAdapter
in class IndexFieldMapper<org.locationtech.jts.geom.Geometry,org.locationtech.jts.geom.Geometry>
indexFieldValue
- the index valuepublic short adapterFieldCount()
adapterFieldCount
in class IndexFieldMapper<org.locationtech.jts.geom.Geometry,org.locationtech.jts.geom.Geometry>
public Class<org.locationtech.jts.geom.Geometry> adapterFieldType()
adapterFieldType
in class IndexFieldMapper<org.locationtech.jts.geom.Geometry,org.locationtech.jts.geom.Geometry>
public Set<String> getLowerCaseSuggestedFieldNames()
getLowerCaseSuggestedFieldNames
in class IndexFieldMapper<org.locationtech.jts.geom.Geometry,org.locationtech.jts.geom.Geometry>
Copyright © 2013–2022. All rights reserved.