Package org.eigenbase.rel

Examples of org.eigenbase.rel.ValuesRel


    super(RelOptRule.any(ValuesRel.class, Convention.NONE), "DrillValuesRule");
  }

  @Override
  public void onMatch(RelOptRuleCall call) {
    final ValuesRel values = (ValuesRel) call.rel(0);
    final RelTraitSet traits = values.getTraitSet().plus(DrillRel.CONVENTION);
    call.transformTo(new DrillValuesRel(values.getCluster(), values.getRowType(), values.getTuples(), traits));
  }
View Full Code Here


    super(RelOptHelper.any(ValuesRel.class, Convention.NONE), "DrillValuesRule");
  }

  @Override
  public void onMatch(RelOptRuleCall call) {
    final ValuesRel values = (ValuesRel) call.rel(0);
    final RelTraitSet traits = values.getTraitSet().plus(DrillRel.DRILL_LOGICAL);
    call.transformTo(new DrillValuesRel(values.getCluster(), values.getRowType(), values.getTuples(), traits));
  }
View Full Code Here

    }

  @Override
  public void onMatch( RelOptRuleCall call )
    {
    final ValuesRel values = call.rel( 1 );

    RelTraitSet newTraits = values.getTraitSet().plus( Cascading.CONVENTION );

    call.transformTo(
      new CascadingValuesRel( values.getCluster(), newTraits, values.getRowType(), values.getTuples() )
    );
    }
View Full Code Here

TOP

Related Classes of org.eigenbase.rel.ValuesRel

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.