@InterfaceAudience.Private public class ClientSnapshotDescriptionUtils extends Object
| 构造器和说明 |
|---|
ClientSnapshotDescriptionUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
assertSnapshotRequestIsValid(SnapshotProtos.SnapshotDescription snapshot)
Check to make sure that the description of the snapshot requested is valid
|
static String |
toString(SnapshotProtos.SnapshotDescription ssd)
Returns a single line (no \n) representation of snapshot metadata.
|
public static void assertSnapshotRequestIsValid(SnapshotProtos.SnapshotDescription snapshot) throws IllegalArgumentException
snapshot - description of the snapshotIllegalArgumentException - if the name of the snapshot or the name of the table to
snapshot are not valid names.public static String toString(SnapshotProtos.SnapshotDescription ssd)
AbstractMessage.toString(). We don't replace SnapshotDescrpition's toString
because it is auto-generated by protoc.ssd - Copyright © 2007–2019. All rights reserved.