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) |
public void serialize(StreamingHistogram histogram, DataOutputPlus out) throws java.io.IOException
ISerializer
serialize
in interface ISerializer<StreamingHistogram>
histogram
- type that needs to be serializedout
- DataOutput into which serialization needs to happen.java.io.IOException
public StreamingHistogram deserialize(DataInputPlus in) throws java.io.IOException
ISerializer
deserialize
in interface ISerializer<StreamingHistogram>
in
- DataInput from which deserialization needs to happen.java.io.IOException
public long serializedSize(StreamingHistogram histogram)
serializedSize
in interface ISerializer<StreamingHistogram>
Copyright © 2018 The Apache Software Foundation