本文整理汇总了Java中org.apache.calcite.rel.logical.LogicalProject.getRowType方法的典型用法代码示例。如果您正苦于以下问题:Java LogicalProject.getRowType方法的具体用法?Java LogicalProject.getRowType怎么用?Java LogicalProject.getRowType使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.apache.calcite.rel.logical.LogicalProject
的用法示例。
在下文中一共展示了LogicalProject.getRowType方法的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: convert
import org.apache.calcite.rel.logical.LogicalProject; //导入方法依赖的package包/类
public RelNode convert(RelNode rel) {
final LogicalProject project = (LogicalProject) rel;
return new JdbcProject(
rel.getCluster(),
rel.getTraitSet().replace(getOut()),
convert(
project.getInput(),
project.getInput().getTraitSet().replace(getOut())),
project.getProjects(),
project.getRowType());
}
示例2: onMatch
import org.apache.calcite.rel.logical.LogicalProject; //导入方法依赖的package包/类
@Override
public void onMatch(RelOptRuleCall call) {
LogicalProject project = call.rel(0);
RelTraitSet origTraitSet = project.getTraitSet();
RelTraitSet traitSet = origTraitSet.replace(OLAPRel.CONVENTION).simplify();
OLAPProjectRel olapProj = new OLAPProjectRel(project.getCluster(), traitSet, //
convert(project.getInput(), traitSet), project.getProjects(), project.getRowType());
call.transformTo(olapProj);
}
示例3: convert
import org.apache.calcite.rel.logical.LogicalProject; //导入方法依赖的package包/类
public RelNode convert(RelNode rel) {
final LogicalProject project = (LogicalProject) rel;
final RelTraitSet traitSet = project.getTraitSet().replace(out);
return new CassandraProject(project.getCluster(), traitSet,
convert(project.getInput(), out), project.getProjects(),
project.getRowType());
}
示例4: convert
import org.apache.calcite.rel.logical.LogicalProject; //导入方法依赖的package包/类
public RelNode convert(RelNode rel) {
final LogicalProject project = (LogicalProject) rel;
final RelTraitSet traitSet = project.getTraitSet().replace(out);
return new MongoProject(project.getCluster(), traitSet,
convert(project.getInput(), out), project.getProjects(),
project.getRowType());
}
示例5: convert
import org.apache.calcite.rel.logical.LogicalProject; //导入方法依赖的package包/类
public RelNode convert(RelNode rel) {
final LogicalProject project = (LogicalProject) rel;
return new JdbcProject(
rel.getCluster(),
rel.getTraitSet().replace(out),
convert(
project.getInput(),
project.getInput().getTraitSet().replace(out)),
project.getProjects(),
project.getRowType());
}
示例6: convert
import org.apache.calcite.rel.logical.LogicalProject; //导入方法依赖的package包/类
public RelNode convert(RelNode rel) {
final LogicalProject project = (LogicalProject) rel;
return new BindableProject(rel.getCluster(),
rel.getTraitSet().replace(BindableConvention.INSTANCE),
convert(project.getInput(),
project.getInput().getTraitSet()
.replace(BindableConvention.INSTANCE)),
project.getProjects(),
project.getRowType());
}
示例7: convert
import org.apache.calcite.rel.logical.LogicalProject; //导入方法依赖的package包/类
public RelNode convert(RelNode rel) {
LogicalProject project = (LogicalProject) rel;
return new JdbcRules.JdbcProject(rel.getCluster(), rel.getTraitSet().replace(this.out), convert(
project.getInput(), project.getInput().getTraitSet().replace(this.out)), project.getProjects(),
project.getRowType());
}
示例8: convert
import org.apache.calcite.rel.logical.LogicalProject; //导入方法依赖的package包/类
public RelNode convert(RelNode rel) {
final LogicalProject project = (LogicalProject) rel;
final RelTraitSet traitSet = project.getTraitSet().replace(PigRel.CONVENTION);
return new PigProject(project.getCluster(), traitSet, project.getInput(),
project.getProjects(), project.getRowType());
}
示例9: convert
import org.apache.calcite.rel.logical.LogicalProject; //导入方法依赖的package包/类
@Override public RelNode convert(RelNode relNode) {
final LogicalProject project = (LogicalProject) relNode;
final RelTraitSet traitSet = project.getTraitSet().replace(out);
return new ElasticsearchProject(project.getCluster(), traitSet,
convert(project.getInput(), out), project.getProjects(), project.getRowType());
}