@InterfaceAudience.Private public class ClientSnapshotDescriptionUtils extends java.lang.Object
| Constructor and Description |
|---|
ClientSnapshotDescriptionUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
assertSnapshotRequestIsValid(HBaseProtos.SnapshotDescription snapshot)
Check to make sure that the description of the snapshot requested is valid
|
static java.lang.String |
toString(HBaseProtos.SnapshotDescription ssd)
Returns a single line (no \n) representation of snapshot metadata.
|
public static void assertSnapshotRequestIsValid(HBaseProtos.SnapshotDescription snapshot) throws java.lang.IllegalArgumentException
snapshot - description of the snapshotjava.lang.IllegalArgumentException - if the name of the snapshot or the name of the table to
snapshot are not valid names.public static java.lang.String toString(HBaseProtos.SnapshotDescription ssd)
Object.toString(). We don't replace SnapshotDescrpition's toString
because it is auto-generated by protoc.ssd -