Package org.eigenbase.relopt

Examples of org.eigenbase.relopt.RelTraitSet


  @Override
  public void onMatch( RelOptRuleCall call )
    {
    FilterRel rel = call.rel( 0 );

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

    call.transformTo(
      new CascadingFilterRel(
        rel.getCluster(),
        newTraits,
View Full Code Here


  @Override
  public void onMatch( RelOptRuleCall call )
    {
    AggregateRel rel = call.rel( 0 );

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

    call.transformTo( new CascadingAggregateRel(
      rel.getCluster(),
      newTraits,
      convert( rel.getChild(), newTraits ),
View Full Code Here

  public void onMatch( RelOptRuleCall call )
    {
    CascadingTableModificationRel modificationRel = call.rel( 0 );
    CascadingValuesRel valuesRel = call.rel( 2 );

    RelTraitSet newTraits = modificationRel.getTraitSet().plus( CONVENTION );
    RelOptCluster cluster = modificationRel.getCluster();

    RelDataType rowType = modificationRel.getRowType();

    RelOptTable table = modificationRel.getTable();
View Full Code Here

    // Cascading sort does not implement limits
    if( rel.offset != null || rel.fetch != null )
      return;

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

    call.transformTo( new CascadingSortRel(
      rel.getCluster(),
      newTraits,
      convert( rel.getChild(), newTraits ),
View Full Code Here

TOP

Related Classes of org.eigenbase.relopt.RelTraitSet

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.