Package org.teiid.client.plan

Examples of org.teiid.client.plan.PlanNode.addProperty()


        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 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 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;
    }
   
    @Override
View Full Code Here

        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;
    }
   
    @Override
    public void process(ProcedurePlan env) throws TeiidComponentException,
View Full Code Here

    }

    public PlanNode getDescriptionProperties() {
      PlanNode props = super.getDescriptionProperties();
        for (int i = 0; i < getPlanCount(); i++) {
            props.addProperty("Batch Plan " + i, updatePlans[i].getDescriptionProperties()); //$NON-NLS-1$
        }
        return props;
    }
   
    public String toString() {
View Full Code Here

  }
 
  @Override
  public PlanNode getDescriptionProperties() {
    PlanNode props = super.getDescriptionProperties();
        props.addProperty(PROP_SQL, this.command.toString());
        return props;
  }
 
}
View Full Code Here

    return transactionalReads;
  }
 
    public PlanNode getDescriptionProperties() {
        PlanNode props = new PlanNode(this.getClass().getSimpleName());
        props.addProperty(PROP_OUTPUT_COLS, AnalysisRecord.getOutputColumnProperties(getOutputElements()));
        return props;
    }
    /**
     * return the final tuple buffer or null if not available
View Full Code Here

        return clonedNode;
    }

    public PlanNode getDescriptionProperties() {
      PlanNode props = super.getDescriptionProperties();
        props.addProperty(PROP_INTO_GROUP, intoGroup.toString());
        List<String> selectCols = new ArrayList<String>(intoElements.size());
        for(int i=0; i<this.intoElements.size(); i++) {
            selectCols.add(this.intoElements.get(i).toString());
        }
        props.addProperty(PROP_SELECT_COLS, selectCols);
View Full Code Here

        props.addProperty(PROP_INTO_GROUP, intoGroup.toString());
        List<String> selectCols = new ArrayList<String>(intoElements.size());
        for(int i=0; i<this.intoElements.size(); i++) {
            selectCols.add(this.intoElements.get(i).toString());
        }
        props.addProperty(PROP_SELECT_COLS, selectCols);

        return props;
    }
   
    private List convertValuesToConstants(List values, List elements) {
View Full Code Here

    target.command = source.command;
  }

    public PlanNode getDescriptionProperties() {
      PlanNode props = super.getDescriptionProperties();
        props.addProperty(PROP_SQL, this.command.toString());
        props.addProperty(PROP_MODEL_NAME, this.modelName);
        return props;
    }

  public String getConnectorBindingId() {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.