Packages

class AnyCodec extends Codec[Any]

AnyCodec: Capable of encoding/decoding values of Any type by fetching the correct type from a CodecRegistry.

NOTE: Requested types must be available within the Regsitry specified.

Linear Supertypes
Codec[Any], Decoder[Any], Encoder[Any], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AnyCodec
  2. Codec
  3. Decoder
  4. Encoder
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AnyCodec(registry: CodecRegistry)

    registry

    Registry to use to find Codecs.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from AnyCodec to any2stringadd[AnyCodec] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (AnyCodec, B)
    Implicit
    This member is added by an implicit conversion from AnyCodec to ArrowAssoc[AnyCodec] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val childN: String
  8. def classForName(name: String): Class[_]
  9. val classN: String
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  11. def codec(clazz: Class[_]): Codec[Any]
  12. def decode(reader: BsonReader, ctx: DecoderContext): Any
    Definition Classes
    AnyCodec → Decoder
  13. def encode(writer: BsonWriter, value: Any, ctx: EncoderContext): Unit
    Definition Classes
    AnyCodec → Encoder
  14. def ensuring(cond: (AnyCodec) ⇒ Boolean, msg: ⇒ Any): AnyCodec
    Implicit
    This member is added by an implicit conversion from AnyCodec to Ensuring[AnyCodec] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (AnyCodec) ⇒ Boolean): AnyCodec
    Implicit
    This member is added by an implicit conversion from AnyCodec to Ensuring[AnyCodec] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: ⇒ Any): AnyCodec
    Implicit
    This member is added by an implicit conversion from AnyCodec to Ensuring[AnyCodec] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): AnyCodec
    Implicit
    This member is added by an implicit conversion from AnyCodec to Ensuring[AnyCodec] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from AnyCodec to StringFormat[AnyCodec] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  22. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  23. def getEncoderClass(): Class[Any]
    Definition Classes
    AnyCodec → Encoder
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. val registry: CodecRegistry
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  35. def [B](y: B): (AnyCodec, B)
    Implicit
    This member is added by an implicit conversion from AnyCodec to ArrowAssoc[AnyCodec] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Codec[Any]

Inherited from Decoder[Any]

Inherited from Encoder[Any]

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from AnyCodec to any2stringadd[AnyCodec]

Inherited by implicit conversion StringFormat from AnyCodec to StringFormat[AnyCodec]

Inherited by implicit conversion Ensuring from AnyCodec to Ensuring[AnyCodec]

Inherited by implicit conversion ArrowAssoc from AnyCodec to ArrowAssoc[AnyCodec]

Ungrouped