public final class SortExpressionExtractor extends Object
SortedPositionLinks from join filter expression.
Currently this class can extract sort and search expressions from filter function conjuncts of shape:
A.a < f(B.x, B.y, B.z) or f(B.x, B.y, B.z) < A.a
where a is the build side symbol reference and x,y,z are probe
side symbol references. Any of inequality operators (<,<=,>,>=) can be used.
Same build side symbol need to be used in all conjuncts.
| Modifier and Type | Method and Description |
|---|---|
static Optional<SortExpressionContext> |
extractSortExpression(Set<Symbol> buildSymbols,
Expression filter) |
public static Optional<SortExpressionContext> extractSortExpression(Set<Symbol> buildSymbols, Expression filter)
Copyright © 2012–2019. All rights reserved.