org.apache.hadoop.hbase.regionserver
Class DateTieredMultiFileWriter
java.lang.Object
org.apache.hadoop.hbase.regionserver.AbstractMultiFileWriter
org.apache.hadoop.hbase.regionserver.DateTieredMultiFileWriter
- All Implemented Interfaces:
- Compactor.CellSink
@InterfaceAudience.Private
public class DateTieredMultiFileWriter
- extends AbstractMultiFileWriter
class for cell sink that separates the provided cells into multiple files for date tiered
compaction.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DateTieredMultiFileWriter
public DateTieredMultiFileWriter(List<Long> lowerBoundaries,
boolean needEmptyFile)
- Parameters:
needEmptyFile
- whether need to create an empty store file if we haven't written out
anything.
append
public void append(KeyValue kv)
throws IOException
- Throws:
IOException
writers
protected Collection<StoreFile.Writer> writers()
- Specified by:
writers
in class AbstractMultiFileWriter
preCommitWriters
protected void preCommitWriters()
throws IOException
- Description copied from class:
AbstractMultiFileWriter
- Subclasses override this method to be called at the end of a successful sequence of append; all
appends are processed before this method is called.
- Overrides:
preCommitWriters
in class AbstractMultiFileWriter
- Throws:
IOException
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.