public class MaterializationSnapshot extends Object
| Constructor and Description |
|---|
MaterializationSnapshot(Map<String,SnapshotContext> tableSnapshots) |
MaterializationSnapshot(String validTxnList) |
| Modifier and Type | Method and Description |
|---|---|
String |
asJsonString()
Returns the json representation of this object.
|
static MaterializationSnapshot |
fromJson(String jsonString) |
Map<String,SnapshotContext> |
getTableSnapshots()
Gets the snapshotIds of the MV source tables when the MV was created/last rebuilt
|
String |
getValidTxnList()
Gets
ValidTxnWriteIdList of the MV source tables when the MV was created/last rebuilt |
String |
toString() |
public MaterializationSnapshot(String validTxnList)
public MaterializationSnapshot(Map<String,SnapshotContext> tableSnapshots)
public static MaterializationSnapshot fromJson(String jsonString)
public String asJsonString()
String containing a json.public String getValidTxnList()
ValidTxnWriteIdList of the MV source tables when the MV was created/last rebuiltString representation of ValidTxnWriteIdList or null if all source tables are non-native.public Map<String,SnapshotContext> getTableSnapshots()
Copyright © 2024 The Apache Software Foundation. All rights reserved.