@InterfaceAudience.Private public class ClusterId extends Object
Constructor and Description |
---|
ClusterId()
New ClusterID.
|
ClusterId(String uuid) |
Modifier and Type | Method and Description |
---|---|
(package private) org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId |
convert() |
(package private) static ClusterId |
convert(org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId cid) |
static ClusterId |
parseFrom(byte[] bytes) |
byte[] |
toByteArray() |
String |
toString() |
private final String id
public ClusterId()
public ClusterId(String uuid)
public byte[] toByteArray()
public static ClusterId parseFrom(byte[] bytes) throws DeserializationException
bytes
- A pb serialized ClusterId
instance with pb magic prefixClusterId
made from bytes
DeserializationException
toByteArray()
org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId convert()
static ClusterId convert(org.apache.hadoop.hbase.protobuf.generated.ClusterIdProtos.ClusterId cid)
cid
- ClusterId
made from the passed in cid
public String toString()
toString
in class Object
Object.toString()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.