Trait

scala.pickling.pickler

EitherPicklers

Related Doc: package pickler

Permalink

trait EitherPicklers extends EitherPicklersRuntime with GeneratorRegistry

Generate Picklers and Unpicklers for Either and its subclasses Right and Left.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. EitherPicklers
  2. GeneratorRegistry
  3. EitherPicklersRuntime
  4. GeneratorHelper
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. type FastTypeTagSpecializer[T] = (tags.FastTypeTag[_]) ⇒ tags.FastTypeTag[T]

    Permalink
    Definition Classes
    GeneratorHelper
  2. type GenPicklerSignature[PU[_]] = (ClassLoader, Class[_], tags.FastTypeTag[_]) ⇒ PU[_]

    Permalink
    Definition Classes
    GeneratorHelper

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object RuntimeEitherPicklerUnpickler extends AbstractPicklerUnpickler[Either[Any, Any]]

    Permalink

    Custom runtime Pickler and Unpickler generator of Either.

    Custom runtime Pickler and Unpickler generator of Either.

    Definition Classes
    EitherPicklersRuntime
  5. object RuntimeLeftPicklerUnpickler extends AbstractPicklerUnpickler[Left[Any, Any]]

    Permalink

    Custom runtime Pickler and Unpickler generator of Left.

    Custom runtime Pickler and Unpickler generator of Left.

    Definition Classes
    EitherPicklersRuntime
  6. object RuntimeRightPicklerUnpickler extends AbstractPicklerUnpickler[Right[Any, Any]]

    Permalink

    Custom runtime Pickler and Unpickler generator of Right.

    Custom runtime Pickler and Unpickler generator of Right.

    Definition Classes
    EitherPicklersRuntime
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def generateHelper[T](elementTagExtractor: FastTypeTagSpecializer[T])(tpe: tags.FastTypeTag[_]): (Pickler[T], Unpickler[T])

    Permalink

    Creates a pickling generator that can be registered at runtime.

    Creates a pickling generator that can be registered at runtime.

    Definition Classes
    GeneratorHelper
  13. def get[PU[_], S](query: (String) ⇒ Option[PU[_]], key: String, error: ⇒ Throwable): PU[S]

    Permalink

    Generic get that abstracts over Pickler and Unpickler.

    Generic get that abstracts over Pickler and Unpickler.

    Definition Classes
    GeneratorHelper
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def getPickler[T, S](tpe: tags.FastTypeTag[T], fullTpe: tags.FastTypeTag[S]): Pickler[T]

    Permalink

    Get a pickler from the registry or throw exception otherwise.

    Get a pickler from the registry or throw exception otherwise.

    Definition Classes
    GeneratorHelper
  16. def getUnpickler[T, S](tpe: tags.FastTypeTag[T], fullTpe: tags.FastTypeTag[S]): Unpickler[T]

    Permalink

    Get a unpickler from the registry or throw exception otherwise.

    Get a unpickler from the registry or throw exception otherwise.

    Definition Classes
    GeneratorHelper
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def oneArgumentTagExtractor[T](tpe: tags.FastTypeTag[_]): tags.FastTypeTag[T]

    Permalink

    Extract one type parameter from a type constructor and cast them to a concrete type T.

    Extract one type parameter from a type constructor and cast them to a concrete type T.

    T

    Type we want to convert to

    returns

    A tag holding information about T

    Definition Classes
    GeneratorHelper
  23. implicit def pickleUnpickleEither[L, R](implicit rp: Pickler[Right[L, R]], ru: Unpickler[Right[L, R]], lp: Pickler[Left[L, R]], lu: Unpickler[Left[L, R]], t: FastTypeTag[Either[L, R]]): AbstractPicklerUnpickler[Either[L, R]]

    Permalink
  24. implicit def pickleUnpickleLeft[L, R](implicit lp: Pickler[L], lu: Unpickler[L], t: FastTypeTag[Left[L, R]]): AbstractPicklerUnpickler[Left[L, R]]

    Permalink
  25. implicit def pickleUnpickleRight[L, R](implicit rp: Pickler[R], ru: Unpickler[R], t: FastTypeTag[Right[L, R]]): AbstractPicklerUnpickler[Right[L, R]]

    Permalink
  26. def registerGen[T](tag: String, gen: PicklerUnpicklerGen[T]): Unit

    Permalink
    Definition Classes
    GeneratorRegistry
  27. def registerPicklerAsGen[T](pu: Pickler[T] with Unpickler[T]): Unit

    Permalink
    Definition Classes
    GeneratorRegistry
  28. def specialize[T](tag: tags.FastTypeTag[_]): tags.FastTypeTag[T]

    Permalink

    Specialize a FastTypeTag for a type T.

    Specialize a FastTypeTag for a type T.

    Definition Classes
    GeneratorHelper
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. def twoArgumentTagExtractor[T, S](tpe: tags.FastTypeTag[_]): (tags.FastTypeTag[T], tags.FastTypeTag[S])

    Permalink

    Extract two type parameters from a type constructor and cast them to some concrete types T and S.

    Extract two type parameters from a type constructor and cast them to some concrete types T and S.

    T

    First type we want to convert to

    S

    Second type we want to convert to

    returns

    A tuple of tags of (T, S)

    Definition Classes
    GeneratorHelper
  32. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from GeneratorRegistry

Inherited from EitherPicklersRuntime

Inherited from GeneratorHelper

Inherited from AnyRef

Inherited from Any

Ungrouped