本文整理了Java中org.apache.calcite.plan.RelOptUtil.notContainsCorrelation
方法的一些代码示例,展示了RelOptUtil.notContainsCorrelation
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。RelOptUtil.notContainsCorrelation
方法的具体详情如下:
包路径:org.apache.calcite.plan.RelOptUtil
类名称:RelOptUtil
方法名:notContainsCorrelation
[英]Returns true, and calls Litmus#succeed() if a given relational expression does not contain a given correlation.
[中]返回true,如果给定的关系表达式不包含给定的相关性,则调用Litmus#succeed()。
代码示例来源:origin: apache/hive
final ImmutableBitSet requiredColumns =
RelOptUtil.correlationColumns(id, right.rel);
if (!RelOptUtil.notContainsCorrelation(left.rel, id, Litmus.IGNORE)) {
throw new IllegalArgumentException("variable " + id
+ " must not be used by left input to correlation");
代码示例来源:origin: apache/drill
final ImmutableBitSet requiredColumns =
RelOptUtil.correlationColumns(id, right.rel);
if (!RelOptUtil.notContainsCorrelation(left.rel, id, Litmus.IGNORE)) {
throw new IllegalArgumentException("variable " + id
+ " must not be used by left input to correlation");
代码示例来源:origin: org.apache.calcite/calcite-core
@Override public boolean isValid(Litmus litmus, Context context) {
return super.isValid(litmus, context)
&& RelOptUtil.notContainsCorrelation(left, correlationId, litmus);
}
代码示例来源:origin: Qihoo360/Quicksql
@Override public boolean isValid(Litmus litmus, Context context) {
return super.isValid(litmus, context)
&& RelOptUtil.notContainsCorrelation(left, correlationId, litmus);
}
代码示例来源:origin: Qihoo360/Quicksql
final ImmutableBitSet requiredColumns =
RelOptUtil.correlationColumns(id, right.rel);
if (!RelOptUtil.notContainsCorrelation(left.rel, id, Litmus.IGNORE)) {
throw new IllegalArgumentException("variable " + id
+ " must not be used by left input to correlation");
代码示例来源:origin: org.apache.calcite/calcite-core
final ImmutableBitSet requiredColumns =
RelOptUtil.correlationColumns(id, right.rel);
if (!RelOptUtil.notContainsCorrelation(left.rel, id, Litmus.IGNORE)) {
throw new IllegalArgumentException("variable " + id
+ " must not be used by left input to correlation");
内容来源于网络,如有侵权,请联系作者删除!