public class GeoWaveAvroFeatureDataAdapter extends FeatureDataAdapter
fieldNameMatchingFieldHandlers, fieldVisiblityHandler, nativeFieldHandlers, typeMatchingFieldHandlers
Modifier | Constructor and Description |
---|---|
protected |
GeoWaveAvroFeatureDataAdapter() |
|
GeoWaveAvroFeatureDataAdapter(org.opengis.feature.simple.SimpleFeatureType type) |
|
GeoWaveAvroFeatureDataAdapter(org.opengis.feature.simple.SimpleFeatureType type,
FieldVisibilityHandler<org.opengis.feature.simple.SimpleFeature,Object> fieldVisiblityHandler) |
|
GeoWaveAvroFeatureDataAdapter(org.opengis.feature.simple.SimpleFeatureType type,
List<PersistentIndexFieldHandler<org.opengis.feature.simple.SimpleFeature,? extends CommonIndexValue,Object>> customIndexHandlers) |
|
GeoWaveAvroFeatureDataAdapter(org.opengis.feature.simple.SimpleFeatureType type,
VisibilityManagement<org.opengis.feature.simple.SimpleFeature> visibilityManagement) |
Modifier and Type | Method and Description |
---|---|
protected List<NativeFieldHandler<org.opengis.feature.simple.SimpleFeature,Object>> |
getFieldHandlersFromFeatureType(org.opengis.feature.simple.SimpleFeatureType type)
Create List of NativeFieldHandlers based on the SimpleFeature type passed as parameter.
|
String |
getFieldNameForPosition(CommonIndexModel model,
int position)
Get the field name for the position
|
int |
getPositionOfOrderedField(CommonIndexModel model,
String fieldName)
for efficiency we assume fields have some pre-defined ordering.
|
FieldReader<Object> |
getReader(String fieldName)
Get a reader for an individual field.
|
FieldWriter<org.opengis.feature.simple.SimpleFeature,Object> |
getWriter(String fieldName)
Get a writer for an individual field given the ID.
|
protected NativeFieldHandler.RowBuilder<org.opengis.feature.simple.SimpleFeature,Object> |
newBuilder() |
createDataStatistics, createWritableSerializer, decodeCRS, defaultTypeDataFromBinary, defaultTypeDataToBinary, describe, encode, getDataId, getDefaultTypeMatchingHandlers, getDimensionFieldNames, getFeatureType, getFieldHandler, getSupportedStatistics, getTimeDescriptors, getTimeRangeHandler, getTypeName, getVisibilityHandler, hasTemporalConstraints, init, internalCreateRowBuilder, resetTimeDescriptors, setNamespace
decode, fromBinary, getFieldVisiblityHandler, init, toBinary
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
decode
fromBinary, toBinary
protected GeoWaveAvroFeatureDataAdapter()
public GeoWaveAvroFeatureDataAdapter(org.opengis.feature.simple.SimpleFeatureType type)
public GeoWaveAvroFeatureDataAdapter(org.opengis.feature.simple.SimpleFeatureType type, VisibilityManagement<org.opengis.feature.simple.SimpleFeature> visibilityManagement)
public GeoWaveAvroFeatureDataAdapter(org.opengis.feature.simple.SimpleFeatureType type, List<PersistentIndexFieldHandler<org.opengis.feature.simple.SimpleFeature,? extends CommonIndexValue,Object>> customIndexHandlers)
public GeoWaveAvroFeatureDataAdapter(org.opengis.feature.simple.SimpleFeatureType type, FieldVisibilityHandler<org.opengis.feature.simple.SimpleFeature,Object> fieldVisiblityHandler)
protected List<NativeFieldHandler<org.opengis.feature.simple.SimpleFeature,Object>> getFieldHandlersFromFeatureType(org.opengis.feature.simple.SimpleFeatureType type)
FeatureDataAdapter
getFieldHandlersFromFeatureType
in class FeatureDataAdapter
type
- - SFT to be used to determine handlerspublic FieldReader<Object> getReader(String fieldName)
FeatureDataAdapter
getReader
in interface DataReader<Object>
getReader
in class FeatureDataAdapter
fieldName
- the ID of the fieldpublic FieldWriter<org.opengis.feature.simple.SimpleFeature,Object> getWriter(String fieldName)
FeatureDataAdapter
getWriter
in interface DataWriter<org.opengis.feature.simple.SimpleFeature,Object>
getWriter
in class FeatureDataAdapter
fieldName
- the unique field IDpublic int getPositionOfOrderedField(CommonIndexModel model, String fieldName)
DataTypeAdapter
getPositionOfOrderedField
in interface DataTypeAdapter<org.opengis.feature.simple.SimpleFeature>
getPositionOfOrderedField
in class FeatureDataAdapter
model
- the index modelfieldName
- the field namepublic String getFieldNameForPosition(CommonIndexModel model, int position)
DataTypeAdapter
getFieldNameForPosition
in interface DataTypeAdapter<org.opengis.feature.simple.SimpleFeature>
getFieldNameForPosition
in class FeatureDataAdapter
model
- the index modelposition
- the positionprotected NativeFieldHandler.RowBuilder<org.opengis.feature.simple.SimpleFeature,Object> newBuilder()
newBuilder
in class FeatureDataAdapter
Copyright © 2013–2020. All rights reserved.