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 |
|---|---|
abstract List<org.apache.hadoop.fs.Path> |
execute(StripeCompactor compactor)
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 abstract List<org.apache.hadoop.fs.Path> execute(StripeCompactor compactor) throws IOException
compactor - Compactor.IOExceptionpublic void setMajorRange(byte[] startRow,
byte[] endRow)
startRow - Left boundary, inclusive.endRow - Right boundary, exclusive.public CompactionRequest getRequest()
public void setRequest(CompactionRequest request)
Copyright © 2014 The Apache Software Foundation. All rights reserved.