public class IteratorTestInput extends Object
SortedKeyValueIterator.| Constructor and Description |
|---|
IteratorTestInput(Class<? extends SortedKeyValueIterator<Key,Value>> iteratorClass,
Map<String,String> iteratorOptions,
Range range,
SortedMap<Key,Value> input)
Construct an instance of the test input.
|
IteratorTestInput(Class<? extends SortedKeyValueIterator<Key,Value>> iteratorClass,
Map<String,String> iteratorOptions,
Range range,
SortedMap<Key,Value> input,
Collection<ByteSequence> families,
boolean inclusive)
Construct an instance of the test input.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Collection<ByteSequence> |
getFamilies() |
SortedMap<Key,Value> |
getInput() |
Class<? extends SortedKeyValueIterator<Key,Value>> |
getIteratorClass() |
Map<String,String> |
getIteratorOptions() |
Range |
getRange() |
int |
hashCode() |
boolean |
isInclusive() |
String |
toString() |
public IteratorTestInput(Class<? extends SortedKeyValueIterator<Key,Value>> iteratorClass, Map<String,String> iteratorOptions, Range range, SortedMap<Key,Value> input)
iteratorClass - The class for the iterator to test.iteratorOptions - Options, if any, to provide to the iterator (IteratorSetting's Map of
properties).range - The Range of data to query (Scanner.setRange(Range)). By default no column
families filter is specified.input - A sorted collection of Key-Value pairs acting as the table.public IteratorTestInput(Class<? extends SortedKeyValueIterator<Key,Value>> iteratorClass, Map<String,String> iteratorOptions, Range range, SortedMap<Key,Value> input, Collection<ByteSequence> families, boolean inclusive)
iteratorClass - The class for the iterator to test.iteratorOptions - Options, if any, to provide to the iterator (IteratorSetting's Map of
properties).range - The Range of data to query (Scanner.setRange(Range))input - A sorted collection of Key-Value pairs acting as the table.families - Column families passed to SortedKeyValueIterator.seek(org.apache.accumulo.core.data.Range, java.util.Collection<org.apache.accumulo.core.data.ByteSequence>, boolean).inclusive - Whether the families are inclusive or exclusive.public Class<? extends SortedKeyValueIterator<Key,Value>> getIteratorClass()
public Range getRange()
public Collection<ByteSequence> getFamilies()
public boolean isInclusive()
Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.