public class MessagePackSerializer<T> extends Object implements ExternalMergeSort.Serializer<T>
| Constructor and Description |
|---|
MessagePackSerializer(Class<T> type) |
MessagePackSerializer(Class<T> type,
org.msgpack.MessagePack msgpack) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<T> |
readValues(InputStream input) |
void |
writeValues(Iterator<T> values,
OutputStream out) |
public void writeValues(Iterator<T> values, OutputStream out) throws IOException
writeValues in interface ExternalMergeSort.Serializer<T>IOExceptionpublic Iterator<T> readValues(InputStream input) throws IOException
readValues in interface ExternalMergeSort.Serializer<T>IOExceptionCopyright © 2014. All Rights Reserved.