Package cascading.flow.planner.iso.expression

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


    {
    if( elementGraph.containsVertex( Extent.head ) )
      return narrowSet( type, Graphs.successorListOf( elementGraph, Extent.head ) );

    SubGraphIterator iterator = new ExpressionSubGraphIterator(
      new ExpressionGraph( SearchOrder.Topological, new FlowElementExpression( ElementCapture.Primary, type, TypeExpression.Topo.Head ) ),
      elementGraph
    );

    return narrowSet( type, getAllVertices( iterator ) );
    }
View Full Code Here


    {
    if( elementGraph.containsVertex( Extent.tail ) )
      return narrowSet( type, Graphs.predecessorListOf( elementGraph, Extent.tail ) );

    SubGraphIterator iterator = new ExpressionSubGraphIterator(
      new ExpressionGraph( SearchOrder.ReverseTopological, new FlowElementExpression( ElementCapture.Primary, type, TypeExpression.Topo.Tail ) ),
      elementGraph
    );

    return narrowSet( type, getAllVertices( iterator ) );
    }
View Full Code Here

    }

  public static Set<Group> findAllGroups( ElementGraph elementGraph )
    {
    SubGraphIterator iterator = new ExpressionSubGraphIterator(
      new ExpressionGraph( SearchOrder.Topological, new FlowElementExpression( ElementCapture.Primary, Group.class ) ),
      elementGraph
    );

    return narrowSet( Group.class, getAllVertices( iterator ) );
    }
View Full Code Here

    }

  public static Set<HashJoin> findAllHashJoins( ElementGraph elementGraph )
    {
    SubGraphIterator iterator = new ExpressionSubGraphIterator(
      new ExpressionGraph( SearchOrder.Topological, new FlowElementExpression( ElementCapture.Primary, HashJoin.class ) ),
      elementGraph
    );

    return narrowSet( HashJoin.class, getAllVertices( iterator ) );
    }
View Full Code Here

      new OnlyPipeExpressionGraph(),

      new ExpressionGraph()
        .arcs(
          new OperationExpression( ElementCapture.Secondary, Buffer.class ),
          new FlowElementExpression( ElementCapture.Primary, Every.class )
        )
    );
    }
View Full Code Here

  public LoneGroupExpression()
    {
    super(
      new ExpressionGraph()
        .arcs(
          new FlowElementExpression( Group.class ),
          new OperationExpression( ElementCapture.Primary, GroupAssertion.class ),
          not( new FlowElementExpression( Every.class ) )
        )
    );
    }
View Full Code Here

      new OnlyPipeExpressionGraph(),

      new ExpressionGraph()
        .arcs(
          SHARED,
          new FlowElementExpression( ElementCapture.Secondary, Every.class )
        )
        .arcs(
          SHARED,
          new FlowElementExpression( Every.class )
        )
    );
    }
View Full Code Here

    super(
      new OnlyPipeExpressionGraph(),

      new ExpressionGraph()
        .arcs(
          not( new FlowElementExpression( ElementCapture.Primary, Group.class ) ),
          new OperationExpression( ElementCapture.Secondary, Buffer.class )
        )
    );
    }
View Full Code Here

    {
    super(
      new ExpressionGraph()
        .arcs(
          and( ElementCapture.Secondary,
            not( new FlowElementExpression( Group.class ) ),
            not( new FlowElementExpression( Every.class ) ),
            not( new FlowElementExpression( true, Pipe.class ) )
          ),
          new FlowElementExpression( ElementCapture.Primary, Every.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.