package com.tesora.dve.sql.transform.execution;

import java.util.List;

import com.tesora.dve.db.Emitter.EmitOptions;
import com.tesora.dve.resultset.IntermediateResultSet;
import com.tesora.dve.sql.schema.SchemaContext;

public class ExplainExecutionStep extends DDLQueryExecutionStep {

	private final ExecutionPlan target;
	
	public ExplainExecutionStep(String tag, ExecutionPlan targ, IntermediateResultSet results) {
		super(tag, results);
		this.target = targ;
	}

	@Override
	public void display(SchemaContext sc, ConnectionValuesMap cv, ExecutionPlan containing, List<String> buf, String indent, EmitOptions opts) {
		super.display(sc,cv,containing,buf,indent,opts);
		target.display(sc,cv,containing,buf,indent + "  ",opts);
	}

	
}

@@ -42,16 +42,744 @@
 ution;%0A%0A
+/*%0A * #%25L%0A * Tesora Inc.%0A * Database Virtualization Engine%0A * %25%25%0A * Copyright (C) 2011 - 2014 Tesora Inc.%0A * %25%25%0A * This program is free software: you can redistribute it and/or modify%0A * it under the terms of the GNU Affero General Public License, version 3,%0A * as published by the Free Software Foundation.%0A * %0A * This program is distributed in the hope that it will be useful,%0A * but WITHOUT ANY WARRANTY; without even the implied warranty of%0A * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the%0A * GNU Affero General Public License for more details.%0A * %0A * You should have received a copy of the GNU Affero General Public License%0A * along with this program. If not, see %3Chttp://www.gnu.org/licenses/%3E.%0A * #L%25%0A */%0A%0A
 import j

Add copyright header.