public class StringCheckedReservation extends ReductionCheckedDataReservation<Consumer<String>,Supplier<String>>
exists
applier, 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)
ReductionDataReservation
ReductionDataReader
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)
ReductionDataReservation
ReductionDataWriter
that exports the set of data this reservation represents.createWriteStream
in class ReductionDataReservation<Consumer<String>,Supplier<String>>
output
- the shard output streamCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.