@Internal public class CompactorOperatorStateHandlerFactory extends AbstractStreamOperatorFactory<CommittableMessage<FileSinkCommittable>> implements OneInputStreamOperatorFactory<Either<CommittableMessage<FileSinkCommittable>,CompactorRequest>,CommittableMessage<FileSinkCommittable>>
CompactorOperatorStateHandler
.chainingStrategy, processingTimeService
Constructor and Description |
---|
CompactorOperatorStateHandlerFactory(SerializableSupplierWithException<SimpleVersionedSerializer<FileSinkCommittable>,IOException> committableSerializerSupplier,
SerializableSupplierWithException<BucketWriter<?,String>,IOException> bucketWriterProvider) |
Modifier and Type | Method and Description |
---|---|
<T extends StreamOperator<CommittableMessage<FileSinkCommittable>>> |
createStreamOperator(StreamOperatorParameters<CommittableMessage<FileSinkCommittable>> parameters)
Create the operator.
|
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
getChainingStrategy, getOperatorAttributes, isInputTypeConfigurable, isLegacySource, isOutputTypeConfigurable, isStreamSource, setChainingStrategy, setInputType, setOutputType
public CompactorOperatorStateHandlerFactory(SerializableSupplierWithException<SimpleVersionedSerializer<FileSinkCommittable>,IOException> committableSerializerSupplier, SerializableSupplierWithException<BucketWriter<?,String>,IOException> bucketWriterProvider)
public <T extends StreamOperator<CommittableMessage<FileSinkCommittable>>> T createStreamOperator(StreamOperatorParameters<CommittableMessage<FileSinkCommittable>> parameters)
StreamOperatorFactory
createStreamOperator
in interface StreamOperatorFactory<CommittableMessage<FileSinkCommittable>>
public Class<? extends StreamOperator> getStreamOperatorClass(ClassLoader classLoader)
StreamOperatorFactory
getStreamOperatorClass
in interface StreamOperatorFactory<CommittableMessage<FileSinkCommittable>>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.