public abstract static class StripeCompactionPolicy.StripeCompactionRequest extends Object
Modifier and Type | Field and Description |
---|---|
protected byte[] |
majorRangeFromRow |
protected byte[] |
majorRangeToRow |
protected CompactionRequest |
request |
Constructor and Description |
---|
StripeCompactionPolicy.StripeCompactionRequest(CompactionRequest request) |
Modifier and Type | Method and Description |
---|---|
List<org.apache.hadoop.fs.Path> |
execute(StripeCompactor compactor,
CompactionThroughputController throughputController) |
abstract List<org.apache.hadoop.fs.Path> |
execute(StripeCompactor compactor,
CompactionThroughputController throughputController,
User user)
Executes the request against compactor (essentially, just calls correct overload of
compact method), to simulate more dynamic dispatch.
|
CompactionRequest |
getRequest() |
void |
setMajorRange(byte[] startRow,
byte[] endRow)
Sets compaction "major range".
|
void |
setRequest(CompactionRequest request) |
protected CompactionRequest request
protected byte[] majorRangeFromRow
protected byte[] majorRangeToRow
public StripeCompactionPolicy.StripeCompactionRequest(CompactionRequest request)
public List<org.apache.hadoop.fs.Path> execute(StripeCompactor compactor, CompactionThroughputController throughputController) throws IOException
IOException
public abstract List<org.apache.hadoop.fs.Path> execute(StripeCompactor compactor, CompactionThroughputController throughputController, User user) throws IOException
compactor
- Compactor.IOException
public void setMajorRange(byte[] startRow, byte[] endRow)
startRow
- Left boundary, inclusive.endRow
- Right boundary, exclusive.public CompactionRequest getRequest()
public void setRequest(CompactionRequest request)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.