Class

wvlet.airframe.codec.CollectionCodec

JavaMapCodec

Related Doc: package CollectionCodec

Permalink

case class JavaMapCodec[A, B](keyCodec: MessageCodec[A], valueCodec: MessageCodec[B]) extends MapCodecBase[A, B, Map] with Product with Serializable

Linear Supertypes
Product, Equals, MapCodecBase[A, B, Map], MessageCodec[Map[A, B]], LogSupport, LazyLogger, LoggingMethods, Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JavaMapCodec
  2. Product
  3. Equals
  4. MapCodecBase
  5. MessageCodec
  6. LogSupport
  7. LazyLogger
  8. LoggingMethods
  9. Serializable
  10. Serializable
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JavaMapCodec(keyCodec: MessageCodec[A], valueCodec: MessageCodec[B])

    Permalink

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def castResult(v: Any): Map[A, B]

    Permalink
    Attributes
    protected
    Definition Classes
    JavaMapCodecMapCodecBase
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  7. macro def debug(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  8. macro def debug(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. macro def error(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  11. macro def error(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  12. def fromJson(json: String): Map[A, B]

    Permalink
    Definition Classes
    MessageCodec
  13. def fromMap(m: Map[String, Any]): Map[A, B]

    Permalink
    Definition Classes
    MessageCodec
  14. def fromMsgPack(msgpack: Array[Byte]): Map[A, B]

    Permalink
    Definition Classes
    MessageCodec
  15. def fromString(s: String): Map[A, B]

    Permalink

    A shortcut for fromMsgPack(StringCodec.toMsgPack(s))

    A shortcut for fromMsgPack(StringCodec.toMsgPack(s))

    Definition Classes
    MessageCodec
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  17. macro def info(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  18. macro def info(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. val keyCodec: MessageCodec[A]

    Permalink
  21. macro def logAt(logLevel: LogLevel, message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  22. lazy val logger: Logger

    Permalink
    Attributes
    protected[this]
    Definition Classes
    LazyLogger
  23. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  24. def newMapBuilder: Builder[(Any, Any), Map[Any, Any]]

    Permalink
    Attributes
    protected
    Definition Classes
    JavaMapCodecMapCodecBase
  25. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  26. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  27. def pack(p: Packer, m: Map[A, B]): Unit

    Permalink
    Definition Classes
    JavaMapCodecMessageCodec
  28. def pack(v: Map[A, B]): MsgPack

    Permalink

    Converting the object into MessagePack (= Array[Byte])

    Converting the object into MessagePack (= Array[Byte])

    Definition Classes
    MessageCodec
  29. def packMap(p: Packer, m: Map[A, B]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    MapCodecBase
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def toJSONObject(v: Map[A, B]): JSONObject

    Permalink
    Definition Classes
    MessageCodec
  32. def toJson(v: Map[A, B]): String

    Permalink
    Definition Classes
    MessageCodec
  33. def toMsgPack(v: Map[A, B]): Array[Byte]

    Permalink
    Definition Classes
    MessageCodec
  34. macro def trace(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  35. macro def trace(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  36. def unpack(u: Unpacker, v: MessageContext): Unit

    Permalink
    Definition Classes
    JavaMapCodecMessageCodec
  37. def unpack(msgpack: MsgPack): Map[A, B]

    Permalink

    Converting the input MessagePack into an object.

    Converting the input MessagePack into an object. If the conversion fails, throw an IllegalArgumentException

    Definition Classes
    MessageCodec
  38. def unpackBytes(msgpack: Array[Byte], offset: Int, len: Int): Option[Map[A, B]]

    Permalink
    Definition Classes
    MessageCodec
  39. def unpackBytes(msgpack: Array[Byte]): Option[Map[A, B]]

    Permalink
    Definition Classes
    MessageCodec
  40. def unpackJson(json: String): Option[Map[A, B]]

    Permalink
    Definition Classes
    MessageCodec
  41. def unpackMap(u: Unpacker, v: MessageContext): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    MapCodecBase
  42. def unpackMsgPack(msgpack: Array[Byte], offset: Int, len: Int): Option[Map[A, B]]

    Permalink
    Definition Classes
    MessageCodec
  43. def unpackMsgPack(msgpack: Array[Byte]): Option[Map[A, B]]

    Permalink
    Definition Classes
    MessageCodec
  44. val valueCodec: MessageCodec[B]

    Permalink
  45. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. macro def warn(message: Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods
  49. macro def warn(message: Any): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    LoggingMethods

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Product

Inherited from Equals

Inherited from MapCodecBase[A, B, Map]

Inherited from MessageCodec[Map[A, B]]

Inherited from LogSupport

Inherited from LazyLogger

Inherited from LoggingMethods

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped