|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.teiid.query.processor.ProcessorPlan
org.teiid.query.processor.DdlPlan
public class DdlPlan
| Constructor Summary | |
|---|---|
DdlPlan(Command command)
|
|
| Method Summary | |
|---|---|
static void |
alterInsteadOfTrigger(VDBMetaData vdb,
Table t,
java.lang.String sql,
java.lang.Boolean enabled,
Table.TriggerEvent event)
|
static void |
alterProcedureDefinition(VDBMetaData vdb,
Procedure p,
java.lang.String sql)
|
static void |
alterView(VDBMetaData vdb,
Table t,
java.lang.String sql)
|
ProcessorPlan |
clone()
Return a safe clone of the ProcessorPlan. |
void |
close()
Close the plan after processing. |
PlanNode |
getDescriptionProperties()
|
java.util.List |
getOutputElements()
Get list of resolved elements describing output columns for this plan. |
void |
initialize(CommandContext context,
ProcessorDataManager dataMgr,
BufferManager bufferMgr)
Initialize the plan with some required pieces of data for making queries. |
TupleBatch |
nextBatch()
Get a batch of results or possibly an Exception. |
void |
open()
Open the plan for processing. |
| Methods inherited from class org.teiid.query.processor.ProcessorPlan |
|---|
addWarning, getAndClearWarnings, getContext, getFinalBuffer, hasFinalBuffer, requiresTransaction, reset, setContext |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DdlPlan(Command command)
| Method Detail |
|---|
public static void alterView(VDBMetaData vdb,
Table t,
java.lang.String sql)
public static void alterProcedureDefinition(VDBMetaData vdb,
Procedure p,
java.lang.String sql)
public static void alterInsteadOfTrigger(VDBMetaData vdb,
Table t,
java.lang.String sql,
java.lang.Boolean enabled,
Table.TriggerEvent event)
public ProcessorPlan clone()
ProcessorPlanopened or after it is closed.
clone in class ProcessorPlan
public void close()
throws TeiidComponentException
ProcessorPlan
close in class ProcessorPlanTeiidComponentExceptionpublic java.util.List getOutputElements()
ProcessorPlan
getOutputElements in interface BatchCollector.BatchProducergetOutputElements in class ProcessorPlan
public void initialize(CommandContext context,
ProcessorDataManager dataMgr,
BufferManager bufferMgr)
ProcessorPlan
initialize in class ProcessorPlancontext - Process execution contextdataMgr - Data manager referencebufferMgr - Buffer manager reference
public TupleBatch nextBatch()
throws BlockedException,
TeiidComponentException,
TeiidProcessingException
ProcessorPlan
nextBatch in interface BatchCollector.BatchProducernextBatch in class ProcessorPlanBlockedException - indicating next batch is not available yet
TeiidComponentException - for non-business rule exception
TeiidProcessingException - for business rule exception, related
to user input or modeling
public void open()
throws TeiidComponentException,
TeiidProcessingException
ProcessorPlan
open in class ProcessorPlanTeiidComponentException
TeiidProcessingExceptionpublic PlanNode getDescriptionProperties()
getDescriptionProperties in class ProcessorPlan
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||