org.mapdb.serializer / SerializerCompressionWrapper

SerializerCompressionWrapper

class SerializerCompressionWrapper<E : Any> : GroupSerializer<E>, Serializable

wraps another serializer and (de)compresses its output/input



Constructors

<init> SerializerCompressionWrapper(serializer: GroupSerializer<E>)

Functions

compare fun compare(o1: E, o2: E): Int
deserialize fun deserialize(in: DataInput2, available: Int): E
equals fun equals(other: Any?): Boolean
fun equals(a1: E, a2: E): Boolean
hashCode fun hashCode(): Int
fun hashCode(e: E, seed: Int): Int
isTrusted fun isTrusted(): Boolean
serialize fun serialize(out: DataOutput2, value: E): Unit
valueArrayCopyOfRange fun valueArrayCopyOfRange(vals: Any, from: Int, to: Int): Any
valueArrayDeleteValue fun valueArrayDeleteValue(vals: Any, pos: Int): Any
valueArrayDeserialize fun valueArrayDeserialize(in: DataInput2, size: Int): Any
valueArrayEmpty fun valueArrayEmpty(): Any
valueArrayFromArray fun valueArrayFromArray(objects: Array<Any>): Any
valueArrayGet fun valueArrayGet(vals: Any, pos: Int): E
valueArrayPut fun valueArrayPut(vals: Any, pos: Int, newValue: E): Any
valueArraySearch fun valueArraySearch(keys: Any, key: E): Int
fun valueArraySearch(keys: Any, key: E, comparator: Comparator<Any>): Int
valueArraySerialize fun valueArraySerialize(out: DataOutput2, vals: Any): Unit
valueArraySize fun valueArraySize(vals: Any): Int
valueArrayUpdateVal fun valueArrayUpdateVal(vals: Any, pos: Int, newValue: E): Any

Inherited Functions

valueArrayBinaryGet open fun valueArrayBinaryGet(input: DataInput2, keysLen: Int, pos: Int): A
valueArrayToArray open fun valueArrayToArray(vals: Any): Array<Any>