public class WapUtil
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
publishedWapId(Snapshot snapshot) |
static java.lang.String |
stagedWapId(Snapshot snapshot) |
static java.lang.String |
validateWapPublish(TableMetadata current,
long wapSnapshotId)
Check if a given staged snapshot's associated wap-id was already published.
|
public static java.lang.String stagedWapId(Snapshot snapshot)
public static java.lang.String publishedWapId(Snapshot snapshot)
public static java.lang.String validateWapPublish(TableMetadata current, long wapSnapshotId)
current
- the current metadata
for the target tablewapSnapshotId
- a snapshot id which could have been staged and is associated with a wap id