wvlet.airframe.ulid

Members list

Type members

Classlikes

Base 32 encoding by Douglas Crockford: https://www.crockford.com/base32.html

Base 32 encoding by Douglas Crockford: https://www.crockford.com/base32.html

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object PrefixedULID

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
case class PrefixedULID(prefix: String, ulid: ULID) extends Ordered[PrefixedULID]

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Ordered[PrefixedULID]
trait Comparable[PrefixedULID]
class Object
trait Matchable
class Any
Show all
final class ULID(ulid: String) extends Ordered[ULID]

ULID string, consisting of 26 characters.

ULID string, consisting of 26 characters.

Attributes

Companion
object
Supertypes
trait Ordered[ULID]
trait Comparable[ULID]
class Object
trait Matchable
class Any
object ULID

ULID generator implementation based on https://github.com/petitviolet/ulid4s

ULID generator implementation based on https://github.com/petitviolet/ulid4s

ULID has 128 bit value: |-- Unix timestamp milliseconds (48-bit) ---- | ----- random value (80 bits) ------ |

The string representation of ULID uses 26 characters in Crockford Base 32 representation, each character of which represents 5-bit value (0-31).

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
ULID.type
object compat

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
compat.type