org.apache.hadoop.hbase.regionserver.compactions
Class StripeCompactor

java.lang.Object
  extended by org.apache.hadoop.hbase.regionserver.compactions.Compactor<T>
      extended by org.apache.hadoop.hbase.regionserver.compactions.AbstractMultiOutputCompactor<StripeMultiFileWriter>
          extended by 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.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.hbase.regionserver.compactions.Compactor
Compactor.CellSink, Compactor.CellSinkFactory<S>, Compactor.FileDetails, Compactor.InternalScannerFactory
 
Field Summary
 
Fields inherited from class org.apache.hadoop.hbase.regionserver.compactions.Compactor
compactionCompression, conf, defaultScannerFactory, progress, store
 
Constructor Summary
StripeCompactor(org.apache.hadoop.conf.Configuration conf, Store store)
           
 
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.AbstractMultiOutputCompactor
abortWriter, initMultiWriter
 
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
 

Constructor Detail

StripeCompactor

public StripeCompactor(org.apache.hadoop.conf.Configuration conf,
                       Store store)
Method Detail

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.