Class UUIDv6

java.lang.Object
com.datastax.astra.client.model.UUIDv6

public class UUIDv6 extends Object
Materializing the UUIDv6 as a specialization class to drive serialization and deserialization.
  • Constructor Details

    • UUIDv6

      public UUIDv6()
      Default constructor.
    • UUIDv6

      public UUIDv6(UUID uuid)
      Constructor.
      Parameters:
      uuid - uuid
  • Method Details

    • toUUID

      public UUID toUUID()
      Return the Java Utils UUID.
      Returns:
      uuid value
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • fromString

      public static UUIDv6 fromString(String strUUID)
      Generate from a string.
      Parameters:
      strUUID - uuid as a String
      Returns:
      an instance of UUIDv6