public class StringReservation extends ReductionDataReservation<Consumer<String>,Supplier<String>>
applier, extractor| Constructor and Description | 
|---|
| StringReservation(Consumer<String> applier,
                 Supplier<String> extractor) | 
| Modifier and Type | Method and Description | 
|---|---|
| StringDataReader | createReadStream(DataInput input)Generate a  ReductionDataReaderthat merges the set of data this reservation represents. | 
| StringDataWriter | createWriteStream(DataOutput output)Generate a  ReductionDataWriterthat exports the set of data this reservation represents. | 
public StringDataReader createReadStream(DataInput input)
ReductionDataReservationReductionDataReader that merges the set of data this reservation represents.createReadStream in class ReductionDataReservation<Consumer<String>,Supplier<String>>input - the shard input streampublic StringDataWriter createWriteStream(DataOutput output)
ReductionDataReservationReductionDataWriter that exports the set of data this reservation represents.createWriteStream in class ReductionDataReservation<Consumer<String>,Supplier<String>>output - the shard output streamCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.