public class FilterIteratorFactory
extends java.lang.Object
Constructor and Description |
---|
FilterIteratorFactory() |
Modifier and Type | Method and Description |
---|---|
protected static IntIterator |
getAndIterator(Table t,
AndPredicate ap) |
protected static IntIterator |
getColumnIterator(Table t,
java.lang.String field,
boolean val) |
protected static IntIterator |
getComparisonIterator(Table t,
ComparisonPredicate cp) |
protected static IntIterator |
getOptimizedIterator(Table t,
Predicate p)
Get an optimized iterator over the rows of a table, if possible.
|
protected static IntIterator |
getOrIterator(Table t,
OrPredicate op) |
protected static IntIterator |
getRangeIterator(Table t,
RangePredicate rp) |
static IntIterator |
rows(Table t,
Predicate p)
Get a filtered iterator over the rows in the given table,
filtered by the given predicate.
|
static java.util.Iterator |
tuples(TupleSet ts,
Predicate p)
Get a filtered iterator over the tuples in the given set,
filtered by the given predicate.
|
public static java.util.Iterator tuples(TupleSet ts, Predicate p)
ts
- the TupleSet to iterate overp
- the filter predicatepublic static IntIterator rows(Table t, Predicate p)
t
- the Table to iterate overp
- the filter predicateprotected static IntIterator getOptimizedIterator(Table t, Predicate p)
t
- the Table to iterator overp
- the filter predicateprotected static IntIterator getColumnIterator(Table t, java.lang.String field, boolean val)
protected static IntIterator getOrIterator(Table t, OrPredicate op)
protected static IntIterator getAndIterator(Table t, AndPredicate ap)
protected static IntIterator getComparisonIterator(Table t, ComparisonPredicate cp)
protected static IntIterator getRangeIterator(Table t, RangePredicate rp)
Copyright ? 2013 Regents of the University of California