Package cascading.lingual.optiq.meta

Examples of cascading.lingual.optiq.meta.TableHolder


    if( pref == Prefer.CUSTOM )
      throw new RuntimeException( "cannot return custom format" );

    final PhysType physType = PhysTypeImpl.of( implementor.getTypeFactory(), table.getRowType(), JavaRowFormat.ARRAY );

    TableHolder tableHolder = new TableHolder( physType, tableDef, getPlatformBroker(), planner );
    long ordinal = CascadingTapEnumerable.addHolder( tableHolder );
    Constructor<CascadingTapEnumerable> constructor = CascadingEnumerableRel.getConstructorFor( CascadingTapEnumerable.class );

    BlockStatement block = new BlockBuilder().append( Expressions.new_( constructor, Expressions.constant( ordinal ) ) ).toBlock();
    return implementor.result( physType, block );
View Full Code Here

TOP

Related Classes of cascading.lingual.optiq.meta.TableHolder

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.