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