public class DdlPlan extends ProcessorPlan
| Modifier and Type | Class and Description |
|---|---|
static class |
DdlPlan.SetPropertyProcessor |
| Modifier and Type | Field and Description |
|---|---|
static boolean |
ALLOW_ALTER |
| Modifier and Type | Method and Description |
|---|---|
static void |
alterInsteadOfTrigger(VDBMetaData vdb,
Table t,
String sql,
Boolean enabled,
Table.TriggerEvent event,
boolean updateStore) |
static void |
alterProcedureDefinition(VDBMetaData vdb,
Procedure p,
String sql,
boolean updateStore) |
static void |
alterView(VDBMetaData vdb,
Table t,
String sql,
boolean updateStore) |
ProcessorPlan |
clone()
Return a safe clone of the ProcessorPlan.
|
void |
close()
Close the plan after processing.
|
PlanNode |
getDescriptionProperties() |
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.
|
static void |
setColumnStats(VDBMetaData vdb,
Column column,
ColumnStats columnStats) |
static String |
setProperty(VDBMetaData vdb,
AbstractMetadataRecord record,
String key,
String value) |
static void |
setTableStats(VDBMetaData vdb,
Table table,
TableStats tableStats) |
String |
toString() |
addWarning, getBuffer, getContext, hasBuffer, requiresTransaction, reset, setContextpublic DdlPlan(Command command)
public static void alterView(VDBMetaData vdb, Table t, String sql, boolean updateStore)
public static String setProperty(VDBMetaData vdb, AbstractMetadataRecord record, String key, String value)
public static void setColumnStats(VDBMetaData vdb, Column column, ColumnStats columnStats)
public static void setTableStats(VDBMetaData vdb, Table table, TableStats tableStats)
public static void alterProcedureDefinition(VDBMetaData vdb, Procedure p, String sql, boolean updateStore)
public static void alterInsteadOfTrigger(VDBMetaData vdb, Table t, String sql, Boolean enabled, Table.TriggerEvent event, boolean updateStore)
public ProcessorPlan clone()
ProcessorPlanopened or after it is closed.clone in class ProcessorPlanpublic void close()
throws TeiidComponentException
ProcessorPlanclose in interface BatchCollector.BatchProducerclose in class ProcessorPlanTeiidComponentExceptionpublic List getOutputElements()
ProcessorPlangetOutputElements in interface BatchCollector.BatchProducergetOutputElements in class ProcessorPlanpublic void initialize(CommandContext context, ProcessorDataManager dataMgr, BufferManager bufferMgr)
ProcessorPlaninitialize in class ProcessorPlancontext - Process execution contextdataMgr - Data manager referencebufferMgr - Buffer manager referencepublic TupleBatch nextBatch() throws BlockedException, TeiidComponentException, TeiidProcessingException
ProcessorPlannextBatch in interface BatchCollector.BatchProducernextBatch in class ProcessorPlanBlockedException - indicating next batch is not available yetTeiidComponentException - for non-business rule exceptionTeiidProcessingException - for business rule exception, related
to user input or modelingpublic void open()
throws TeiidComponentException,
TeiidProcessingException
ProcessorPlanopen in class ProcessorPlanTeiidComponentExceptionTeiidProcessingExceptionpublic PlanNode getDescriptionProperties()
getDescriptionProperties in class ProcessorPlanCopyright © 2019. All rights reserved.