InputT
- The input type of the SinkWriter
.CommT
- The committable type of the SinkWriter
.@Internal public final class SinkWriterOperatorFactory<InputT,CommT> extends AbstractStreamOperatorFactory<CommittableMessage<CommT>> implements OneInputStreamOperatorFactory<InputT,CommittableMessage<CommT>>, YieldingOperatorFactory<CommittableMessage<CommT>>
StreamOperatorFactory
for SinkWriterOperator
.chainingStrategy, processingTimeService
Constructor and Description |
---|
SinkWriterOperatorFactory(Sink<InputT> sink) |
Modifier and Type | Method and Description |
---|---|
<T extends StreamOperator<CommittableMessage<CommT>>> |
createStreamOperator(StreamOperatorParameters<CommittableMessage<CommT>> parameters)
Create the operator.
|
Sink<InputT> |
getSink() |
Class<? extends StreamOperator> |
getStreamOperatorClass(ClassLoader classLoader)
Returns the runtime class of the stream operator.
|
getChainingStrategy, getMailboxExecutor, setChainingStrategy, setMailboxExecutor, setProcessingTimeService
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setMailboxExecutor
getChainingStrategy, getOperatorAttributes, isInputTypeConfigurable, isLegacySource, isOutputTypeConfigurable, isStreamSource, setChainingStrategy, setInputType, setOutputType
public <T extends StreamOperator<CommittableMessage<CommT>>> T createStreamOperator(StreamOperatorParameters<CommittableMessage<CommT>> parameters)
StreamOperatorFactory
createStreamOperator
in interface StreamOperatorFactory<CommittableMessage<CommT>>
public Class<? extends StreamOperator> getStreamOperatorClass(ClassLoader classLoader)
StreamOperatorFactory
getStreamOperatorClass
in interface StreamOperatorFactory<CommittableMessage<CommT>>
@VisibleForTesting public Sink<InputT> getSink()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.