Package com.linkedin.venice.guid
Class GuidUtils
java.lang.Object
com.linkedin.venice.guid.GuidUtils
Utility class for generating GUIDs.
N.B.: This is not meant for high-throughput utilization. If that becomes a use case, we can optimize it further.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
getCharSequenceFromGuid
(GUID guid) static GUID
getGUID
(VeniceProperties properties) static GUID
getGuidFromCharSequence
(CharSequence charSequence) static GUID
getGuidFromHex
(String hexGuid) static String
static String
getHexFromGuid
(GUID guid)
-
Field Details
-
GUID_GENERATOR_IMPLEMENTATION
- See Also:
-
DEFAULT_GUID_GENERATOR_IMPLEMENTATION
-
DETERMINISTIC_GUID_GENERATOR_IMPLEMENTATION
-
GUID_SIZE_IN_BYTES
public static final int GUID_SIZE_IN_BYTES
-
-
Constructor Details
-
GuidUtils
public GuidUtils()
-
-
Method Details
-
getGUID
-
getGuidFromCharSequence
-
getCharSequenceFromGuid
-
getGuidFromHex
-
getHexFromGuid
-
getGUIDString
-