public final class ListDelimitedSerializer extends Object
Constructor and Description |
---|
ListDelimitedSerializer() |
Modifier and Type | Method and Description |
---|---|
<T> List<T> |
deserializeList(byte[] valueBytes,
Serializer<T> elementSerializer) |
static <T> T |
deserializeNextElement(DataInputDeserializer in,
Serializer<T> elementSerializer)
Deserializes a single element from a serialized list.
|
byte[] |
serializeList(List<byte[]> valueList) |
<T> byte[] |
serializeList(List<T> valueList,
Serializer<T> elementSerializer) |
public <T> List<T> deserializeList(byte[] valueBytes, Serializer<T> elementSerializer)
public <T> byte[] serializeList(List<T> valueList, Serializer<T> elementSerializer) throws IOException
IOException
public byte[] serializeList(List<byte[]> valueList) throws IOException
IOException
public static <T> T deserializeNextElement(DataInputDeserializer in, Serializer<T> elementSerializer)
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.