public class StringArrayReservation extends ReductionDataArrayReservation<Consumer<String>,Supplier<String>>
sizeApplier, sizeExtractorapplier, extractor| Constructor and Description |
|---|
StringArrayReservation(Consumer<String> applier,
IntConsumer sizeApplier,
Supplier<String> extractor,
IntSupplier sizeExtractor) |
| Modifier and Type | Method and Description |
|---|---|
StringDataArrayReader |
createReadStream(DataInput input)
Generate a
ReductionDataReader that merges the set of data this reservation represents. |
StringDataArrayWriter |
createWriteStream(DataOutput output)
Generate a
ReductionDataWriter that exports the set of data this reservation represents. |
public StringArrayReservation(Consumer<String> applier, IntConsumer sizeApplier, Supplier<String> extractor, IntSupplier sizeExtractor)
public StringDataArrayReader 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 StringDataArrayWriter 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.