Package cascading.flow.planner.iso.expression

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


    super(
      PreBalanceAssembly,

      new RuleExpression( new ExpressionGraph()
        .arcs(
          new FlowElementExpression( ElementCapture.Primary, HashJoin.class )
        ) ),

      "HashJoins not supported by this rule registry, found {Primary}"
    );
    }
View Full Code Here


          GROUP,
          SPLICE ),

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

  public BalanceCheckpointWithBoundaryExpression()
    {
    super(
      new ExpressionGraph()
        .arcs(
          new FlowElementExpression( ElementCapture.Primary, true, Checkpoint.class ),
          not( new FlowElementExpression( Boundary.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, new FlowElementExpression( HashJoin.class ) )
        .arcs( SHARED_GROUP, new FlowElementExpression( HashJoin.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

  public AdjacentTempToTapExpression()
    {
    super(
      new ExpressionGraph()
        .arc(
          new FlowElementExpression( ElementCapture.Primary, TempHfs.class ),
          new EquivalentTapsScopeExpression(),
          new FlowElementExpression( ElementCapture.Secondary, Hfs.class )
        )
    );
    }
View Full Code Here

  {
  public NonBlockedBlockedJoinJoinExpressionGraph()
    {
    super( SearchOrder.ReverseDepth );

    ElementExpression source = OrElementExpression.or( ElementCapture.Primary, new FlowElementExpression( Tap.class ), new FlowElementExpression( Group.class ) );
    ElementExpression blocking = or( new FlowElementExpression( HashJoin.class ), new FlowElementExpression( Group.class ) );
    ElementExpression sink = new FlowElementExpression( ElementCapture.Secondary, HashJoin.class );

    this.arc(
      source,
      PathScopeExpression.ANY,
      blocking
View Full Code Here

  {
  public NoOpPipeExpressionGraph()
    {
    super( OrElementExpression.or(
      ElementCapture.Primary,
      new FlowElementExpression( true, Pipe.class ),
      new FlowElementExpression( true, Checkpoint.class ),
      new FlowElementExpression( false, SubAssembly.class ) ) );
    }
View Full Code Here

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

  {
  public DualStreamedAccumulatedExpressionGraph()
    {
    super( SearchOrder.Depth );

    FlowElementExpression source = new FlowElementExpression( ElementCapture.Primary, Tap.class );

    FlowElementExpression sink = new FlowElementExpression( ElementCapture.Secondary, Merge.class );

    this.arc(
      source,
      PathScopeExpression.BLOCKING,
      sink
View Full Code Here

  {
  public SyncPipeExpressionGraph()
    {
    super( new AndElementExpression(
      ElementCapture.Primary,
      not( new FlowElementExpression( Extent.class ) ),
      not( new FlowElementExpression( Tap.class ) ),
      not( new FlowElementExpression( Boundary.class ) ),
      not( new FlowElementExpression( Checkpoint.class ) ),
      not( new FlowElementExpression( Group.class ) ),
      not( new FlowElementExpression( HashJoin.class ) ) ) );
    }
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.