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