T
- the type of entries to index within Geowavepublic class AccumuloKeyValuePairGenerator<T> extends Object
DataTypeAdapter
and an Index
, this class handles the creation of
Geowave-formatted [Key,Value] pairs.
The intent is that this class will be used within the Mapper of a MapReduce job to generate
Keys and Values to be sorted during the shuffle-and-sort phase in preparation for bulk ingest
into Accumulo via AccumuloFileOutputFormat
.
Constructor and Description |
---|
AccumuloKeyValuePairGenerator(InternalDataAdapter<T> adapter,
Index index,
VisibilityWriter<T> visibilityWriter) |
Modifier and Type | Method and Description |
---|---|
List<org.apache.accumulo.core.data.KeyValue> |
constructKeyValuePairs(T entry) |
public AccumuloKeyValuePairGenerator(InternalDataAdapter<T> adapter, Index index, VisibilityWriter<T> visibilityWriter)
Copyright © 2013–2020. All rights reserved.