public class ErrorInstruction extends ProgramInstruction
This instruction updates the current variable context with the Variable defined using the declare statement that is used in constructing this instruction.
Constructor and Description |
---|
ErrorInstruction()
Constructor for DeclareInstruction.
|
Modifier and Type | Method and Description |
---|---|
ErrorInstruction |
clone()
Override Object.clone() to make the method public.
|
PlanNode |
getDescriptionProperties() |
void |
process(ProcedurePlan env)
Allow this instruction to do whatever processing it needs, and to
in turn manipulate the running program.
|
Boolean |
requiresTransaction(boolean transactionalReads) |
void |
setExpression(Expression expression) |
void |
setWarning(boolean warning) |
String |
toString() |
public void setExpression(Expression expression)
public void setWarning(boolean warning)
public ErrorInstruction clone()
ProgramInstruction
clone
in class ProgramInstruction
ProgramInstruction.clone()
public PlanNode getDescriptionProperties()
getDescriptionProperties
in class ProgramInstruction
public void process(ProcedurePlan env) throws TeiidComponentException, TeiidProcessingException, TeiidSQLException
ProgramInstruction
increment
the program counter of the current program, but specialized
instructions may add sub programs to the stack or not increment the counter (so that they are executed again.)process
in class ProgramInstruction
TeiidSQLException
TeiidComponentException
TeiidProcessingException
public Boolean requiresTransaction(boolean transactionalReads)
requiresTransaction
in class ProgramInstruction
Copyright © 2019. All rights reserved.