public static class StreamingHistogram.StreamingHistogramSerializer extends java.lang.Object implements ISerializer<StreamingHistogram>
| Constructor and Description |
|---|
StreamingHistogramSerializer() |
| Modifier and Type | Method and Description |
|---|---|
StreamingHistogram |
deserialize(DataInputPlus in)
Deserialize from the specified DataInput instance.
|
void |
serialize(StreamingHistogram histogram,
DataOutputPlus out)
Serialize the specified type into the specified DataOutput instance.
|
long |
serializedSize(StreamingHistogram histogram) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitskippublic void serialize(StreamingHistogram histogram, DataOutputPlus out) throws java.io.IOException
ISerializerserialize in interface ISerializer<StreamingHistogram>histogram - type that needs to be serializedout - DataOutput into which serialization needs to happen.java.io.IOExceptionpublic StreamingHistogram deserialize(DataInputPlus in) throws java.io.IOException
ISerializerdeserialize in interface ISerializer<StreamingHistogram>in - DataInput from which deserialization needs to happen.java.io.IOExceptionpublic long serializedSize(StreamingHistogram histogram)
serializedSize in interface ISerializer<StreamingHistogram>Copyright © 2018 The Apache Software Foundation