public abstract class AbstractSimpleFeatureIngestPlugin<I> extends Object implements LocalFileIngestPlugin<org.opengis.feature.simple.SimpleFeature>, IngestFromHdfsPlugin<I,org.opengis.feature.simple.SimpleFeature>, GeoWaveAvroFormatPlugin<I,org.opengis.feature.simple.SimpleFeature>, Persistable
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractSimpleFeatureIngestPlugin.AbstractIngestSimpleFeatureWithMapper<I> |
| Modifier and Type | Field and Description |
|---|---|
protected CQLFilterOptionProvider |
filterOptionProvider |
protected FeatureSerializationOptionProvider |
serializationFormatOptionProvider |
protected GeometrySimpOptionProvider |
simpOptionProvider |
protected TypeNameOptionProvider |
typeNameProvider |
| Constructor and Description |
|---|
AbstractSimpleFeatureIngestPlugin() |
| Modifier and Type | Method and Description |
|---|---|
void |
fromBinary(byte[] bytes)
Convert a stream of binary bytes to fields and data within an object.
|
DataTypeAdapter<org.opengis.feature.simple.SimpleFeature>[] |
getDataAdapters()
Get all writable adapters used by this plugin
|
protected abstract org.opengis.feature.simple.SimpleFeatureType[] |
getTypes() |
protected DataTypeAdapter<org.opengis.feature.simple.SimpleFeature> |
newAdapter(org.opengis.feature.simple.SimpleFeatureType type) |
void |
setFilterProvider(CQLFilterOptionProvider filterOptionProvider) |
void |
setGeometrySimpOptionProvider(GeometrySimpOptionProvider geometryProvider) |
void |
setSerializationFormatProvider(FeatureSerializationOptionProvider serializationFormatOptionProvider) |
void |
setTypeNameProvider(TypeNameOptionProvider typeNameProvider) |
byte[] |
toBinary()
Convert fields and data within an object to binary form for transmission or storage.
|
CloseableIterator<GeoWaveData<org.opengis.feature.simple.SimpleFeature>> |
toGeoWaveData(URL input,
String[] indexNames)
Convert from an expected input format to a data format that can be directly ingested into
GeoWave
|
protected abstract CloseableIterator<GeoWaveData<org.opengis.feature.simple.SimpleFeature>> |
toGeoWaveDataInternal(I hdfsObject,
String[] indexNames) |
protected CloseableIterator<GeoWaveData<org.opengis.feature.simple.SimpleFeature>> |
wrapIteratorWithFilters(CloseableIterator<GeoWaveData<org.opengis.feature.simple.SimpleFeature>> geowaveData) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDataAdaptersgetSupportedIndexTypesingestWithMapper, ingestWithReducer, isUseReducerPreferredgetIngestWithAvroPlugintoAvroObjectsgetAvroSchemagetFileExtensionFilters, init, supportsFilegetRequiredIndicesprotected CQLFilterOptionProvider filterOptionProvider
protected FeatureSerializationOptionProvider serializationFormatOptionProvider
protected TypeNameOptionProvider typeNameProvider
protected GeometrySimpOptionProvider simpOptionProvider
public void setFilterProvider(CQLFilterOptionProvider filterOptionProvider)
public void setSerializationFormatProvider(FeatureSerializationOptionProvider serializationFormatOptionProvider)
public void setTypeNameProvider(TypeNameOptionProvider typeNameProvider)
public void setGeometrySimpOptionProvider(GeometrySimpOptionProvider geometryProvider)
public byte[] toBinary()
PersistabletoBinary in interface Persistablepublic void fromBinary(byte[] bytes)
PersistablefromBinary in interface Persistableprotected DataTypeAdapter<org.opengis.feature.simple.SimpleFeature> newAdapter(org.opengis.feature.simple.SimpleFeatureType type)
protected abstract org.opengis.feature.simple.SimpleFeatureType[] getTypes()
public DataTypeAdapter<org.opengis.feature.simple.SimpleFeature>[] getDataAdapters()
DataAdapterProvidergetDataAdapters in interface DataAdapterProvider<org.opengis.feature.simple.SimpleFeature>public CloseableIterator<GeoWaveData<org.opengis.feature.simple.SimpleFeature>> toGeoWaveData(URL input, String[] indexNames)
IngestPluginBasetoGeoWaveData in interface IngestPluginBase<URL,org.opengis.feature.simple.SimpleFeature>input - The expected input.indexNames - The set of index IDs specified via a commandline argument (this is typically
either the default spatial index or default spatial-temporal index)protected CloseableIterator<GeoWaveData<org.opengis.feature.simple.SimpleFeature>> wrapIteratorWithFilters(CloseableIterator<GeoWaveData<org.opengis.feature.simple.SimpleFeature>> geowaveData)
protected abstract CloseableIterator<GeoWaveData<org.opengis.feature.simple.SimpleFeature>> toGeoWaveDataInternal(I hdfsObject, String[] indexNames)
Copyright © 2013–2022. All rights reserved.