wvlet.airframe.ulid
package wvlet.airframe.ulid
Members list
Type members
Classlikes
object CrockfordBase32
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 Objecttrait Matchableclass Any
- Self type
-
CrockfordBase32.type
object PrefixedULID
Attributes
- Companion
- class
- Supertypes
-
trait Producttrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
PrefixedULID.type
case class PrefixedULID(prefix: String, ulid: ULID) extends Ordered[PrefixedULID]
Attributes
- Companion
- object
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Ordered[PrefixedULID]trait Comparable[PrefixedULID]class Objecttrait Matchableclass AnyShow all
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
In this article