public static class StripeStoreFlusher.SizeStripeFlushRequest extends StripeStoreFlusher.StripeFlushRequest
comparator
Constructor and Description |
---|
StripeStoreFlusher.SizeStripeFlushRequest(KeyValue.KVComparator comparator,
int targetCount,
long targetKvs) |
public StripeStoreFlusher.SizeStripeFlushRequest(KeyValue.KVComparator comparator, int targetCount, long targetKvs)
targetCount
- The maximum number of stripes to flush into.targetKvs
- The KV count of each segment. If targetKvs*targetCount is less than
total number of kvs, all the overflow data goes into the last stripe.public StripeMultiFileWriter createWriter() throws IOException
createWriter
in class StripeStoreFlusher.StripeFlushRequest
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.