@Internal public class CompactorOperatorFactory extends AbstractStreamOperatorFactory<CommittableMessage<FileSinkCommittable>> implements OneInputStreamOperatorFactory<CompactorRequest,CommittableMessage<FileSinkCommittable>>
CompactorOperator
.chainingStrategy, processingTimeService
Constructor and Description |
---|
CompactorOperatorFactory(FileCompactStrategy strategy,
FileCompactor fileCompactor,
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, isInputTypeConfigurable, isLegacySource, isOutputTypeConfigurable, isStreamSource, setChainingStrategy, setInputType, setOutputType
public CompactorOperatorFactory(FileCompactStrategy strategy, FileCompactor fileCompactor, 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.