@InterfaceAudience.Private public class DateTieredMultiFileWriter extends AbstractMultiFileWriter
AbstractMultiFileWriter.WriterFactorysourceScanner, writerFactory| Constructor and Description |
|---|
DateTieredMultiFileWriter(java.util.List<java.lang.Long> lowerBoundaries,
boolean needEmptyFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(Cell cell) |
protected void |
preCommitWriters()
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.
|
protected java.util.Collection<StoreFile.Writer> |
writers() |
abortWriters, commitWriters, init, preCloseWriterpublic DateTieredMultiFileWriter(java.util.List<java.lang.Long> lowerBoundaries,
boolean needEmptyFile)
needEmptyFile - whether need to create an empty store file if we haven't written out
anything.public void append(Cell cell) throws java.io.IOException
java.io.IOExceptionprotected java.util.Collection<StoreFile.Writer> writers()
writers in class AbstractMultiFileWriterprotected void preCommitWriters()
throws java.io.IOException
AbstractMultiFileWriterpreCommitWriters in class AbstractMultiFileWriterjava.io.IOException