Class CompactorOperatorFactory
- java.lang.Object
-
- org.apache.flink.streaming.api.operators.AbstractStreamOperatorFactory<CommittableMessage<FileSinkCommittable>>
-
- org.apache.flink.connector.file.sink.compactor.operator.CompactorOperatorFactory
-
- All Implemented Interfaces:
Serializable
,OneInputStreamOperatorFactory<CompactorRequest,CommittableMessage<FileSinkCommittable>>
,StreamOperatorFactory<CommittableMessage<FileSinkCommittable>>
,ProcessingTimeServiceAware
@Internal public class CompactorOperatorFactory extends AbstractStreamOperatorFactory<CommittableMessage<FileSinkCommittable>> implements OneInputStreamOperatorFactory<CompactorRequest,CommittableMessage<FileSinkCommittable>>
Factory forCompactorOperator
.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.flink.streaming.api.operators.AbstractStreamOperatorFactory
chainingStrategy, processingTimeService
-
-
Constructor Summary
Constructors Constructor Description CompactorOperatorFactory(FileCompactStrategy strategy, FileCompactor fileCompactor, SerializableSupplierWithException<SimpleVersionedSerializer<FileSinkCommittable>,IOException> committableSerializerSupplier, SerializableSupplierWithException<BucketWriter<?,String>,IOException> bucketWriterProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends StreamOperator<CommittableMessage<FileSinkCommittable>>>
TcreateStreamOperator(StreamOperatorParameters<CommittableMessage<FileSinkCommittable>> parameters)
Create the operator.Class<? extends StreamOperator>
getStreamOperatorClass(ClassLoader classLoader)
Returns the runtime class of the stream operator.-
Methods inherited from class org.apache.flink.streaming.api.operators.AbstractStreamOperatorFactory
getChainingStrategy, getMailboxExecutor, setChainingStrategy, setMailboxExecutor, setProcessingTimeService
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.flink.streaming.api.operators.StreamOperatorFactory
getChainingStrategy, getOperatorAttributes, isInputTypeConfigurable, isLegacySource, isOutputTypeConfigurable, isStreamSource, setChainingStrategy, setInputType, setOutputType
-
-
-
-
Constructor Detail
-
CompactorOperatorFactory
public CompactorOperatorFactory(FileCompactStrategy strategy, FileCompactor fileCompactor, SerializableSupplierWithException<SimpleVersionedSerializer<FileSinkCommittable>,IOException> committableSerializerSupplier, SerializableSupplierWithException<BucketWriter<?,String>,IOException> bucketWriterProvider)
-
-
Method Detail
-
createStreamOperator
public <T extends StreamOperator<CommittableMessage<FileSinkCommittable>>> T createStreamOperator(StreamOperatorParameters<CommittableMessage<FileSinkCommittable>> parameters)
Description copied from interface:StreamOperatorFactory
Create the operator. Sets access to the context and the output.- Specified by:
createStreamOperator
in interfaceStreamOperatorFactory<CommittableMessage<FileSinkCommittable>>
-
getStreamOperatorClass
public Class<? extends StreamOperator> getStreamOperatorClass(ClassLoader classLoader)
Description copied from interface:StreamOperatorFactory
Returns the runtime class of the stream operator.- Specified by:
getStreamOperatorClass
in interfaceStreamOperatorFactory<CommittableMessage<FileSinkCommittable>>
-
-