public String toString() { StringBuffer val = new StringBuffer("BatchedUpdatePlan {\n"); //$NON-NLS-1$ for (int i = 0; i < getPlanCount(); i++) { val.append(updatePlans[i]) .append("\n"); //$NON-NLS-1$ } val.append("}\n"); //$NON-NLS-1$ return val.toString(); }
public String toString() { StringBuffer val = new StringBuffer("BatchedUpdatePlan {\n"); //$NON-NLS-1$ for (int i = 0; i < getPlanCount(); i++) { val.append(updatePlans[i]) .append("\n"); //$NON-NLS-1$ } val.append("}\n"); //$NON-NLS-1$ return val.toString(); }
public String toString() { StringBuffer val = new StringBuffer("BatchedUpdatePlan {\n"); //$NON-NLS-1$ for (int i = 0; i < getPlanCount(); i++) { val.append(updatePlans[i]) .append("\n"); //$NON-NLS-1$ } val.append("}\n"); //$NON-NLS-1$ return val.toString(); }
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 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 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; }
/** * @see org.teiid.query.processor.ProcessorPlan#initialize(org.teiid.query.util.CommandContext, org.teiid.query.processor.ProcessorDataManager, org.teiid.common.buffer.BufferManager) * @since 4.2 */ public void initialize(CommandContext context, ProcessorDataManager dataMgr, BufferManager bufferMgr) { context = context.clone(); context.setVariableContext(new VariableContext()); //start a new root variable context this.setContext(context); // Initialize all the child plans for (int i = 0; i < getPlanCount(); i++) { updatePlans[i].initialize(context, dataMgr, bufferMgr); } }
/** * @see org.teiid.query.processor.ProcessorPlan#initialize(org.teiid.query.util.CommandContext, org.teiid.query.processor.ProcessorDataManager, org.teiid.common.buffer.BufferManager) * @since 4.2 */ public void initialize(CommandContext context, ProcessorDataManager dataMgr, BufferManager bufferMgr) { context = context.clone(); context.setVariableContext(new VariableContext()); //start a new root variable context this.setContext(context); // Initialize all the child plans for (int i = 0; i < getPlanCount(); i++) { updatePlans[i].initialize(context, dataMgr, bufferMgr); } }
/** * @see org.teiid.query.processor.ProcessorPlan#initialize(org.teiid.query.util.CommandContext, org.teiid.query.processor.ProcessorDataManager, org.teiid.common.buffer.BufferManager) * @since 4.2 */ public void initialize(CommandContext context, ProcessorDataManager dataMgr, BufferManager bufferMgr) { context = context.clone(); context.setVariableContext(new VariableContext()); //start a new root variable context this.setContext(context); // Initialize all the child plans for (int i = 0; i < getPlanCount(); i++) { updatePlans[i].initialize(context, dataMgr, bufferMgr); } }