Search in sources :

Example 11 with PlanNode

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;
}
Also used : PlanNode(org.teiid.client.plan.PlanNode)

Example 12 with PlanNode

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;
}
Also used : PlanNode(org.teiid.client.plan.PlanNode)

Example 13 with PlanNode

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;
}
Also used : PlanNode(org.teiid.client.plan.PlanNode)

Example 14 with PlanNode

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;
}
Also used : PlanNode(org.teiid.client.plan.PlanNode)

Example 15 with PlanNode

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;
}
Also used : PlanNode(org.teiid.client.plan.PlanNode)

Aggregations

PlanNode (org.teiid.client.plan.PlanNode)35 ArrayList (java.util.ArrayList)3 Test (org.junit.Test)3 SymbolMap (org.teiid.query.sql.util.SymbolMap)3 ResultSet (java.sql.ResultSet)2 Statement (java.sql.Statement)2 Property (org.teiid.client.plan.PlanNode.Property)2 ElementSymbol (org.teiid.query.sql.symbol.ElementSymbol)2 BigInteger (java.math.BigInteger)1 SQLXML (java.sql.SQLXML)1 HashMap (java.util.HashMap)1 LinkedHashMap (java.util.LinkedHashMap)1 List (java.util.List)1 Map (java.util.Map)1 RequestMessage (org.teiid.client.RequestMessage)1 ResultsMessage (org.teiid.client.ResultsMessage)1 ParameterInfo (org.teiid.client.metadata.ParameterInfo)1 Annotation (org.teiid.client.plan.Annotation)1 SQLXMLImpl (org.teiid.core.types.SQLXMLImpl)1 AtomicRequestMessage (org.teiid.dqp.message.AtomicRequestMessage)1