public abstract static class Projections.ProjectionEvaluator extends ExpressionVisitors.ExpressionVisitor<Expression>
partition spec
.
There are two types of projections: inclusive and strict.
An inclusive projection guarantees that if an expression matches a row, the projected expression will match the row's partition.
A strict projection guarantees that if a partition matches a projected expression, then all rows in that partition will match the original expression.
Constructor and Description |
---|
ProjectionEvaluator() |
Modifier and Type | Method and Description |
---|---|
abstract Expression |
project(Expression expr)
Project the given row expression to a partition expression.
|
alwaysFalse, alwaysTrue, and, not, or, predicate, predicate
public abstract Expression project(Expression expr)
expr
- an expression on data rows