public class LongDataWriter extends ReductionDataWriter<LongSupplier>
extractor, output
Constructor and Description |
---|
LongDataWriter(DataOutput output,
LongSupplier extractor) |
Modifier and Type | Method and Description |
---|---|
void |
write()
Write a piece of data, retrieved from the extractor, to the output stream.
|
public LongDataWriter(DataOutput output, LongSupplier extractor)
public void write() throws IOException
ReductionDataWriter
write
in class ReductionDataWriter<LongSupplier>
IOException
- if an exception occurs while writing to the output streamCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.