public class LegacyInternalDataAdapterWrapper<T> extends Object implements InternalDataAdapter<T>
| Constructor and Description |
|---|
LegacyInternalDataAdapterWrapper() |
LegacyInternalDataAdapterWrapper(DataTypeAdapter<T> adapter,
short adapterId) |
| Modifier and Type | Method and Description |
|---|---|
T |
decode(IndexedAdapterPersistenceEncoding data,
AdapterToIndexMapping indexMapping,
Index index) |
AdapterPersistenceEncoding |
encode(T entry,
AdapterToIndexMapping indexMapping,
Index index) |
void |
fromBinary(byte[] bytes) |
DataTypeAdapter<T> |
getAdapter() |
short |
getAdapterId() |
Class<T> |
getDataClass() |
byte[] |
getDataId(T entry) |
FieldDescriptor<?> |
getFieldDescriptor(String fieldName) |
FieldDescriptor<?>[] |
getFieldDescriptors() |
String |
getFieldNameForPosition(CommonIndexModel model,
int position) |
Object |
getFieldValue(T entry,
String fieldName) |
int |
getPositionOfOrderedField(CommonIndexModel model,
String fieldName) |
String |
getTypeName() |
InternalDataAdapter<T> |
getUpdatedAdapter() |
VisibilityHandler |
getVisibilityHandler() |
boolean |
isCommonIndexField(AdapterToIndexMapping indexMapping,
String fieldName) |
RowBuilder<T> |
newRowBuilder(FieldDescriptor<?>[] outputFieldDescriptors) |
byte[] |
toBinary() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitasInternalAdapter, asInternalAdapter, describe, getReader, getWriterpublic LegacyInternalDataAdapterWrapper()
public LegacyInternalDataAdapterWrapper(DataTypeAdapter<T> adapter, short adapterId)
public InternalDataAdapter<T> getUpdatedAdapter()
public byte[] toBinary()
toBinary in interface org.locationtech.geowave.core.index.persist.Persistablepublic void fromBinary(byte[] bytes)
fromBinary in interface org.locationtech.geowave.core.index.persist.Persistablepublic VisibilityHandler getVisibilityHandler()
getVisibilityHandler in interface InternalDataAdapter<T>public short getAdapterId()
getAdapterId in interface InternalDataAdapter<T>public String getTypeName()
getTypeName in interface DataTypeAdapter<T>public byte[] getDataId(T entry)
getDataId in interface DataTypeAdapter<T>public Object getFieldValue(T entry, String fieldName)
getFieldValue in interface DataTypeAdapter<T>public Class<T> getDataClass()
getDataClass in interface DataTypeAdapter<T>public RowBuilder<T> newRowBuilder(FieldDescriptor<?>[] outputFieldDescriptors)
newRowBuilder in interface DataTypeAdapter<T>public FieldDescriptor<?>[] getFieldDescriptors()
getFieldDescriptors in interface DataTypeAdapter<T>public FieldDescriptor<?> getFieldDescriptor(String fieldName)
getFieldDescriptor in interface DataTypeAdapter<T>public DataTypeAdapter<T> getAdapter()
getAdapter in interface InternalDataAdapter<T>public int getPositionOfOrderedField(CommonIndexModel model, String fieldName)
getPositionOfOrderedField in interface InternalDataAdapter<T>public String getFieldNameForPosition(CommonIndexModel model, int position)
getFieldNameForPosition in interface InternalDataAdapter<T>public AdapterPersistenceEncoding encode(T entry, AdapterToIndexMapping indexMapping, Index index)
encode in interface InternalDataAdapter<T>public T decode(IndexedAdapterPersistenceEncoding data, AdapterToIndexMapping indexMapping, Index index)
decode in interface InternalDataAdapter<T>public boolean isCommonIndexField(AdapterToIndexMapping indexMapping, String fieldName)
isCommonIndexField in interface InternalDataAdapter<T>Copyright © 2013–2021. All rights reserved.