io.github.raptros.bson

CodecBson

object CodecBson extends CodecBsons

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. CodecBson
  2. CodecBsons
  3. GeneratedCodecBsons
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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. def apply[A](encoder: (A) ⇒ DBObject, decoder: (DBObject) ⇒ DecodeResult[A]): CodecBson[A]

    builds a codec from an encoding function and a decoding function.

    builds a codec from an encoding function and a decoding function.

    A

    the type for the codec instance.

    encoder

    a function that converts an instance of A to a DBObject.

    decoder

    a function that takes a DBObject and attempts to decode it as an A.

    returns

    a CodecBson[A].

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. def bsonCaseCodec1[A, X](f: (A) ⇒ X, g: (X) ⇒ Option[A])(ak: String)(implicit arg0: EncodeBsonField[A], arg1: DecodeBsonField[A]): CodecBson[X]

    Definition Classes
    GeneratedCodecBsons
  7. def bsonCaseCodec10[A, B, C, D, E, F, G, H, I, J, X](f: (A, B, C, D, E, F, G, H, I, J) ⇒ X, g: (X) ⇒ Option[(A, B, C, D, E, F, G, H, I, J)])(ak: String, bk: String, ck: String, dk: String, ek: String, fk: String, gk: String, hk: String, ik: String, jk: String)(implicit arg0: EncodeBsonField[A], arg1: DecodeBsonField[A], arg2: EncodeBsonField[B], arg3: DecodeBsonField[B], arg4: EncodeBsonField[C], arg5: DecodeBsonField[C], arg6: EncodeBsonField[D], arg7: DecodeBsonField[D], arg8: EncodeBsonField[E], arg9: DecodeBsonField[E], arg10: EncodeBsonField[F], arg11: DecodeBsonField[F], arg12: EncodeBsonField[G], arg13: DecodeBsonField[G], arg14: EncodeBsonField[H], arg15: DecodeBsonField[H], arg16: EncodeBsonField[I], arg17: DecodeBsonField[I], arg18: EncodeBsonField[J], arg19: DecodeBsonField[J]): CodecBson[X]

    Definition Classes
    GeneratedCodecBsons
  8. def bsonCaseCodec11[A, B, C, D, E, F, G, H, I, J, K, X](f: (A, B, C, D, E, F, G, H, I, J, K) ⇒ X, g: (X) ⇒ Option[(A, B, C, D, E, F, G, H, I, J, K)])(ak: String, bk: String, ck: String, dk: String, ek: String, fk: String, gk: String, hk: String, ik: String, jk: String, kk: String)(implicit arg0: EncodeBsonField[A], arg1: DecodeBsonField[A], arg2: EncodeBsonField[B], arg3: DecodeBsonField[B], arg4: EncodeBsonField[C], arg5: DecodeBsonField[C], arg6: EncodeBsonField[D], arg7: DecodeBsonField[D], arg8: EncodeBsonField[E], arg9: DecodeBsonField[E], arg10: EncodeBsonField[F], arg11: DecodeBsonField[F], arg12: EncodeBsonField[G], arg13: DecodeBsonField[G], arg14: EncodeBsonField[H], arg15: DecodeBsonField[H], arg16: EncodeBsonField[I], arg17: DecodeBsonField[I], arg18: EncodeBsonField[J], arg19: DecodeBsonField[J], arg20: EncodeBsonField[K], arg21: DecodeBsonField[K]): CodecBson[X]

    Definition Classes
    GeneratedCodecBsons
  9. def bsonCaseCodec12[A, B, C, D, E, F, G, H, I, J, K, L, X](f: (A, B, C, D, E, F, G, H, I, J, K, L) ⇒ X, g: (X) ⇒ Option[(A, B, C, D, E, F, G, H, I, J, K, L)])(ak: String, bk: String, ck: String, dk: String, ek: String, fk: String, gk: String, hk: String, ik: String, jk: String, kk: String, lk: String)(implicit arg0: EncodeBsonField[A], arg1: DecodeBsonField[A], arg2: EncodeBsonField[B], arg3: DecodeBsonField[B], arg4: EncodeBsonField[C], arg5: DecodeBsonField[C], arg6: EncodeBsonField[D], arg7: DecodeBsonField[D], arg8: EncodeBsonField[E], arg9: DecodeBsonField[E], arg10: EncodeBsonField[F], arg11: DecodeBsonField[F], arg12: EncodeBsonField[G], arg13: DecodeBsonField[G], arg14: EncodeBsonField[H], arg15: DecodeBsonField[H], arg16: EncodeBsonField[I], arg17: DecodeBsonField[I], arg18: EncodeBsonField[J], arg19: DecodeBsonField[J], arg20: EncodeBsonField[K], arg21: DecodeBsonField[K], arg22: EncodeBsonField[L], arg23: DecodeBsonField[L]): CodecBson[X]

    Definition Classes
    GeneratedCodecBsons
  10. def bsonCaseCodec2[A, B, X](f: (A, B) ⇒ X, g: (X) ⇒ Option[(A, B)])(ak: String, bk: String)(implicit arg0: EncodeBsonField[A], arg1: DecodeBsonField[A], arg2: EncodeBsonField[B], arg3: DecodeBsonField[B]): CodecBson[X]

    Definition Classes
    GeneratedCodecBsons
  11. def bsonCaseCodec3[A, B, C, X](f: (A, B, C) ⇒ X, g: (X) ⇒ Option[(A, B, C)])(ak: String, bk: String, ck: String)(implicit arg0: EncodeBsonField[A], arg1: DecodeBsonField[A], arg2: EncodeBsonField[B], arg3: DecodeBsonField[B], arg4: EncodeBsonField[C], arg5: DecodeBsonField[C]): CodecBson[X]

    Definition Classes
    GeneratedCodecBsons
  12. def bsonCaseCodec4[A, B, C, D, X](f: (A, B, C, D) ⇒ X, g: (X) ⇒ Option[(A, B, C, D)])(ak: String, bk: String, ck: String, dk: String)(implicit arg0: EncodeBsonField[A], arg1: DecodeBsonField[A], arg2: EncodeBsonField[B], arg3: DecodeBsonField[B], arg4: EncodeBsonField[C], arg5: DecodeBsonField[C], arg6: EncodeBsonField[D], arg7: DecodeBsonField[D]): CodecBson[X]

    Definition Classes
    GeneratedCodecBsons
  13. def bsonCaseCodec5[A, B, C, D, E, X](f: (A, B, C, D, E) ⇒ X, g: (X) ⇒ Option[(A, B, C, D, E)])(ak: String, bk: String, ck: String, dk: String, ek: String)(implicit arg0: EncodeBsonField[A], arg1: DecodeBsonField[A], arg2: EncodeBsonField[B], arg3: DecodeBsonField[B], arg4: EncodeBsonField[C], arg5: DecodeBsonField[C], arg6: EncodeBsonField[D], arg7: DecodeBsonField[D], arg8: EncodeBsonField[E], arg9: DecodeBsonField[E]): CodecBson[X]

    Definition Classes
    GeneratedCodecBsons
  14. def bsonCaseCodec6[A, B, C, D, E, F, X](f: (A, B, C, D, E, F) ⇒ X, g: (X) ⇒ Option[(A, B, C, D, E, F)])(ak: String, bk: String, ck: String, dk: String, ek: String, fk: String)(implicit arg0: EncodeBsonField[A], arg1: DecodeBsonField[A], arg2: EncodeBsonField[B], arg3: DecodeBsonField[B], arg4: EncodeBsonField[C], arg5: DecodeBsonField[C], arg6: EncodeBsonField[D], arg7: DecodeBsonField[D], arg8: EncodeBsonField[E], arg9: DecodeBsonField[E], arg10: EncodeBsonField[F], arg11: DecodeBsonField[F]): CodecBson[X]

    Definition Classes
    GeneratedCodecBsons
  15. def bsonCaseCodec7[A, B, C, D, E, F, G, X](f: (A, B, C, D, E, F, G) ⇒ X, g: (X) ⇒ Option[(A, B, C, D, E, F, G)])(ak: String, bk: String, ck: String, dk: String, ek: String, fk: String, gk: String)(implicit arg0: EncodeBsonField[A], arg1: DecodeBsonField[A], arg2: EncodeBsonField[B], arg3: DecodeBsonField[B], arg4: EncodeBsonField[C], arg5: DecodeBsonField[C], arg6: EncodeBsonField[D], arg7: DecodeBsonField[D], arg8: EncodeBsonField[E], arg9: DecodeBsonField[E], arg10: EncodeBsonField[F], arg11: DecodeBsonField[F], arg12: EncodeBsonField[G], arg13: DecodeBsonField[G]): CodecBson[X]

    Definition Classes
    GeneratedCodecBsons
  16. def bsonCaseCodec8[A, B, C, D, E, F, G, H, X](f: (A, B, C, D, E, F, G, H) ⇒ X, g: (X) ⇒ Option[(A, B, C, D, E, F, G, H)])(ak: String, bk: String, ck: String, dk: String, ek: String, fk: String, gk: String, hk: String)(implicit arg0: EncodeBsonField[A], arg1: DecodeBsonField[A], arg2: EncodeBsonField[B], arg3: DecodeBsonField[B], arg4: EncodeBsonField[C], arg5: DecodeBsonField[C], arg6: EncodeBsonField[D], arg7: DecodeBsonField[D], arg8: EncodeBsonField[E], arg9: DecodeBsonField[E], arg10: EncodeBsonField[F], arg11: DecodeBsonField[F], arg12: EncodeBsonField[G], arg13: DecodeBsonField[G], arg14: EncodeBsonField[H], arg15: DecodeBsonField[H]): CodecBson[X]

    Definition Classes
    GeneratedCodecBsons
  17. def bsonCaseCodec9[A, B, C, D, E, F, G, H, I, X](f: (A, B, C, D, E, F, G, H, I) ⇒ X, g: (X) ⇒ Option[(A, B, C, D, E, F, G, H, I)])(ak: String, bk: String, ck: String, dk: String, ek: String, fk: String, gk: String, hk: String, ik: String)(implicit arg0: EncodeBsonField[A], arg1: DecodeBsonField[A], arg2: EncodeBsonField[B], arg3: DecodeBsonField[B], arg4: EncodeBsonField[C], arg5: DecodeBsonField[C], arg6: EncodeBsonField[D], arg7: DecodeBsonField[D], arg8: EncodeBsonField[E], arg9: DecodeBsonField[E], arg10: EncodeBsonField[F], arg11: DecodeBsonField[F], arg12: EncodeBsonField[G], arg13: DecodeBsonField[G], arg14: EncodeBsonField[H], arg15: DecodeBsonField[H], arg16: EncodeBsonField[I], arg17: DecodeBsonField[I]): CodecBson[X]

    Definition Classes
    GeneratedCodecBsons
  18. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. implicit def derived[A](implicit e: EncodeBson[A], d: DecodeBson[A]): CodecBson[A]

    implicitly derives a CodecBson instance for A from existing EncodeBson and DecodeBson instances.

  20. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  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
  28. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  30. def toString(): String

    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from CodecBsons

Inherited from GeneratedCodecBsons

Inherited from AnyRef

Inherited from Any

Ungrouped