Class PartitionCommitInfo
- java.lang.Object
-
- org.apache.flink.connector.file.table.stream.PartitionCommitInfo
-
- All Implemented Interfaces:
Serializable
@Internal public class PartitionCommitInfo extends Object implements 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PartitionCommitInfo()
PartitionCommitInfo(long checkpointId, int taskId, int numberOfTasks, String[] partitions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getCheckpointId()
int
getNumberOfTasks()
String[]
getPartitions()
int
getTaskId()
void
setCheckpointId(long checkpointId)
void
setNumberOfTasks(int numberOfTasks)
void
setPartitions(String[] partitions)
void
setTaskId(int taskId)
-
-
-
Constructor Detail
-
PartitionCommitInfo
public PartitionCommitInfo()
-
PartitionCommitInfo
public PartitionCommitInfo(long checkpointId, int taskId, int numberOfTasks, String[] partitions)
-
-
Method Detail
-
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
public String[] getPartitions()
-
setPartitions
public void setPartitions(String[] partitions)
-
-