public static class StripeStoreFlusher.SizeStripeFlushRequest extends StripeStoreFlusher.StripeFlushRequest
Constructor and Description |
---|
StripeStoreFlusher.SizeStripeFlushRequest(int targetCount,
long targetKvs) |
public StripeStoreFlusher.SizeStripeFlushRequest(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-2016 The Apache Software Foundation. All Rights Reserved.