Package org.apache.accumulo.core.data
Class NamespaceId
- All Implemented Interfaces:
Serializable
,Comparable<NamespaceId>
A strongly typed representation of a namespace ID. This class cannot be used to get a namespace
ID from a namespace name, but does provide the namespace ID string wrapped with a stronger type.
The constructor for this class will throw an error if the canonical parameter is null.
- Since:
- 2.0.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic NamespaceId
Get a NamespaceId object for the provided canonical string.
-
Method Details
-
of
Get a NamespaceId object for the provided canonical string. This is guaranteed to be non-null- Parameters:
canonical
- Namespace ID string- Returns:
- NamespaceId object
-