Package org.eigenbase.rel

Examples of org.eigenbase.rel.TableModificationRel


    }

  @Override
  public RelNode convert( RelNode rel )
    {
    final TableModificationRel modificationRel = (TableModificationRel) rel;

    final RelNode convertedChild = convert(
      modificationRel.getChild(),
      modificationRel.getTraitSet().replace( CONVENTION ) );

    if( convertedChild == null )
      return null; // We can't convert the child, so we can't convert rel.

    return new CascadingTableModificationRel(
      modificationRel.getCluster(),
      modificationRel.getTraitSet()
        .plus( CONVENTION ),
      modificationRel.getTable(),
      modificationRel.getCatalogReader(),
      convertedChild,
      modificationRel.getOperation(),
      modificationRel.getUpdateColumnList(),
      modificationRel.isFlattened() );
    }
View Full Code Here

TOP

Related Classes of org.eigenbase.rel.TableModificationRel

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.