public static class StripeStoreFlusher.SizeStripeFlushRequest extends StripeStoreFlusher.StripeFlushRequest
Modifier and Type | Field and Description |
---|---|
private int |
targetCount |
private long |
targetKvs |
comparator
Constructor and Description |
---|
SizeStripeFlushRequest(CellComparator comparator,
int targetCount,
long targetKvs) |
Modifier and Type | Method and Description |
---|---|
StripeMultiFileWriter |
createWriter() |
private final int targetCount
private final long targetKvs
public SizeStripeFlushRequest(CellComparator 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–2020 The Apache Software Foundation. All rights reserved.