PrimitiveCodec

wvlet.airframe.codec.PrimitiveCodec$

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object AnyArrayCodec extends MessageCodec[Array[Any]], PrimitiveArrayCodec

Attributes

Supertypes
trait MessageCodec[Array[Any]]
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
class AnyCodec(codecFactory: MessageCodecFactory, knownSurfaces: Seq[Surface]) extends MessageCodec[Any]

Codec for Any values. This only supports very basic types to enable packing/unpacking collections like Seq[Any], Map[Any, Any] at ease.

Codec for Any values. This only supports very basic types to enable packing/unpacking collections like Seq[Any], Map[Any, Any] at ease.

Another option to implement AnyCodec is packing pairs of (type, value), but we will not take this approach as this will require many bytes to fully encode type names.

Attributes

Companion
object
Supertypes
trait MessageCodec[Any]
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
object AnyCodec

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
AnyCodec.type
object BigIntCodec extends PrimitiveCodec[BigInt]

Attributes

Supertypes
trait PrimitiveCodec[BigInt]
trait MessageCodec[BigInt]
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
object BigIntegerCodec extends PrimitiveCodec[BigInteger]

Attributes

Supertypes
trait PrimitiveCodec[BigInteger]
trait MessageCodec[BigInteger]
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
object BooleanArrayCodec extends MessageCodec[Array[Boolean]], PrimitiveArrayCodec

Attributes

Supertypes
trait MessageCodec[Array[Boolean]]
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
object BooleanCodec extends PrimitiveCodec[Boolean]

Attributes

Supertypes
trait PrimitiveCodec[Boolean]
trait MessageCodec[Boolean]
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
object ByteArrayCodec extends MessageCodec[Array[Byte]]

Attributes

Supertypes
trait MessageCodec[Array[Byte]]
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
object ByteCodec extends PrimitiveCodec[Byte]

Attributes

Supertypes
trait PrimitiveCodec[Byte]
trait MessageCodec[Byte]
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
ByteCodec.type
object CharArrayCodec extends MessageCodec[Array[Char]], PrimitiveArrayCodec

Attributes

Supertypes
trait MessageCodec[Array[Char]]
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
object CharCodec extends PrimitiveCodec[Char]

Attributes

Supertypes
trait PrimitiveCodec[Char]
trait MessageCodec[Char]
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
CharCodec.type
object DoubleArrayCodec extends MessageCodec[Array[Double]], PrimitiveArrayCodec

Attributes

Supertypes
trait MessageCodec[Array[Double]]
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
object DoubleCodec extends PrimitiveCodec[Double]

Attributes

Supertypes
trait PrimitiveCodec[Double]
trait MessageCodec[Double]
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
object FloatArrayCodec extends MessageCodec[Array[Float]], PrimitiveArrayCodec

Attributes

Supertypes
trait MessageCodec[Array[Float]]
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
object FloatCodec extends PrimitiveCodec[Float]

Attributes

Supertypes
trait PrimitiveCodec[Float]
trait MessageCodec[Float]
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
FloatCodec.type
object IntArrayCodec extends MessageCodec[Array[Int]], PrimitiveArrayCodec

Attributes

Supertypes
trait MessageCodec[Array[Int]]
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
object IntCodec extends PrimitiveCodec[Int]

Attributes

Supertypes
trait PrimitiveCodec[Int]
trait MessageCodec[Int]
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
IntCodec.type
object LongArrayCodec extends MessageCodec[Array[Long]], PrimitiveArrayCodec

Attributes

Supertypes
trait MessageCodec[Array[Long]]
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
object LongCodec extends PrimitiveCodec[Long]

Attributes

Supertypes
trait PrimitiveCodec[Long]
trait MessageCodec[Long]
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
LongCodec.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object AnyArrayCodec.type
object BooleanArrayCodec.type
object CharArrayCodec.type
object DoubleArrayCodec.type
object FloatArrayCodec.type
object IntArrayCodec.type
object LongArrayCodec.type
object ShortArrayCodec.type
object StringArrayCodec.type
Show all
Self type
trait PrimitiveCodec[A] extends MessageCodec[A]

Attributes

Supertypes
trait MessageCodec[A]
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Known subtypes
object BigIntCodec.type
object BigIntegerCodec.type
object BooleanCodec.type
object ByteCodec.type
object CharCodec.type
object DoubleCodec.type
object FloatCodec.type
object IntCodec.type
object LongCodec.type
object ShortCodec.type
object StringCodec.type
object UnitCodec.type
Show all
object RawMsgPackCodec extends MessageCodec[MsgPack]

Attributes

Supertypes
trait MessageCodec[MsgPack]
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
object ShortArrayCodec extends MessageCodec[Array[Short]], PrimitiveArrayCodec

Attributes

Supertypes
trait MessageCodec[Array[Short]]
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
object ShortCodec extends PrimitiveCodec[Short]

Attributes

Supertypes
trait PrimitiveCodec[Short]
trait MessageCodec[Short]
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
ShortCodec.type
object StringArrayCodec extends MessageCodec[Array[String]], PrimitiveArrayCodec

Attributes

Supertypes
trait MessageCodec[Array[String]]
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
object StringCodec extends PrimitiveCodec[String]

Attributes

Supertypes
trait PrimitiveCodec[String]
trait MessageCodec[String]
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
object UnitCodec extends PrimitiveCodec[Unit]

Attributes

Supertypes
trait PrimitiveCodec[Unit]
trait MessageCodec[Unit]
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
UnitCodec.type
object ValueCodec extends MessageCodec[Value]

MessagePack value codec

MessagePack value codec

Attributes

Supertypes
trait MessageCodec[Value]
trait LogSupport
trait LazyLogger
trait LoggingMethods
trait Serializable
class Object
trait Matchable
class Any
Show all
Self type
ValueCodec.type

Value members

Concrete fields

val primitiveArrayCodec: Map[Surface, MessageCodec[_ >: Array[Float] & Array[Double] & Array[Boolean] & Array[Short] & Array[Char] & Array[Int] & Array[Long] & Array[String] & Array[Byte] & Array[Any] <: Array[Float] | Array[Double] | Array[Boolean] | Array[Short] | Array[Char] | Array[Int] | Array[Long] | Array[String] | Array[Byte] | Array[Any]]]
val primitiveCodec: Map[Surface, MessageCodec[_]]