JavaMapCodec

case class JavaMapCodec[A, B](keyCodec: MessageCodec[A], valueCodec: MessageCodec[B]) extends MapCodecBase[A, B, [K <: <FromJavaObject>, V <: <FromJavaObject>] =>> Map[K, V]]
trait Product
trait Equals
class MapCodecBase[A, B, [K <: <FromJavaObject>, V <: <FromJavaObject>] =>> Map[K, V]]
trait MessageCodec[Map[A, B]]
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

override def pack(p: Packer, m: Map[A, B]): Unit
Definition Classes
override def unpack(u: Unpacker, v: MessageContext): Unit
Definition Classes

Inherited methods

inline protected def debug(inline message: Any, inline cause: Throwable): Unit
Inherited from:
LoggingMethods
inline protected def debug(inline message: Any): Unit
Inherited from:
LoggingMethods
inline protected def error(inline message: Any, inline cause: Throwable): Unit
Inherited from:
LoggingMethods
inline protected def error(inline message: Any): Unit
Inherited from:
LoggingMethods
def fromJson(json: Array[Byte]): Map[A, B]
Inherited from:
MessageCodec
def fromJson(json: String): Map[A, B]
Inherited from:
MessageCodec
def fromMap(m: Map[String, Any]): Map[A, B]
Inherited from:
MessageCodec
def fromMsgPack(msgpack: Array[Byte]): Map[A, B]
Inherited from:
MessageCodec
def fromString(s: String): Map[A, B]

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

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

Inherited from:
MessageCodec
inline protected def info(inline message: Any, inline cause: Throwable): Unit
Inherited from:
LoggingMethods
inline protected def info(inline message: Any): Unit
Inherited from:
LoggingMethods
inline protected def logAt(inline logLevel: LogLevel, inline message: Any): Unit
Inherited from:
LoggingMethods
def pack(v: Map[A, B]): MsgPack

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

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

Inherited from:
MessageCodec
protected def packMap(p: Packer, m: Map[A, B]): Unit
Inherited from:
MapCodecBase
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product
def toJSONObject(v: Map[A, B]): JSONObject
Inherited from:
MessageCodec
def toJson(v: Map[A, B]): String
Inherited from:
MessageCodec
def toMsgPack(v: Map[A, B]): Array[Byte]
Inherited from:
MessageCodec
inline protected def trace(inline message: Any, inline cause: Throwable): Unit
Inherited from:
LoggingMethods
inline protected def trace(inline message: Any): Unit
Inherited from:
LoggingMethods
def unpack(msgpack: MsgPack): Map[A, B]

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

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

Inherited from:
MessageCodec
def unpackBytes(msgpack: Array[Byte], offset: Int, len: Int): Option[Map[A, B]]
Inherited from:
MessageCodec
def unpackBytes(msgpack: Array[Byte]): Option[Map[A, B]]
Inherited from:
MessageCodec
def unpackJson(json: String): Option[Map[A, B]]
Inherited from:
MessageCodec
protected def unpackMap(u: Unpacker, v: MessageContext): Unit
Inherited from:
MapCodecBase
def unpackMsgPack(msgpack: Array[Byte], offset: Int, len: Int): Option[Map[A, B]]
Inherited from:
MessageCodec
def unpackMsgPack(msgpack: Array[Byte]): Option[Map[A, B]]
Inherited from:
MessageCodec
inline protected def warn(inline message: Any, inline cause: Throwable): Unit
Inherited from:
LoggingMethods
inline protected def warn(inline message: Any): Unit
Inherited from:
LoggingMethods