Class CompactorRequest
- java.lang.Object
-
- org.apache.flink.connector.file.sink.compactor.operator.CompactorRequest
-
- All Implemented Interfaces:
Serializable
@Internal public class CompactorRequest extends Object implements Serializable
Request of file compacting forFileSink
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CompactorRequest(String bucketId)
CompactorRequest(String bucketId, List<FileSinkCommittable> committableToCompact, List<FileSinkCommittable> committableToPassthrough)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToCompact(FileSinkCommittable committable)
void
addToPassthrough(FileSinkCommittable committable)
String
getBucketId()
List<FileSinkCommittable>
getCommittableToCompact()
List<FileSinkCommittable>
getCommittableToPassthrough()
-
-
-
Constructor Detail
-
CompactorRequest
public CompactorRequest(String bucketId)
-
CompactorRequest
public CompactorRequest(String bucketId, List<FileSinkCommittable> committableToCompact, List<FileSinkCommittable> committableToPassthrough)
-
-
Method Detail
-
addToCompact
public void addToCompact(FileSinkCommittable committable)
-
addToPassthrough
public void addToPassthrough(FileSinkCommittable committable)
-
getBucketId
public String getBucketId()
-
getCommittableToCompact
public List<FileSinkCommittable> getCommittableToCompact()
-
getCommittableToPassthrough
public List<FileSinkCommittable> getCommittableToPassthrough()
-
-