Package org.teiid.client.plan

Examples of org.teiid.client.plan.PlanNode$Property


        xmlPlan.xmlSchemas = this.xmlSchemas;
        return xmlPlan;
    }

    public PlanNode getDescriptionProperties() {
      PlanNode node = this.originalProgram.getDescriptionProperties();
      node.addProperty(PROP_OUTPUT_COLS, AnalysisRecord.getOutputColumnProperties(getOutputElements()));
      return node;
    }
View Full Code Here


    return clonedNode;
  }
   
    public PlanNode getDescriptionProperties() {
      PlanNode props = super.getDescriptionProperties();
       
        if(this.mode != Mode.DUP_REMOVE && this.items != null) {
            props.addProperty(PROP_SORT_COLS, this.items.toString());
        }
       
        props.addProperty(PROP_SORT_MODE, this.mode.toString());
       
        return props;
    }
View Full Code Here

        // Return batch
        return batch;
    }

    public PlanNode getDescriptionProperties() {
      PlanNode node = this.originalProgram.getDescriptionProperties();
      node.addProperty(PROP_OUTPUT_COLS, AnalysisRecord.getOutputColumnProperties(getOutputElements()));
      return node;
    }
View Full Code Here

            parentProgram = env.peek();
        }
    }
   
    public PlanNode getDescriptionProperties() {
        return new PlanNode("CONTINUE"); //$NON-NLS-1$
    }
View Full Code Here

    public String toString() {
        return "SQL  " + resultSetName; //$NON-NLS-1$
    }

    public PlanNode getDescriptionProperties() {
      PlanNode props = new PlanNode("EXECUTE SQL"); //$NON-NLS-1$
        props.addProperty(PROP_RESULT_SET, this.resultSetName);
      props.addProperty(PROP_SQL, this.info.getPlan().getDescriptionProperties());
        return props;
    }
View Full Code Here

    public String toString() {
        return "IF INSTRUCTION:"; //$NON-NLS-1$
    }

    public PlanNode getDescriptionProperties() {
      PlanNode props = new PlanNode("IF"); //$NON-NLS-1$
        props.addProperty(PROP_CRITERIA, this.condition.toString());
        props.addProperty(PROP_THEN, this.ifProgram.getDescriptionProperties());
        if(elseProgram != null) {
          props.addProperty(PROP_ELSE, this.elseProgram.getDescriptionProperties());
        }
        return props;
    }
View Full Code Here

    public String toString() {
        return "JOINED " + originalResultSet + " " + super.toString(); //$NON-NLS-1$ //$NON-NLS-2$
    }

    public PlanNode getDescriptionProperties() {
        return new PlanNode("JOINED LOOP"); //$NON-NLS-1$
    }
View Full Code Here

       
        return program;
    }

    public PlanNode getDescriptionProperties() {
      PlanNode props = new PlanNode("Program"); //$NON-NLS-1$
       
        if(this.programInstructions != null) {
          for (int i = 0; i < programInstructions.size(); i++) {
                ProgramInstruction inst = programInstructions.get(i);
                PlanNode childProps = inst.getDescriptionProperties();
                props.addProperty("Instruction " + i, childProps); //$NON-NLS-1$
            }
        }
        return props;
    }
View Full Code Here

    public String toString() {
        return "RAISE ERROR INSTRUCTION: " + expression; //$NON-NLS-1$
   
   
    public PlanNode getDescriptionProperties() {
      PlanNode node = new PlanNode("RAISE ERROR"); //$NON-NLS-1$
      node.addProperty(PROP_EXPRESSION, this.expression.toString());
      return node;
    }
View Full Code Here

        return "LAST"; //$NON-NLS-1$
    }

    public PlanNode getDescriptionProperties() {
        if(direction == UP) {
            return new PlanNode("UP IN DOCUMENT"); //$NON-NLS-1$           
        }
        return new PlanNode("NEXT IN DOCUMENT"); //$NON-NLS-1$
    }
View Full Code Here

TOP

Related Classes of org.teiid.client.plan.PlanNode$Property

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.