Java Code Examples for org.apache.calcite.plan.ConventionTraitDef#INSTANCE

The following examples show how to use org.apache.calcite.plan.ConventionTraitDef#INSTANCE . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: NoneConverter.java    From Bats with Apache License 2.0 5 votes vote down vote up
public NoneConverter(
    RelOptCluster cluster,
    RelNode child) {
  super(
      cluster,
      ConventionTraitDef.INSTANCE,
      cluster.traitSetOf(Convention.NONE),
      child);
}
 
Example 2
Source File: VolcanoPlannerTraitTest.java    From calcite with Apache License 2.0 5 votes vote down vote up
PhysToIteratorConverter(
    RelOptCluster cluster,
    RelNode child) {
  super(
      cluster,
      ConventionTraitDef.INSTANCE,
      child.getTraitSet().replace(EnumerableConvention.INSTANCE),
      child);
}
 
Example 3
Source File: GremlinTraversalToEnumerableRelConverter.java    From sql-gremlin with Apache License 2.0 5 votes vote down vote up
public GremlinTraversalToEnumerableRelConverter (
        RelOptCluster cluster,
        RelTraitSet traits,
        RelNode input, RelDataType rowType) {
    super(cluster, ConventionTraitDef.INSTANCE, traits, input);
    this.rowType = rowType;
}
 
Example 4
Source File: NoneConverter.java    From calcite with Apache License 2.0 5 votes vote down vote up
public NoneConverter(
    RelOptCluster cluster,
    RelNode child) {
  super(
      cluster,
      ConventionTraitDef.INSTANCE,
      cluster.traitSetOf(Convention.NONE),
      child);
}
 
Example 5
Source File: VolcanoPlannerTest.java    From calcite with Apache License 2.0 5 votes vote down vote up
PhysToIteratorConverter(
    RelOptCluster cluster,
    RelNode child) {
  super(
      cluster,
      ConventionTraitDef.INSTANCE,
      cluster.traitSetOf(EnumerableConvention.INSTANCE),
      child);
}
 
Example 6
Source File: PigToEnumerableConverter.java    From calcite with Apache License 2.0 5 votes vote down vote up
/** Creates a PigToEnumerableConverter. */
protected PigToEnumerableConverter(
    RelOptCluster cluster,
    RelTraitSet traits,
    RelNode input) {
  super(cluster, ConventionTraitDef.INSTANCE, traits, input);
}
 
Example 7
Source File: InterpretableConverter.java    From calcite with Apache License 2.0 4 votes vote down vote up
protected InterpretableConverter(RelOptCluster cluster, RelTraitSet traits,
    RelNode input) {
  super(cluster, ConventionTraitDef.INSTANCE, traits, input);
}
 
Example 8
Source File: EnumerableInterpretable.java    From calcite with Apache License 2.0 4 votes vote down vote up
protected EnumerableInterpretable(RelOptCluster cluster, RelNode input) {
  super(cluster, ConventionTraitDef.INSTANCE,
      cluster.traitSetOf(InterpretableConvention.INSTANCE), input);
}
 
Example 9
Source File: EnumerableBindable.java    From calcite with Apache License 2.0 4 votes vote down vote up
protected EnumerableBindable(RelOptCluster cluster, RelNode input) {
  super(cluster, ConventionTraitDef.INSTANCE,
      cluster.traitSetOf(BindableConvention.INSTANCE), input);
}
 
Example 10
Source File: JdbcToEnumerableConverter.java    From calcite with Apache License 2.0 4 votes vote down vote up
protected JdbcToEnumerableConverter(
    RelOptCluster cluster,
    RelTraitSet traits,
    RelNode input) {
  super(cluster, ConventionTraitDef.INSTANCE, traits, input);
}
 
Example 11
Source File: MongoToEnumerableConverter.java    From calcite with Apache License 2.0 4 votes vote down vote up
protected MongoToEnumerableConverter(
    RelOptCluster cluster,
    RelTraitSet traits,
    RelNode input) {
  super(cluster, ConventionTraitDef.INSTANCE, traits, input);
}
 
Example 12
Source File: ElasticsearchToEnumerableConverter.java    From calcite with Apache License 2.0 4 votes vote down vote up
ElasticsearchToEnumerableConverter(RelOptCluster cluster, RelTraitSet traits,
    RelNode input) {
  super(cluster, ConventionTraitDef.INSTANCE, traits, input);
}
 
Example 13
Source File: CassandraToEnumerableConverter.java    From calcite with Apache License 2.0 4 votes vote down vote up
protected CassandraToEnumerableConverter(
    RelOptCluster cluster,
    RelTraitSet traits,
    RelNode input) {
  super(cluster, ConventionTraitDef.INSTANCE, traits, input);
}
 
Example 14
Source File: JdbcToSparkConverter.java    From calcite with Apache License 2.0 4 votes vote down vote up
protected JdbcToSparkConverter(RelOptCluster cluster, RelTraitSet traits,
    RelNode input) {
  super(cluster, ConventionTraitDef.INSTANCE, traits, input);
}
 
Example 15
Source File: EnumerableToSparkConverter.java    From calcite with Apache License 2.0 4 votes vote down vote up
protected EnumerableToSparkConverter(RelOptCluster cluster,
    RelTraitSet traits, RelNode input) {
  super(cluster, ConventionTraitDef.INSTANCE, traits, input);
}
 
Example 16
Source File: SparkToEnumerableConverter.java    From calcite with Apache License 2.0 4 votes vote down vote up
protected SparkToEnumerableConverter(RelOptCluster cluster,
    RelTraitSet traits,
    RelNode input) {
  super(cluster, ConventionTraitDef.INSTANCE, traits, input);
}
 
Example 17
Source File: OLAPToEnumerableConverter.java    From kylin with Apache License 2.0 4 votes vote down vote up
public OLAPToEnumerableConverter(RelOptCluster cluster, RelTraitSet traits, RelNode input) {
    super(cluster, ConventionTraitDef.INSTANCE, traits, input);
}
 
Example 18
Source File: MycatToEnumerableConverter.java    From Mycat2 with GNU General Public License v3.0 4 votes vote down vote up
protected MycatToEnumerableConverter(RelOptCluster cluster,  RelTraitSet traits, RelNode child) {
    super(cluster, ConventionTraitDef.INSTANCE, traits, child);
}
 
Example 19
Source File: ElasticsearchToEnumerableConverter.java    From dk-fitting with Apache License 2.0 4 votes vote down vote up
public ElasticsearchToEnumerableConverter(RelOptCluster cluster, RelTraitSet traitSet, RelNode child) {
    super(cluster, ConventionTraitDef.INSTANCE, traitSet, child);
}
 
Example 20
Source File: OLAPToEnumerableConverter.java    From kylin-on-parquet-v2 with Apache License 2.0 4 votes vote down vote up
public OLAPToEnumerableConverter(RelOptCluster cluster, RelTraitSet traits, RelNode input) {
    super(cluster, ConventionTraitDef.INSTANCE, traits, input);
}