Class PartitionCommitInfo
java.lang.Object
org.apache.flink.connector.file.table.stream.PartitionCommitInfo
- All Implemented Interfaces:
Serializable
The message sent by upstream.
Need to ensure that the partitions are ready to commit. That is to say, the files in the partition have become readable rather than temporary.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPartitionCommitInfo(long checkpointId, int taskId, int numberOfTasks, String[] partitions) -
Method Summary
Modifier and TypeMethodDescriptionlongintString[]intvoidsetCheckpointId(long checkpointId) voidsetNumberOfTasks(int numberOfTasks) voidsetPartitions(String[] partitions) voidsetTaskId(int taskId)
-
Constructor Details
-
PartitionCommitInfo
public PartitionCommitInfo() -
PartitionCommitInfo
-
-
Method Details
-
getCheckpointId
public long getCheckpointId() -
setCheckpointId
public void setCheckpointId(long checkpointId) -
getTaskId
public int getTaskId() -
setTaskId
public void setTaskId(int taskId) -
getNumberOfTasks
public int getNumberOfTasks() -
setNumberOfTasks
public void setNumberOfTasks(int numberOfTasks) -
getPartitions
-
setPartitions
-