| FilterApi |
The Filter API is expressed through these static methods.
|
| LogicalInverseRewriter |
Recursively removes all use of the not() operator in a predicate
by replacing all instances of not(x) with the inverse(x),
eg: not(and(eq(), not(eq(y))) -> or(notEq(), eq(y))
The returned predicate should have the same meaning as the original, but
without the use of the not() operator.
|
| LogicalInverter |
|
| Operators |
These are the operators in a filter predicate expression tree.
|
| Operators.And |
|
| Operators.BinaryColumn |
|
| Operators.BooleanColumn |
|
| Operators.Column<T extends Comparable<T>> |
|
| Operators.DoubleColumn |
|
| Operators.Eq<T extends Comparable<T>> |
|
| Operators.FloatColumn |
|
| Operators.Gt<T extends Comparable<T>> |
|
| Operators.GtEq<T extends Comparable<T>> |
|
| Operators.In<T extends Comparable<T>> |
|
| Operators.IntColumn |
|
| Operators.LogicalNotUserDefined<T extends Comparable<T>,U extends UserDefinedPredicate<T>> |
|
| Operators.LongColumn |
|
| Operators.Lt<T extends Comparable<T>> |
|
| Operators.LtEq<T extends Comparable<T>> |
|
| Operators.Not |
|
| Operators.NotEq<T extends Comparable<T>> |
|
| Operators.NotIn<T extends Comparable<T>> |
|
| Operators.Or |
|
| Operators.SetColumnFilterPredicate<T extends Comparable<T>> |
|
| Operators.UserDefined<T extends Comparable<T>,U extends UserDefinedPredicate<T>> |
|
| Operators.UserDefinedByClass<T extends Comparable<T>,U extends UserDefinedPredicate<T>> |
|
| Operators.UserDefinedByInstance<T extends Comparable<T>,U extends UserDefinedPredicate<T> & Serializable> |
|
| PrimitiveToBoxedClass |
Converts a Class<primitive> to it's corresponding Class<Boxed>, eg
Class<int> to Class<Integer>
|
| SchemaCompatibilityValidator |
Inspects the column types found in the provided FilterPredicate and compares them
to the actual schema found in the parquet file.
|
| Statistics<T> |
Contains statistics about a group of records
|
| UserDefinedPredicate<T extends Comparable<T>> |
A UserDefinedPredicate decides whether a record should be kept or dropped, first by
inspecting meta data about a group of records to see if the entire group can be dropped,
then by inspecting actual values of a single column.
|
| ValidTypeMap |
Contains all valid mappings from class -> parquet type (and vice versa) for use in
FilterPredicates
This is a bit ugly, but it allows us to provide good error messages at runtime
when there are type mismatches.
|