Class StripeStoreFlusher.SizeStripeFlushRequest
java.lang.Object
org.apache.hadoop.hbase.regionserver.StripeStoreFlusher.StripeFlushRequest
org.apache.hadoop.hbase.regionserver.StripeStoreFlusher.SizeStripeFlushRequest
- Enclosing class:
- StripeStoreFlusher
public static class StripeStoreFlusher.SizeStripeFlushRequest
extends StripeStoreFlusher.StripeFlushRequest
Stripe flush request wrapper based on size.
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.regionserver.StripeStoreFlusher.StripeFlushRequest
comparator
-
Constructor Summary
ConstructorDescriptionSizeStripeFlushRequest
(CellComparator comparator, int targetCount, long targetKvs) -
Method Summary
-
Field Details
-
targetCount
-
targetKvs
-
-
Constructor Details
-
SizeStripeFlushRequest
- Parameters:
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.
-
-
Method Details
-
createWriter
- Overrides:
createWriter
in classStripeStoreFlusher.StripeFlushRequest
- Throws:
IOException
-