Packages

object TypeID

Source
TypeID.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TypeID
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed trait BuildError extends AnyRef
  2. sealed trait DecodeError extends AnyRef
  3. trait TypeIDGenerator[F[_]] extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def build(prefix: String, uuid: UUID, enforceUUIDV7: Boolean = true): ValidatedNec[BuildError, TypeID]

    Build a TypeID based on the supplied prefix and uuid.

    Build a TypeID based on the supplied prefix and uuid.

    prefix

    a string at most 63 characters in all lowercase ASCII [a-z].

    enforceUUIDV7

    true by default. When set to false, allows to build an out of spec TypeID based on a other type of UUID.

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def decode(typeIDString: String, enforceUUIDV7: Boolean = true): ValidatedNec[DecodeError, TypeID]

    Decode a TypeID from a string representation.

    Decode a TypeID from a string representation.

    enforceUUIDV7

    true by default. When set to false, allows to decode an out of spec TypeID based on a other type of UUID.

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  11. def generator[F[_]](prefix: String)(implicit arg0: Async[F]): F[() => F[TypeID]]

    Return a UUID V7 based TypeID generator with fixed prefix.

    Return a UUID V7 based TypeID generator with fixed prefix.

    prefix

    a string at most 63 characters in all lowercase ASCII [a-z]. Will lift an error in the F context if the prefix is invalid.

  12. def generator[F[_]](implicit arg0: Async[F]): F[TypeIDGenerator[F]]

    Return a UUID V7 based TypeID generator.

  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. implicit val typeIDEq: Eq[TypeID]
  22. implicit val typeIDOrd: Order[TypeID]
  23. implicit val typeIDOrdering: Ordering[TypeID]
  24. implicit val typeIDShow: Show[TypeID]
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  26. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  27. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  28. object BuildError
  29. object DecodeError

Inherited from AnyRef

Inherited from Any

Ungrouped