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()
ProgramInstructionclone in class ProgramInstructionProgramInstruction.clone()public PlanNode getDescriptionProperties()
getDescriptionProperties in class ProgramInstructionpublic void process(ProcedurePlan env) throws TeiidComponentException, TeiidProcessingException, TeiidSQLException
ProgramInstructionincrement 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 ProgramInstructionTeiidSQLExceptionTeiidComponentExceptionTeiidProcessingExceptionpublic Boolean requiresTransaction(boolean transactionalReads)
requiresTransaction in class ProgramInstructionCopyright © 2018 JBoss by Red Hat. All rights reserved.