Package cascading.flow.planner.iso.expression

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


    return null;
    }

  private boolean areCompatibleNodes( int node1, int node2 )
    {
    Expression expression = matchGraph.getVertex( node1 );
    FlowElement flowElement = elementGraph.getVertex( node2 );

    boolean result;

    if( ( (ElementExpression) expression ).getCapture() == ElementCapture.Primary &&
      !finderContext.getRequiredElements().isEmpty() )
      result = finderContext.isRequired( flowElement );
    else if( finderContext.isExcluded( flowElement ) || finderContext.isIgnored( flowElement ) )
      result = false;
    else
      result = expression.applies( plannerContext, elementGraph.getDelegate(), flowElement );

    if( LOG.isDebugEnabled() && result )
      LOG.debug( "compatible nodes: {} with {}", flowElement, expression );

    return result;
View Full Code Here

TOP

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

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.