Interface StripeCompactionPolicy.StripeInformationProvider
- All Known Implementing Classes:
StripeStoreFileManager
- Enclosing class:
- StripeCompactionPolicy
public static interface StripeCompactionPolicy.StripeInformationProvider
The information about stripes that the policy needs to do its stuff
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
getEndRow
(int stripeIndex) Gets the end row for a given stripe.Returns Level 0 files.byte[]
getStartRow
(int stripeIndex) Gets the start row for a given stripe.List<byte[]>
Returns All stripe boundaries; including the open ones on both ends.int
Returns Stripe count.ArrayList<org.apache.hbase.thirdparty.com.google.common.collect.ImmutableList<HStoreFile>>
Returns The stripes.
-
Method Details
-
getStorefiles
-
getStartRow
Gets the start row for a given stripe.- Parameters:
stripeIndex
- Stripe index.- Returns:
- Start row. May be an open key.
-
getEndRow
Gets the end row for a given stripe.- Parameters:
stripeIndex
- Stripe index.- Returns:
- End row. May be an open key.
-
getLevel0Files
Returns Level 0 files. -
getStripeBoundaries
List<byte[]> getStripeBoundaries()Returns All stripe boundaries; including the open ones on both ends. -
getStripes
ArrayList<org.apache.hbase.thirdparty.com.google.common.collect.ImmutableList<HStoreFile>> getStripes()Returns The stripes. -
getStripeCount
int getStripeCount()Returns Stripe count.
-