Package io.datarouter.bytes.kvfile.codec
Class KvFileBlockCodec<T>
java.lang.Object
io.datarouter.bytes.kvfile.codec.KvFileBlockCodec<T>
Translates a List of user-provided items to a byte[].
Intended for use in Blockfiles of Kvs.
Use the identity() method for things like merging Kvs from multiple files without decoding to the user-provided type.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classNested classes/interfaces inherited from interface io.datarouter.bytes.Codec
Codec.FunctionalCodec<A,B>, Codec.NullPassthroughCodec<A, B> -
Field Summary
Fields inherited from interface io.datarouter.bytes.Codec
IDENTITY_INSTANCE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.datarouter.bytes.Codec
encodeAndDecode
-
Constructor Details
-
KvFileBlockCodec
-
-
Method Details