public class StringCheckedReservation extends ReductionCheckedDataReservation<Consumer<String>,Supplier<String>>
existsapplier, extractor| Constructor and Description |
|---|
StringCheckedReservation(Consumer<String> applier,
Supplier<String> extractor,
BooleanSupplier exists) |
| Modifier and Type | Method and Description |
|---|---|
StringCheckedDataReader |
createReadStream(DataInput input)
Generate a
ReductionDataReader that merges the set of data this reservation represents. |
StringCheckedDataWriter |
createWriteStream(DataOutput output)
Generate a
ReductionDataWriter that exports the set of data this reservation represents. |
public StringCheckedReservation(Consumer<String> applier, Supplier<String> extractor, BooleanSupplier exists)
public StringCheckedDataReader 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 StringCheckedDataWriter 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-2020 Apache Software Foundation. All Rights Reserved.