Java Code Examples for org.apache.calcite.rel.core.RelFactories#SetOpFactory

The following examples show how to use org.apache.calcite.rel.core.RelFactories#SetOpFactory . 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: AggregateUnionTransposeRule.java    From Bats with Apache License 2.0 5 votes vote down vote up
@Deprecated // to be removed before 2.0
public AggregateUnionTransposeRule(Class<? extends Aggregate> aggregateClass,
    RelFactories.AggregateFactory aggregateFactory,
    Class<? extends Union> unionClass,
    RelFactories.SetOpFactory setOpFactory) {
  this(aggregateClass, unionClass,
      RelBuilder.proto(aggregateFactory, setOpFactory));
}
 
Example 2
Source File: AggregateUnionAggregateRule.java    From Bats with Apache License 2.0 5 votes vote down vote up
@Deprecated // to be removed before 2.0
public AggregateUnionAggregateRule(Class<? extends Aggregate> aggregateClass,
    RelFactories.AggregateFactory aggregateFactory,
    Class<? extends Union> unionClass,
    RelFactories.SetOpFactory setOpFactory) {
  this(aggregateClass, unionClass, RelNode.class, RelNode.class,
      RelBuilder.proto(aggregateFactory, setOpFactory),
      "AggregateUnionAggregateRule");
}
 
Example 3
Source File: RelFieldTrimmer.java    From Bats with Apache License 2.0 5 votes vote down vote up
@Deprecated // to be removed before 2.0
public RelFieldTrimmer(SqlValidator validator, RelOptCluster cluster, RelFactories.ProjectFactory projectFactory,
        RelFactories.FilterFactory filterFactory, RelFactories.JoinFactory joinFactory,
        RelFactories.SemiJoinFactory semiJoinFactory, RelFactories.SortFactory sortFactory,
        RelFactories.AggregateFactory aggregateFactory, RelFactories.SetOpFactory setOpFactory) {
    this(validator, RelBuilder.proto(projectFactory, filterFactory, joinFactory, semiJoinFactory, sortFactory,
            aggregateFactory, setOpFactory).create(cluster, null));
}
 
Example 4
Source File: AggregateUnionTransposeRule.java    From calcite with Apache License 2.0 5 votes vote down vote up
@Deprecated // to be removed before 2.0
public AggregateUnionTransposeRule(Class<? extends Aggregate> aggregateClass,
    RelFactories.AggregateFactory aggregateFactory,
    Class<? extends Union> unionClass,
    RelFactories.SetOpFactory setOpFactory) {
  this(aggregateClass, unionClass,
      RelBuilder.proto(aggregateFactory, setOpFactory));
}
 
Example 5
Source File: AggregateUnionAggregateRule.java    From calcite with Apache License 2.0 5 votes vote down vote up
@Deprecated // to be removed before 2.0
public AggregateUnionAggregateRule(Class<? extends Aggregate> aggregateClass,
    RelFactories.AggregateFactory aggregateFactory,
    Class<? extends Union> unionClass,
    RelFactories.SetOpFactory setOpFactory) {
  this(aggregateClass, unionClass, RelNode.class, RelNode.class,
      RelBuilder.proto(aggregateFactory, setOpFactory),
      "AggregateUnionAggregateRule");
}
 
Example 6
Source File: RelFieldTrimmer.java    From calcite with Apache License 2.0 5 votes vote down vote up
@Deprecated // to be removed before 2.0
public RelFieldTrimmer(SqlValidator validator,
    RelOptCluster cluster,
    RelFactories.ProjectFactory projectFactory,
    RelFactories.FilterFactory filterFactory,
    RelFactories.JoinFactory joinFactory,
    RelFactories.SortFactory sortFactory,
    RelFactories.AggregateFactory aggregateFactory,
    RelFactories.SetOpFactory setOpFactory) {
  this(validator,
      RelBuilder.proto(projectFactory, filterFactory, joinFactory,
          sortFactory, aggregateFactory, setOpFactory)
      .create(cluster, null));
}
 
Example 7
Source File: UnionMergeRule.java    From Bats with Apache License 2.0 4 votes vote down vote up
@Deprecated // to be removed before 2.0
public UnionMergeRule(Class<? extends Union> unionClazz,
    RelFactories.SetOpFactory setOpFactory) {
  this(unionClazz, null, RelBuilder.proto(setOpFactory));
}
 
Example 8
Source File: UnionToDistinctRule.java    From Bats with Apache License 2.0 4 votes vote down vote up
@Deprecated // to be removed before 2.0
public UnionToDistinctRule(Class<? extends Union> unionClazz,
    RelFactories.SetOpFactory setOpFactory) {
  this(unionClazz, RelBuilder.proto(setOpFactory));
}
 
Example 9
Source File: UnionMergeRule.java    From calcite with Apache License 2.0 4 votes vote down vote up
@Deprecated // to be removed before 2.0
public UnionMergeRule(Class<? extends Union> unionClazz,
    RelFactories.SetOpFactory setOpFactory) {
  this(unionClazz, null, RelBuilder.proto(setOpFactory));
}
 
Example 10
Source File: UnionToDistinctRule.java    From calcite with Apache License 2.0 4 votes vote down vote up
@Deprecated // to be removed before 2.0
public UnionToDistinctRule(Class<? extends Union> unionClazz,
    RelFactories.SetOpFactory setOpFactory) {
  this(unionClazz, RelBuilder.proto(setOpFactory));
}