public class AggregationStateSerdeCountMinSketch extends Object
Constructor and Description |
---|
AggregationStateSerdeCountMinSketch() |
Modifier and Type | Method and Description |
---|---|
static CountMinSketchAggState |
readCountMinSketch(DataInput input,
CountMinSketchSpec spec)
NOTE: Code-generation-invoked method, method name and parameter order matters
|
static void |
writeCountMinSketch(DataOutput output,
CountMinSketchAggState state)
NOTE: Code-generation-invoked method, method name and parameter order matters
|
public static void writeCountMinSketch(DataOutput output, CountMinSketchAggState state) throws IOException
output
- outstate
- stateIOException
- when there is a write exceptionpublic static CountMinSketchAggState readCountMinSketch(DataInput input, CountMinSketchSpec spec) throws IOException
input
- inspec
- specIOException
- when there is a read exceptionCopyright © 2005–2018. All rights reserved.