Package io.datarouter.bytes.kvfile.block
Class KvFileSequentialBlockCodec<T>
java.lang.Object
io.datarouter.bytes.kvfile.block.KvFileSequentialBlockCodec<T>
- All Implemented Interfaces:
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.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
KvFileSequentialBlockCodec
-
-
Method Details
-
identity
-
encodeAll
- Specified by:
encodeAllin interfaceKvFileBlockCodec<T>
-
decodeAll
- Specified by:
decodeAllin interfaceKvFileBlockCodec<T>
-