Package | Description |
---|---|
org.apache.calcite.rex |
Provides a language for representing row-expressions.
|
Modifier and Type | Method and Description |
---|---|
private RexSimplify.CaseBranch |
RexSimplify.generateBranch(boolean simplifyCond,
RexSimplify simplifier,
RexSimplify.CaseBranch branch)
If boolean is true, simplify cond in input branch and return new branch.
|
Modifier and Type | Method and Description |
---|---|
private static java.util.List<RexSimplify.CaseBranch> |
RexSimplify.CaseBranch.fromCaseOperands(RexBuilder rexBuilder,
java.util.List<RexNode> operands)
Given "CASE WHEN p1 THEN v1 ...
|
Modifier and Type | Method and Description |
---|---|
private RexSimplify.CaseBranch |
RexSimplify.generateBranch(boolean simplifyCond,
RexSimplify simplifier,
RexSimplify.CaseBranch branch)
If boolean is true, simplify cond in input branch and return new branch.
|
Modifier and Type | Method and Description |
---|---|
private static RexNode |
RexSimplify.simplifyBooleanCase(RexBuilder rexBuilder,
java.util.List<RexSimplify.CaseBranch> inputBranches,
RexUnknownAs unknownAs,
RelDataType branchType) |
private static RexNode |
RexSimplify.simplifyBooleanCaseGeneric(RexBuilder rexBuilder,
java.util.List<RexSimplify.CaseBranch> branches,
RelDataType outputType)
Generic boolean case simplification.
|
private static java.util.List<RexNode> |
RexSimplify.CaseBranch.toCaseOperands(RexBuilder rexBuilder,
java.util.List<RexSimplify.CaseBranch> branches) |
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.