org.apache.calcite.plan.RelOptUtil.correlationColumns()方法的使用及代码示例

x33g5p2x  于2022-01-29 转载在 其他  
字(1.6k)|赞(0)|评价(0)|浏览(57)

本文整理了Java中org.apache.calcite.plan.RelOptUtil.correlationColumns方法的一些代码示例,展示了RelOptUtil.correlationColumns的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。RelOptUtil.correlationColumns方法的具体详情如下:
包路径:org.apache.calcite.plan.RelOptUtil
类名称:RelOptUtil
方法名:correlationColumns

RelOptUtil.correlationColumns介绍

[英]Finds which columns of a correlation variable are used within a relational expression.
[中]查找关系表达式中使用的相关变量的哪些列。

代码示例

代码示例来源:origin: apache/hive

final CorrelationId id = Iterables.getOnlyElement(variablesSet);
final ImmutableBitSet requiredColumns =
  RelOptUtil.correlationColumns(id, right.rel);
if (!RelOptUtil.notContainsCorrelation(left.rel, id, Litmus.IGNORE)) {
 throw new IllegalArgumentException("variable " + id

代码示例来源:origin: apache/drill

final CorrelationId id = Iterables.getOnlyElement(variablesSet);
final ImmutableBitSet requiredColumns =
    RelOptUtil.correlationColumns(id, right.rel);
if (!RelOptUtil.notContainsCorrelation(left.rel, id, Litmus.IGNORE)) {
 throw new IllegalArgumentException("variable " + id

代码示例来源:origin: Qihoo360/Quicksql

final CorrelationId id = Iterables.getOnlyElement(variablesSet);
final ImmutableBitSet requiredColumns =
  RelOptUtil.correlationColumns(id, right.rel);
if (!RelOptUtil.notContainsCorrelation(left.rel, id, Litmus.IGNORE)) {
 throw new IllegalArgumentException("variable " + id

代码示例来源:origin: org.apache.calcite/calcite-core

final CorrelationId id = Iterables.getOnlyElement(variablesSet);
final ImmutableBitSet requiredColumns =
  RelOptUtil.correlationColumns(id, right.rel);
if (!RelOptUtil.notContainsCorrelation(left.rel, id, Litmus.IGNORE)) {
 throw new IllegalArgumentException("variable " + id

相关文章

微信公众号

最新文章

更多

RelOptUtil类方法