@InterfaceAudience.Private public final class ClientSnapshotDescriptionUtils extends Object
Modifier | Constructor and Description |
---|---|
private |
ClientSnapshotDescriptionUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
assertSnapshotRequestIsValid(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshot)
Check to make sure that the description of the snapshot requested is valid
|
static String |
toString(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshot)
Returns a single line (no \n) representation of snapshot metadata.
|
private ClientSnapshotDescriptionUtils()
public static void assertSnapshotRequestIsValid(org.apache.hadoop.hbase.shaded.protobuf.generated.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 namespublic static String toString(org.apache.hadoop.hbase.shaded.protobuf.generated.SnapshotProtos.SnapshotDescription snapshot)
AbstractMessage.toString()
.
We don't replace
HBaseProtos.SnapshotDescription
's
toString
, because it is auto-generated by protoc.snapshot
- description of the snapshotCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.