com.metamatrix.query.processor.relational
Class RelationalNodeUtil

java.lang.Object
  extended by com.metamatrix.query.processor.relational.RelationalNodeUtil

public class RelationalNodeUtil
extends java.lang.Object

Since:
4.2

Method Summary
static boolean shouldExecute(Command command, boolean simplifyCriteria)
          Decides whether a command needs to be executed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

shouldExecute

public static boolean shouldExecute(Command command,
                                    boolean simplifyCriteria)
                             throws CriteriaEvaluationException,
                                    MetaMatrixComponentException
Decides whether a command needs to be executed.
NOTE: This method has a side-effect. If the criteria of this command always evaluate to true, and the simplifyCriteria flag is true, then the command criteria are set to null.

Parameters:
command -
simplifyCriteria - wheter to simplify the criteria of the command if they always evaluate to true
Returns:
true if this command should be executed by the connector; false otherwise.
Throws:
MetaMatrixComponentException
CriteriaEvaluationException
Since:
4.2


Copyright © 2009. All Rights Reserved.