public class RelationalNodeUtil extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
hasOutputParams(Command command) |
static boolean |
isUpdate(Command command)
Returns whether the relational command is an update.
|
static boolean |
shouldExecute(Command command,
boolean simplifyCriteria)
Decides whether a command needs to be executed.
|
static boolean |
shouldExecute(Command command,
boolean simplifyCriteria,
boolean duringPlanning) |
public static boolean shouldExecute(Command command, boolean simplifyCriteria) throws TeiidComponentException, ExpressionEvaluationException
command
- simplifyCriteria
- whether to simplify the criteria of the command if they always evaluate to trueTeiidComponentException
ExpressionEvaluationException
public static boolean shouldExecute(Command command, boolean simplifyCriteria, boolean duringPlanning) throws TeiidComponentException, ExpressionEvaluationException
public static boolean isUpdate(Command command)
command
- public static boolean hasOutputParams(Command command)
Copyright © 2019. All rights reserved.