@InterfaceAudience.Private public class DateTieredMultiFileWriter extends AbstractMultiFileWriter
AbstractMultiFileWriter.WriterFactory
sourceScanner, writerFactory
Constructor and Description |
---|
DateTieredMultiFileWriter(List<Long> lowerBoundaries,
boolean needEmptyFile) |
Modifier and Type | Method and Description |
---|---|
void |
append(Cell cell)
Append the given 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 Collection<StoreFileWriter> |
writers() |
abortWriters, beforeShipped, commitWriters, init, preCloseWriter
public void append(Cell cell) throws IOException
CellSink
cell
- the cell to be addedIOException
protected Collection<StoreFileWriter> writers()
writers
in class AbstractMultiFileWriter
protected void preCommitWriters() throws IOException
AbstractMultiFileWriter
preCommitWriters
in class AbstractMultiFileWriter
IOException
Copyright © 2007–2019 Cloudera. All rights reserved.