Search in sources :

Example 11 with IteratorToSortedKeyValueIterator

use of datawave.query.util.IteratorToSortedKeyValueIterator in project datawave by NationalSecurityAgency.

the class AncestorChildExpansionIteratorTest method setup.

@Before
public void setup() {
    baseValues = new ArrayList<>();
    equality = new AncestorEquality();
    baseIterator = new IteratorToSortedKeyValueIterator(baseValues.iterator());
    iterator = new AncestorChildExpansionIterator(baseIterator, children, equality);
}
Also used : IteratorToSortedKeyValueIterator(datawave.query.util.IteratorToSortedKeyValueIterator) AncestorEquality(datawave.query.function.AncestorEquality) Before(org.junit.Before)

Aggregations

IteratorToSortedKeyValueIterator (datawave.query.util.IteratorToSortedKeyValueIterator)11 Key (org.apache.accumulo.core.data.Key)9 Value (org.apache.accumulo.core.data.Value)9 Range (org.apache.accumulo.core.data.Range)7 AbstractMap (java.util.AbstractMap)5 Test (org.junit.Test)5 PartialKey (org.apache.accumulo.core.data.PartialKey)4 IdentifierOpLiteral (datawave.query.jexl.JexlASTHelper.IdentifierOpLiteral)2 LiteralRange (datawave.query.jexl.LiteralRange)2 IOException (java.io.IOException)2 Entry (java.util.Map.Entry)2 DatawaveKey (datawave.query.data.parsers.DatawaveKey)1 AncestorEquality (datawave.query.function.AncestorEquality)1 IndexIteratorBuilder (datawave.query.iterator.builder.IndexIteratorBuilder)1 Before (org.junit.Before)1