public class BucketHashIterator
extends org.apache.accumulo.core.iterators.WrappingIterator
| Modifier and Type | Field and Description |
|---|---|
protected String |
currentBucket |
protected List<String> |
hashes |
protected org.apache.accumulo.core.data.Key |
retKey |
protected org.apache.accumulo.core.data.Value |
val |
| Constructor and Description |
|---|
BucketHashIterator() |
| Modifier and Type | Method and Description |
|---|---|
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 |
primeVal() |
void |
seek(org.apache.accumulo.core.data.Range range,
Collection<org.apache.accumulo.core.data.ByteSequence> columnFamilies,
boolean inclusive) |
static void |
setBucketSize(org.apache.accumulo.core.client.IteratorSetting is,
BucketSize bucketSize) |
protected String currentBucket
protected org.apache.accumulo.core.data.Key retKey
protected org.apache.accumulo.core.data.Value val
public static void setBucketSize(org.apache.accumulo.core.client.IteratorSetting is,
BucketSize bucketSize)
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>init in class org.apache.accumulo.core.iterators.WrappingIteratorIOExceptionpublic boolean hasTop()
hasTop in interface org.apache.accumulo.core.iterators.SortedKeyValueIterator<org.apache.accumulo.core.data.Key,org.apache.accumulo.core.data.Value>hasTop in class org.apache.accumulo.core.iterators.WrappingIteratorpublic 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>next in class org.apache.accumulo.core.iterators.WrappingIteratorIOExceptionpublic 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>seek in class org.apache.accumulo.core.iterators.WrappingIteratorIOExceptionpublic 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>getTopKey in class org.apache.accumulo.core.iterators.WrappingIteratorpublic 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>getTopValue in class org.apache.accumulo.core.iterators.WrappingIteratorpublic void primeVal()
Copyright © 2014 Calrissian. All Rights Reserved.