Class GuidUtils

java.lang.Object
com.linkedin.venice.guid.GuidUtils

public class GuidUtils extends Object
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 Details

    • GUID_GENERATOR_IMPLEMENTATION

      public static final String GUID_GENERATOR_IMPLEMENTATION
      See Also:
    • DEFAULT_GUID_GENERATOR_IMPLEMENTATION

      public static final String DEFAULT_GUID_GENERATOR_IMPLEMENTATION
    • DETERMINISTIC_GUID_GENERATOR_IMPLEMENTATION

      public static final String DETERMINISTIC_GUID_GENERATOR_IMPLEMENTATION
    • GUID_SIZE_IN_BYTES

      public static final int GUID_SIZE_IN_BYTES
  • Constructor Details

    • GuidUtils

      public GuidUtils()
  • Method Details

    • getGUID

      public static GUID getGUID(VeniceProperties properties)
    • getGuidFromCharSequence

      public static GUID getGuidFromCharSequence(CharSequence charSequence)
    • getCharSequenceFromGuid

      public static String getCharSequenceFromGuid(GUID guid)
    • getGuidFromHex

      public static GUID getGuidFromHex(String hexGuid)
    • getHexFromGuid

      public static String getHexFromGuid(GUID guid)
    • getGUIDString

      public static String getGUIDString()