N - The class of the adapter spatial fieldpublic abstract class SpatialFieldMapper<N> extends IndexFieldMapper<N,org.locationtech.jts.geom.Geometry>
IndexFieldMapper.IndexFieldOptionsadapterFields, indexFieldName| Constructor and Description |
|---|
SpatialFieldMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected int |
byteLength() |
protected abstract org.locationtech.jts.geom.Geometry |
getNativeGeometry(List<N> nativeFieldValues)
Builds a `Geometry` from the native adapter field values.
|
Class<org.locationtech.jts.geom.Geometry> |
indexFieldType() |
protected void |
initFromOptions(List<FieldDescriptor<N>> inputFieldDescriptors,
IndexFieldMapper.IndexFieldOptions options) |
protected void |
readBytes(ByteBuffer buffer) |
org.locationtech.jts.geom.Geometry |
toIndex(List<N> nativeFieldValues) |
void |
transformFieldDescriptors(FieldDescriptor<?>[] inputFieldDescriptors) |
protected void |
writeBytes(ByteBuffer buffer) |
adapterFieldCount, adapterFieldType, fromBinary, getAdapterFields, getIndexOrderedAdapterFields, getLowerCaseSuggestedFieldNames, indexFieldName, init, isCompatibleWith, toAdapter, toBinarypublic org.locationtech.jts.geom.Geometry toIndex(List<N> nativeFieldValues)
toIndex in class IndexFieldMapper<N,org.locationtech.jts.geom.Geometry>protected abstract org.locationtech.jts.geom.Geometry getNativeGeometry(List<N> nativeFieldValues)
nativeFieldValues - the adapter field valuespublic Class<org.locationtech.jts.geom.Geometry> indexFieldType()
indexFieldType in class IndexFieldMapper<N,org.locationtech.jts.geom.Geometry>protected void initFromOptions(List<FieldDescriptor<N>> inputFieldDescriptors, IndexFieldMapper.IndexFieldOptions options)
initFromOptions in class IndexFieldMapper<N,org.locationtech.jts.geom.Geometry>public void transformFieldDescriptors(FieldDescriptor<?>[] inputFieldDescriptors)
transformFieldDescriptors in class IndexFieldMapper<N,org.locationtech.jts.geom.Geometry>protected int byteLength()
byteLength in class IndexFieldMapper<N,org.locationtech.jts.geom.Geometry>protected void writeBytes(ByteBuffer buffer)
writeBytes in class IndexFieldMapper<N,org.locationtech.jts.geom.Geometry>protected void readBytes(ByteBuffer buffer)
readBytes in class IndexFieldMapper<N,org.locationtech.jts.geom.Geometry>Copyright © 2013–2021. All rights reserved.