org.apache.hadoop.hbase.regionserver.compactions
Class StripeCompactor
java.lang.Object
org.apache.hadoop.hbase.regionserver.compactions.Compactor<T>
org.apache.hadoop.hbase.regionserver.compactions.AbstractMultiOutputCompactor<StripeMultiFileWriter>
org.apache.hadoop.hbase.regionserver.compactions.StripeCompactor
@InterfaceAudience.Private
public class StripeCompactor
- extends AbstractMultiOutputCompactor<StripeMultiFileWriter>
This is the placeholder for stripe compactor. The implementation, as well as the proper javadoc,
will be added in HBASE-7967.
Method Summary |
protected List<org.apache.hadoop.fs.Path> |
commitWriter(StripeMultiFileWriter writer,
Compactor.FileDetails fd,
CompactionRequest request)
|
List<org.apache.hadoop.fs.Path> |
compact(CompactionRequest request,
int targetCount,
long targetSize,
byte[] left,
byte[] right,
byte[] majorRangeFromRow,
byte[] majorRangeToRow,
CompactionThroughputController throughputController,
User user)
|
List<org.apache.hadoop.fs.Path> |
compact(CompactionRequest request,
List<byte[]> targetBoundaries,
byte[] majorRangeFromRow,
byte[] majorRangeToRow,
CompactionThroughputController throughputController,
User user)
|
Methods inherited from class org.apache.hadoop.hbase.regionserver.compactions.Compactor |
compact, createFileScanners, createScanner, createScanner, createTmpWriter, getFileDetails, getProgress, getSmallestReadPoint, performCompaction, postCreateCoprocScanner, preCreateCoprocScanner, preCreateCoprocScanner |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StripeCompactor
public StripeCompactor(org.apache.hadoop.conf.Configuration conf,
Store store)
compact
public List<org.apache.hadoop.fs.Path> compact(CompactionRequest request,
List<byte[]> targetBoundaries,
byte[] majorRangeFromRow,
byte[] majorRangeToRow,
CompactionThroughputController throughputController,
User user)
throws IOException
- Throws:
IOException
compact
public List<org.apache.hadoop.fs.Path> compact(CompactionRequest request,
int targetCount,
long targetSize,
byte[] left,
byte[] right,
byte[] majorRangeFromRow,
byte[] majorRangeToRow,
CompactionThroughputController throughputController,
User user)
throws IOException
- Throws:
IOException
commitWriter
protected List<org.apache.hadoop.fs.Path> commitWriter(StripeMultiFileWriter writer,
Compactor.FileDetails fd,
CompactionRequest request)
throws IOException
- Specified by:
commitWriter
in class Compactor<StripeMultiFileWriter>
- Throws:
IOException
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.