private static class StripeCompactionPolicy.BoundaryStripeCompactionRequest extends StripeCompactionPolicy.StripeCompactionRequest
Modifier and Type | Field and Description |
---|---|
private List<byte[]> |
targetBoundaries |
majorRangeFromRow, majorRangeToRow, request
Constructor and Description |
---|
BoundaryStripeCompactionRequest(Collection<HStoreFile> files,
List<byte[]> targetBoundaries) |
BoundaryStripeCompactionRequest(CompactionRequestImpl request,
List<byte[]> targetBoundaries) |
Modifier and Type | Method and Description |
---|---|
List<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.
|
execute, getRequest, setMajorRange, setRequest
private final List<byte[]> targetBoundaries
public BoundaryStripeCompactionRequest(CompactionRequestImpl request, List<byte[]> targetBoundaries)
request
- Original request.targetBoundaries
- New files should be written with these boundaries.public BoundaryStripeCompactionRequest(Collection<HStoreFile> files, List<byte[]> targetBoundaries)
public List<org.apache.hadoop.fs.Path> execute(StripeCompactor compactor, ThroughputController throughputController, User user) throws IOException
StripeCompactionPolicy.StripeCompactionRequest
execute
in class StripeCompactionPolicy.StripeCompactionRequest
compactor
- Compactor.IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.