public class ChunkCombiner extends Object implements SortedKeyValueIterator<Key,Value>
row1 refs uid1\0a A&B V0
row1 refs uid2\0b C&D V0
row1 ~chunk 0 A&B V1
row1 ~chunk 0 C&D V1
row1 ~chunk 0 E&F V1
row1 ~chunk 0 G&H V1
into the following
row1 refs uid1\0a A&B V0
row1 refs uid2\0b C&D V0
row1 ~chunk 0 (A&B)|(C&D) V1
VisibilityCombiner is used to combie the visibilities.| Constructor and Description |
|---|
ChunkCombiner() |
| Modifier and Type | Method and Description |
|---|---|
SortedKeyValueIterator<Key,Value> |
deepCopy(IteratorEnvironment env) |
Key |
getTopKey() |
Value |
getTopValue() |
boolean |
hasTop() |
void |
init(SortedKeyValueIterator<Key,Value> source,
Map<String,String> options,
IteratorEnvironment env) |
void |
next() |
void |
seek(Range range,
Collection<ByteSequence> columnFamilies,
boolean inclusive) |
public void init(SortedKeyValueIterator<Key,Value> source, Map<String,String> options, IteratorEnvironment env) throws IOException
init in interface SortedKeyValueIterator<Key,Value>IOExceptionpublic boolean hasTop()
hasTop in interface SortedKeyValueIterator<Key,Value>public void next()
throws IOException
next in interface SortedKeyValueIterator<Key,Value>IOExceptionpublic void seek(Range range, Collection<ByteSequence> columnFamilies, boolean inclusive) throws IOException
seek in interface SortedKeyValueIterator<Key,Value>IOExceptionpublic Key getTopKey()
getTopKey in interface SortedKeyValueIterator<Key,Value>public Value getTopValue()
getTopValue in interface SortedKeyValueIterator<Key,Value>public SortedKeyValueIterator<Key,Value> deepCopy(IteratorEnvironment env)
deepCopy in interface SortedKeyValueIterator<Key,Value>Copyright © 2015 Apache Accumulo Project. All rights reserved.