Class StripeCompactionPolicy.BoundaryStripeCompactionRequest
java.lang.Object
org.apache.hadoop.hbase.regionserver.compactions.StripeCompactionPolicy.StripeCompactionRequest
org.apache.hadoop.hbase.regionserver.compactions.StripeCompactionPolicy.BoundaryStripeCompactionRequest
- Enclosing class:
- StripeCompactionPolicy
private static class StripeCompactionPolicy.BoundaryStripeCompactionRequest
extends StripeCompactionPolicy.StripeCompactionRequest
Request for stripe compactor that will cause it to split the source files into several separate
files at the provided boundaries.
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.regionserver.compactions.StripeCompactionPolicy.StripeCompactionRequest
majorRangeFromRow, majorRangeToRow, request
-
Constructor Summary
ConstructorDescriptionBoundaryStripeCompactionRequest
(Collection<HStoreFile> files, List<byte[]> targetBoundaries) BoundaryStripeCompactionRequest
(CompactionRequestImpl request, List<byte[]> targetBoundaries) -
Method Summary
Modifier and TypeMethodDescriptionList<org.apache.hadoop.fs.Path>
execute
(StripeCompactor compactor, ThroughputController throughputController, User user) Executes the request against compactor (essentially, just calls correct overload of compact method), to simulate more dynamic dispatch.Methods inherited from class org.apache.hadoop.hbase.regionserver.compactions.StripeCompactionPolicy.StripeCompactionRequest
execute, getRequest, setMajorRange, setRequest
-
Field Details
-
targetBoundaries
-
-
Constructor Details
-
BoundaryStripeCompactionRequest
public BoundaryStripeCompactionRequest(CompactionRequestImpl request, List<byte[]> targetBoundaries) - Parameters:
request
- Original request.targetBoundaries
- New files should be written with these boundaries.
-
BoundaryStripeCompactionRequest
-
-
Method Details
-
execute
public List<org.apache.hadoop.fs.Path> execute(StripeCompactor compactor, ThroughputController throughputController, User user) throws IOException Description copied from class:StripeCompactionPolicy.StripeCompactionRequest
Executes the request against compactor (essentially, just calls correct overload of compact method), to simulate more dynamic dispatch.- Specified by:
execute
in classStripeCompactionPolicy.StripeCompactionRequest
- Parameters:
compactor
- Compactor.- Returns:
- result of compact(...)
- Throws:
IOException
-