Package org.apache.accumulo.core.data
Class InstanceId
- All Implemented Interfaces:
Serializable
,Comparable<InstanceId>
A strongly typed representation of an Accumulo instance ID. The constructor for this class will
throw an error if the canonical parameter is null.
- Since:
- 2.1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic InstanceId
Get a InstanceId object for the provided canonical string.static InstanceId
Get a InstanceId object for the provided uuid.
-
Method Details
-
of
Get a InstanceId object for the provided canonical string. This is guaranteed to be non-null- Parameters:
canonical
- Instance ID string- Returns:
- InstanceId object
-
of
Get a InstanceId object for the provided uuid. This is guaranteed to be non-null- Parameters:
uuid
- UUID object- Returns:
- InstanceId object
-