本文整理了Java中org.apache.calcite.plan.RelOptUtil.createDmlRowType
方法的一些代码示例,展示了RelOptUtil.createDmlRowType
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。RelOptUtil.createDmlRowType
方法的具体详情如下:
包路径:org.apache.calcite.plan.RelOptUtil
类名称: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:
内容来源于网络,如有侵权,请联系作者删除!