public class ColumnSliceIterator<K,N,V> extends Object implements Iterator<HColumn<N,V>>
hasNext(),
the column name object type must override Object.equals().| Modifier and Type | Class and Description |
|---|---|
static interface |
ColumnSliceIterator.ColumnSliceFinish<N>
When iterating over a ColumnSlice, it may be desirable to move the finish
point for each query.
|
| Constructor and Description |
|---|
ColumnSliceIterator(SliceQuery<K,N,V> query,
N start,
ColumnSliceIterator.ColumnSliceFinish<N> finish,
boolean reversed)
Constructor
|
ColumnSliceIterator(SliceQuery<K,N,V> query,
N start,
ColumnSliceIterator.ColumnSliceFinish<N> finish,
boolean reversed,
int count)
Constructor
|
ColumnSliceIterator(SliceQuery<K,N,V> query,
N start,
N finish,
boolean reversed)
Constructor
|
ColumnSliceIterator(SliceQuery<K,N,V> query,
N start,
N finish,
boolean reversed,
int count)
Constructor
|
public ColumnSliceIterator(SliceQuery<K,N,V> query, N start, N finish, boolean reversed)
query - Base SliceQuery to executestart - Starting point of the rangefinish - Finish point of the range.reversed - Whether or not the columns should be reversedpublic ColumnSliceIterator(SliceQuery<K,N,V> query, N start, N finish, boolean reversed, int count)
query - Base SliceQuery to executestart - Starting point of the rangefinish - Finish point of the range.reversed - Whether or not the columns should be reversedcount - the amount of columns to retrieve per batchpublic ColumnSliceIterator(SliceQuery<K,N,V> query, N start, ColumnSliceIterator.ColumnSliceFinish<N> finish, boolean reversed)
query - Base SliceQuery to executestart - Starting point of the rangefinish - Finish point of the range. Allows for a dynamically
determined pointreversed - Whether or not the columns should be reversedpublic ColumnSliceIterator(SliceQuery<K,N,V> query, N start, ColumnSliceIterator.ColumnSliceFinish<N> finish, boolean reversed, int count)
query - Base SliceQuery to executestart - Starting point of the rangefinish - Finish point of the range. Allows for a dynamically
determined pointreversed - Whether or not the columns should be reversedcount - the amount of columns to retrieve per batchpublic ColumnSliceIterator setFilter(SliceFilter<HColumn<N,V>> filter)
filter - Filter to determine which columns will be returnedCopyright © 2014. All Rights Reserved.