public class StarrocksSnapshotState extends Object implements Serializable
| Constructor and Description |
|---|
StarrocksSnapshotState() |
| Modifier and Type | Method and Description |
|---|---|
Map<Long,List<com.starrocks.data.load.stream.StreamLoadSnapshot>> |
getData() |
List<ExactlyOnceLabelGeneratorSnapshot> |
getLabelSnapshots() |
String |
getVersion() |
static StarrocksSnapshotState |
of(Map<Long,List<com.starrocks.data.load.stream.StreamLoadSnapshot>> data,
List<ExactlyOnceLabelGeneratorSnapshot> labelSnapshots) |
void |
setData(Map<Long,List<com.starrocks.data.load.stream.StreamLoadSnapshot>> data) |
void |
setLabelSnapshots(List<ExactlyOnceLabelGeneratorSnapshot> labelSnapshots) |
void |
setVersion(String version) |
public static StarrocksSnapshotState of(Map<Long,List<com.starrocks.data.load.stream.StreamLoadSnapshot>> data, List<ExactlyOnceLabelGeneratorSnapshot> labelSnapshots)
public String getVersion()
public void setVersion(String version)
@Nullable public List<ExactlyOnceLabelGeneratorSnapshot> getLabelSnapshots()
public void setLabelSnapshots(@Nullable List<ExactlyOnceLabelGeneratorSnapshot> labelSnapshots)
Copyright © 2023. All rights reserved.