Java Code Examples for org.apache.kylin.metadata.filter.LogicalTupleFilter#getOperator()
The following examples show how to use
org.apache.kylin.metadata.filter.LogicalTupleFilter#getOperator() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: InvertIndexSearcher.java From kylin-on-parquet-v2 with Apache License 2.0 | 5 votes |
private EvalResult doEvalLogical(LogicalTupleFilter filter) { List<? extends TupleFilter> children = filter.getChildren(); switch (filter.getOperator()) { case AND: return doEvalLogicalAnd(children); case OR: return doEvalLogicalOr(children); case NOT: return doEvalLogicalNot(children); default: throw new IllegalStateException("Unsupported operator " + filter.getOperator()); } }
Example 2
Source File: InvertIndexSearcher.java From kylin with Apache License 2.0 | 5 votes |
private EvalResult doEvalLogical(LogicalTupleFilter filter) { List<? extends TupleFilter> children = filter.getChildren(); switch (filter.getOperator()) { case AND: return doEvalLogicalAnd(children); case OR: return doEvalLogicalOr(children); case NOT: return doEvalLogicalNot(children); default: throw new IllegalStateException("Unsupported operator " + filter.getOperator()); } }
Example 3
Source File: BitMapFilterEvaluator.java From Kylin with Apache License 2.0 | 5 votes |
private ConciseSet evalLogical(LogicalTupleFilter filter) { List<? extends TupleFilter> children = filter.getChildren(); switch (filter.getOperator()) { case AND: return evalLogicalAnd(children); case OR: return evalLogicalOr(children); case NOT: return evalLogicalNot(children); default: throw new IllegalStateException("Unsupported operator " + filter.getOperator()); } }