use of datawave.query.function.AncestorEquality in project datawave by NationalSecurityAgency.
the class AncestorQueryIterator method validateOptions.
@Override
public boolean validateOptions(Map<String, String> options) {
boolean success = super.validateOptions(options);
super.equality = new AncestorEquality();
// we need the hit list arithmetic in any case (see getJexlEvaluation below)
super.arithmetic = new HitListArithmetic(false);
return success;
}
use of datawave.query.function.AncestorEquality 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);
}
Aggregations