public class EdgeGroupingIterator extends Object implements org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>
| Constructor and Description |
|---|
EdgeGroupingIterator() |
| Modifier and Type | Method and Description |
|---|---|
static SortedMap<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value> |
decodeRow(org.apache.accumulo.core.data.Key rowKey,
org.apache.accumulo.core.data.Value rowValue) |
org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value> |
deepCopy(org.apache.accumulo.core.iterators.IteratorEnvironment env) |
static org.apache.accumulo.core.data.Value |
encodeRow(List<org.apache.accumulo.core.data.Key> keys,
List<org.apache.accumulo.core.data.Value> values) |
protected boolean |
filter(org.apache.hadoop.io.Text currentRow,
List<org.apache.accumulo.core.data.Key> keys,
List<org.apache.accumulo.core.data.Value> values) |
org.apache.accumulo.core.data.Key |
getTopKey() |
org.apache.accumulo.core.data.Value |
getTopValue() |
boolean |
hasTop() |
void |
init(org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value> source,
Map<String,String> options,
org.apache.accumulo.core.iterators.IteratorEnvironment env) |
void |
next() |
void |
seek(org.apache.accumulo.core.data.Range range,
Collection<org.apache.accumulo.core.data.ByteSequence> columnFamilies,
boolean inclusive) |
public static SortedMap<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value> decodeRow(org.apache.accumulo.core.data.Key rowKey, org.apache.accumulo.core.data.Value rowValue) throws IOException
IOExceptionpublic static org.apache.accumulo.core.data.Value encodeRow(List<org.apache.accumulo.core.data.Key> keys, List<org.apache.accumulo.core.data.Value> values) throws IOException
IOExceptionprotected boolean filter(org.apache.hadoop.io.Text currentRow,
List<org.apache.accumulo.core.data.Key> keys,
List<org.apache.accumulo.core.data.Value> values)
currentRow - All keys have this in their row portion (do not modify!).keys - One key for each key in the row, ordered as they are given by the source iterator (do not modify!).values - One value for each key in keys, ordered to correspond to the ordering in keys (do not modify!).public org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value> deepCopy(org.apache.accumulo.core.iterators.IteratorEnvironment env)
deepCopy in interface org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>public org.apache.accumulo.core.data.Key getTopKey()
getTopKey in interface org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>public org.apache.accumulo.core.data.Value getTopValue()
getTopValue in interface org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>public boolean hasTop()
hasTop in interface org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>public void init(org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value> source,
Map<String,String> options,
org.apache.accumulo.core.iterators.IteratorEnvironment env)
throws IOException
init in interface org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>IOExceptionpublic void next()
throws IOException
next in interface org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>IOExceptionpublic void seek(org.apache.accumulo.core.data.Range range,
Collection<org.apache.accumulo.core.data.ByteSequence> columnFamilies,
boolean inclusive)
throws IOException
seek in interface org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>IOExceptionCopyright © 2014 Calrissian. All Rights Reserved.