Package org.apache.wayang.basic.channels
Class FileChannel
java.lang.Object
org.apache.wayang.core.plan.executionplan.Channel
org.apache.wayang.basic.channels.FileChannel
Represents a
Channel that is realized via a file/set of files.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classChannelDescriptorforFileChannels.classChannelInstanceimplementation forFileChannels. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final FileChannel.Descriptorstatic final FileChannel.Descriptor -
Constructor Summary
ConstructorsConstructorDescriptionFileChannel(FileChannel.Descriptor descriptor) FileChannel(ChannelDescriptor descriptor, OutputSlot<?> outputSlot) -
Method Summary
Modifier and TypeMethodDescriptioncopy()Create a copy of this instance.createInstance(Executor executor, OptimizationContext.OperatorContext producerOperatorContext, int producerOutputIndex) Create aChannelInstancefor this instance.toString()Methods inherited from class org.apache.wayang.core.plan.executionplan.Channel
addConsumer, addSibling, getCardinalityEstimate, getConsumers, getCorrespondingSlots, getDataSetType, getOriginal, getProducer, getProducerOperator, getProducerSlot, getSiblings, isBetweenStages, isCopy, isExecutionBreaker, isMarkedForInstrumentation, isReusable, isSuitableForBreakpoint, markForInstrumentation, mergeIntoOriginal, removeSiblings, removeSiblingsWhere, retain, withSiblings
-
Field Details
-
HDFS_TSV_DESCRIPTOR
-
HDFS_OBJECT_FILE_DESCRIPTOR
-
-
Constructor Details
-
FileChannel
-
FileChannel
-
-
Method Details
-
copy
Description copied from class:ChannelCreate a copy of this instance. Mimics everything apart from the consumers. Also delimits already executedExecutionTasks and those that are not executed yet. Be careful when revising this invariant. -
toString
-
getDescriptor
- Overrides:
getDescriptorin classChannel
-
createInstance
public ChannelInstance createInstance(Executor executor, OptimizationContext.OperatorContext producerOperatorContext, int producerOutputIndex) Description copied from class:ChannelCreate aChannelInstancefor this instance.- Specified by:
createInstancein classChannel- Parameters:
executor- that manages the resource ornullif none
-