Package com.illumon.util.codec
Class StringStringMapCodec
- All Implemented Interfaces:
ObjectCodec<Map<String,
,String>> ObjectDecoder<Map<String,
String>>
ObjectCodec implementation for Maps of String to String.
Each map is encoded as an integer length, followed by UTF-8 encoded strings for each key and value.
A null map is represented as an array of zero bytes.
-
Field Summary
FieldsFields inherited from interface com.illumon.util.codec.ObjectDecoder
VARIABLE_WIDTH_SENTINEL
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.illumon.util.codec.MapCodec
decode, decode, encode, expectedObjectWidth, getPrecision, getScale, isNullable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.illumon.util.codec.ObjectDecoder
checkWidth
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
StringStringMapCodec
-