Package cascading.flow.planner.iso.expression

Examples of cascading.flow.planner.iso.expression.FlowElementExpression


    {
    super( SearchOrder.Depth, true );

    this.arc(
      or( ElementCapture.Primary,
        new FlowElementExpression( Tap.class ),
        new FlowElementExpression( Group.class )
      ),
      PathScopeExpression.ALL,
      or(
        new FlowElementExpression( Tap.class ),
        new FlowElementExpression( Group.class )
      )
    );
    }
View Full Code Here


    {
    super( SearchOrder.ReverseDepth,
      not(
        or(
          ElementCapture.Primary,
          new FlowElementExpression( Extent.class ),
          new FlowElementExpression( Group.class ),
          new FlowElementExpression( Tap.class )
        )
      )
    );
    }
View Full Code Here

    {
    super( SearchOrder.Depth );

    ElementExpression sink = or(
      ElementCapture.Secondary,
      new FlowElementExpression( Tap.class ),
      new FlowElementExpression( Group.class )
    );

    this.arc(
      new FlowElementExpression( ElementCapture.Primary, Tap.class ),
      PathScopeExpression.ALL_NON_BLOCKING,
      sink
    );

    this.arc(
      new FlowElementExpression( Tap.class ),
      PathScopeExpression.ANY_BLOCKING,
      sink
    );
    }
View Full Code Here

    super(
      new SyncPipeExpressionGraph(),

      new ExpressionGraph()
        .arc(
          new FlowElementExpression( Group.class ),
          PathScopeExpression.BLOCKING,
          new FlowElementExpression( HashJoin.class )
        ),

      new ExpressionGraph()
        .arc(
          new FlowElementExpression( ElementCapture.Primary, Pipe.class ),
          PathScopeExpression.BLOCKING,
          new FlowElementExpression( HashJoin.class )
        )
    );
    }
View Full Code Here

  public BalanceCheckpointWithTapExpression()
    {
    super(
      new ExpressionGraph()
        .arcs(
          new FlowElementExpression( ElementCapture.Primary, true, Checkpoint.class ),
          not( new FlowElementExpression( Tap.class ) )
        )
    );
    }
View Full Code Here

    super(
      new SyncPipeExpressionGraph(),

      new ExpressionGraph()
        .arc(
          new FlowElementExpression( HashJoin.class ),
          PathScopeExpression.ANY,
          new FlowElementExpression( HashJoin.class )
        ),

      new ExpressionGraph()
        .arc(
          new FlowElementExpression( ElementCapture.Primary, Pipe.class ),
          PathScopeExpression.ANY,
          new FlowElementExpression( HashJoin.class )
        )
    );
    }
View Full Code Here

        .arcs(
          GROUP,
          MERGE )
        .arcs(
          MERGE,
          new FlowElementExpression( Group.class ) ),

      new ExpressionGraph()
        .arcs(
          new FlowElementExpression( ElementCapture.Primary, Pipe.class ),
          new FlowElementExpression( Group.class )
        )
    );
    }
View Full Code Here

    super(
      new SplicePipeExpressionGraph(),

      new ExpressionGraph()
        .arcs(
          new FlowElementExpression( Group.class ),
          new FlowElementExpression( Merge.class ),
          new FlowElementExpression( Group.class ) ),

      new ExpressionGraph()
        .arc(
          new FlowElementExpression( ElementCapture.Primary, Pipe.class ),
          ScopeExpression.ANY,
          new FlowElementExpression( Merge.class )
        )
    );
    }
View Full Code Here

    {
    super(
      new SyncPipeExpressionGraph(),

      new ExpressionGraph()
        .arcs( new FlowElementExpression( Group.class ), new FlowElementExpression( Group.class ) ),

      new ExpressionGraph()
        .arc(
          new FlowElementExpression( ElementCapture.Primary, Pipe.class ),
          ScopeExpression.ANY,
          new FlowElementExpression( Group.class )
        )
    );
    }
View Full Code Here

    super(
      new SyncPipeExpressionGraph(),

      // in order to capture out degree in sub-graph, we need to capture at least two successors
      new ExpressionGraph()
        .arcs( SHARED_GROUP, or( new FlowElementExpression( HashJoin.class ), new FlowElementExpression( Group.class ), new FlowElementExpression( Tap.class ) ) )
        .arcs( SHARED_GROUP, or( new FlowElementExpression( HashJoin.class ), new FlowElementExpression( Group.class ), new FlowElementExpression( Tap.class ) ) ),

      // sub-graph to match has out degree captured above
      new ExpressionGraph()
        .arcs(
          new FlowElementExpression( ElementCapture.Primary, Pipe.class, TypeExpression.Topo.SplitOnly )
        )
    );
    }
View Full Code Here

TOP

Related Classes of cascading.flow.planner.iso.expression.FlowElementExpression

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.