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

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

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

RelOptUtil.createDmlRowType介绍

[英]Creates the row type descriptor for the result of a DML operation, which is a single column named ROWCOUNT of type BIGINT for INSERT; a single column named PLAN for EXPLAIN.
[中]为DML操作的结果创建行类型描述符,该描述符是一个名为ROWCOUNT的单列,类型为BIGINT for INSERT;一个名为PLAN for EXPLAIN的列。

代码示例

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

@Override public RelDataType deriveRowType() {
 return RelOptUtil.createDmlRowType(
   SqlKind.INSERT, getCluster().getTypeFactory());
}

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

@Override public RelDataType deriveRowType() {
 return RelOptUtil.createDmlRowType(
   SqlKind.INSERT, getCluster().getTypeFactory());
}

代码示例来源:origin: qubole/quark

case INSERT:
case EXPLAIN:
 x = RelOptUtil.createDmlRowType(result.getKind(), typeFactory);
 break;
case OTHER_DDL:

代码示例来源:origin: org.apache.kylin/atopcalcite

case EXPLAIN:
 x = RelOptUtil.createDmlRowType(sqlNode.getKind(), typeFactory);
 break;
default:

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

case EXPLAIN:
 x = RelOptUtil.createDmlRowType(sqlNode.getKind(), typeFactory);
 break;
default:

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

case EXPLAIN:
 x = RelOptUtil.createDmlRowType(sqlNode.getKind(), typeFactory);
 break;
default:

相关文章

微信公众号

最新文章

更多

RelOptUtil类方法