use of org.teiid.client.plan.PlanNode in project teiid by teiid.
the class ErrorInstruction method getDescriptionProperties.
public PlanNode getDescriptionProperties() {
// $NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
PlanNode node = new PlanNode("RAISE " + (warning ? "WARNING" : "ERROR"));
node.addProperty(PROP_EXPRESSION, this.expression.toString());
return node;
}
use of org.teiid.client.plan.PlanNode in project teiid by teiid.
the class ExecDynamicSqlInstruction method getDescriptionProperties.
public PlanNode getDescriptionProperties() {
// $NON-NLS-1$
PlanNode props = new PlanNode("ExecDynamicSqlInstruction");
props.addProperty(PROP_SQL, dynamicCommand.toString());
return props;
}
use of org.teiid.client.plan.PlanNode in project teiid by teiid.
the class ProcedurePlan method getDescriptionProperties.
public PlanNode getDescriptionProperties() {
PlanNode node = this.originalProgram.getDescriptionProperties();
node.addProperty(PROP_OUTPUT_COLS, AnalysisRecord.getOutputColumnProperties(getOutputElements()));
return node;
}
use of org.teiid.client.plan.PlanNode in project teiid by teiid.
the class DdlPlan method getDescriptionProperties.
@Override
public PlanNode getDescriptionProperties() {
PlanNode props = super.getDescriptionProperties();
props.addProperty(PROP_SQL, this.command.toString());
return props;
}
use of org.teiid.client.plan.PlanNode in project teiid by teiid.
the class BlockInstruction method getDescriptionProperties.
public PlanNode getDescriptionProperties() {
// $NON-NLS-1$
PlanNode props = new PlanNode("BLOCK");
props.addProperty(PROP_PROGRAM, this.program.getDescriptionProperties());
return props;
}
Aggregations