Package org.apache.wayang.jdbc.channels
Class SqlQueryChannel
- java.lang.Object
-
- org.apache.wayang.core.plan.executionplan.Channel
-
- org.apache.wayang.jdbc.channels.SqlQueryChannel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SqlQueryChannel.Descriptor
Describes a specific class ofSqlQueryChannel
s belonging to a certainJdbcPlatformTemplate
.class
SqlQueryChannel.Instance
ChannelInstance
implementation forSqlQueryChannel
s.
-
Constructor Summary
Constructors Constructor Description SqlQueryChannel(ChannelDescriptor descriptor, OutputSlot<?> outputSlot)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlQueryChannel
copy()
Create a copy of this instance.SqlQueryChannel.Instance
createInstance(Executor executor, OptimizationContext.OperatorContext producerOperatorContext, int producerOutputIndex)
Create aChannelInstance
for this instance.-
Methods inherited from class org.apache.wayang.core.plan.executionplan.Channel
addConsumer, addSibling, getCardinalityEstimate, getConsumers, getCorrespondingSlots, getDataSetType, getDescriptor, getOriginal, getProducer, getProducerOperator, getProducerSlot, getSiblings, isBetweenStages, isCopy, isExecutionBreaker, isMarkedForInstrumentation, isReusable, isSuitableForBreakpoint, markForInstrumentation, mergeIntoOriginal, removeSiblings, removeSiblingsWhere, retain, toString, withSiblings
-
-
-
-
Constructor Detail
-
SqlQueryChannel
public SqlQueryChannel(ChannelDescriptor descriptor, OutputSlot<?> outputSlot)
-
-
Method Detail
-
copy
public SqlQueryChannel copy()
Description copied from class:Channel
Create a copy of this instance. Mimics everything apart from the consumers. Also delimits already executedExecutionTask
s and those that are not executed yet. Be careful when revising this invariant.
-
createInstance
public SqlQueryChannel.Instance createInstance(Executor executor, OptimizationContext.OperatorContext producerOperatorContext, int producerOutputIndex)
Description copied from class:Channel
Create aChannelInstance
for this instance.- Specified by:
createInstance
in classChannel
- Parameters:
executor
- that manages the resource ornull
if none
-
-