public synchronized PlanNode getDescriptionProperties() { if (getChildCount() > 0) { return this.getChildren()[0].getDescriptionProperties(); } PlanNode props = super.getDescriptionProperties(); props.addProperty(PROP_SQL, this.command.toString()); props.addProperty(PROP_MODEL_NAME, this.modelName); Collection<? extends SubqueryContainer<?>> objects = getObjects(); if (!objects.isEmpty()) { int index = 0; for (Iterator<? extends SubqueryContainer<?>> iterator = objects.iterator(); iterator.hasNext();) { SubqueryContainer<?> subqueryContainer = iterator.next(); props.addProperty(PROP_SQL + " Subplan " + index++, subqueryContainer.getCommand().getProcessorPlan().getDescriptionProperties()); //$NON-NLS-1$ } } if (this.projection != null && this.projection.length > 0 && this.originalSelect != null) { props.addProperty(PROP_SELECT_COLS, this.originalSelect.toString()); } if (this.info != null) { props.addProperty(PROP_SHARING_ID, String.valueOf(this.info.id)); } if (this.subPlans != null) { for (Map.Entry<GroupSymbol, RelationalPlan> entry : this.subPlans.entrySet()) { props.addProperty(entry.getKey() + " Dependent Subplan", entry.getValue().getDescriptionProperties()); //$NON-NLS-1$ } } return props; }
public synchronized PlanNode getDescriptionProperties() { if (getChildCount() > 0) { return this.getChildren()[0].getDescriptionProperties(); } PlanNode props = super.getDescriptionProperties(); props.addProperty(PROP_SQL, this.command.toString()); props.addProperty(PROP_MODEL_NAME, this.modelName); Collection<? extends SubqueryContainer<?>> objects = getObjects(); if (!objects.isEmpty()) { int index = 0; for (Iterator<? extends SubqueryContainer<?>> iterator = objects.iterator(); iterator.hasNext();) { SubqueryContainer<?> subqueryContainer = iterator.next(); props.addProperty(PROP_SQL + " Subplan " + index++, subqueryContainer.getCommand().getProcessorPlan().getDescriptionProperties()); //$NON-NLS-1$ } } if (this.projection != null && this.projection.length > 0 && this.originalSelect != null) { props.addProperty(PROP_SELECT_COLS, this.originalSelect.toString()); } if (this.info != null) { props.addProperty(PROP_SHARING_ID, String.valueOf(this.info.id)); } if (this.subPlans != null) { for (Map.Entry<GroupSymbol, RelationalPlan> entry : this.subPlans.entrySet()) { props.addProperty(entry.getKey() + " Dependent Subplan", entry.getValue().getDescriptionProperties()); //$NON-NLS-1$ } } return props; }
public synchronized PlanNode getDescriptionProperties() { if (getChildCount() > 0) { return this.getChildren()[0].getDescriptionProperties(); } PlanNode props = super.getDescriptionProperties(); props.addProperty(PROP_SQL, this.command.toString()); props.addProperty(PROP_MODEL_NAME, this.modelName); Collection<? extends SubqueryContainer<?>> objects = getObjects(); if (!objects.isEmpty()) { int index = 0; for (Iterator<? extends SubqueryContainer<?>> iterator = objects.iterator(); iterator.hasNext();) { SubqueryContainer<?> subqueryContainer = iterator.next(); props.addProperty(PROP_SQL + " Subplan " + index++, subqueryContainer.getCommand().getProcessorPlan().getDescriptionProperties()); //$NON-NLS-1$ } } if (this.projection != null && this.projection.length > 0 && this.originalSelect != null) { props.addProperty(PROP_SELECT_COLS, this.originalSelect.toString()); } if (this.info != null) { props.addProperty(PROP_SHARING_ID, String.valueOf(this.info.id)); } if (this.subPlans != null) { for (Map.Entry<GroupSymbol, RelationalPlan> entry : this.subPlans.entrySet()) { props.addProperty(entry.getKey() + " Dependent Subplan", entry.getValue().getDescriptionProperties()); //$NON-NLS-1$ } } return props; }
return this.getChildren()[0].nextBatch();
return this.getChildren()[0].nextBatch();
return this.getChildren()[0].nextBatch();
this.getChildren()[0] = null; this.getChildren()[0].open(); return;
this.getChildren()[0] = null; this.getChildren()[0].open(); return;
this.getChildren()[0] = null; this.getChildren()[0].open(); return;