public static class StripeMultiFileWriter.BoundaryMultiWriter extends StripeMultiFileWriter
StripeMultiFileWriter.BoundaryMultiWriter, StripeMultiFileWriter.SizeMultiWriterAbstractMultiFileWriter.WriterFactoryboundaries, comparator, existingWriterssourceScanner, writerFactory| Constructor and Description |
|---|
BoundaryMultiWriter(KeyValue.KVComparator comparator,
java.util.List<byte[]> targetBoundaries,
byte[] majorRangeFrom,
byte[] majorRangeTo) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(Cell cell) |
protected void |
preCommitWritersInternal() |
preCloseWriter, preCommitWriters, sanityCheckLeft, sanityCheckRight, setNoStripeMetadata, writersabortWriters, commitWriters, initpublic BoundaryMultiWriter(KeyValue.KVComparator comparator, java.util.List<byte[]> targetBoundaries, byte[] majorRangeFrom, byte[] majorRangeTo) throws java.io.IOException
targetBoundaries - The boundaries on which writers/files are separated.majorRangeFrom - Major range is the range for which at least one file should be written
(because all files are included in compaction). majorRangeFrom is the left boundary.majorRangeTo - The right boundary of majorRange (see majorRangeFrom).java.io.IOExceptionpublic void append(Cell cell) throws java.io.IOException
java.io.IOExceptionprotected void preCommitWritersInternal()
throws java.io.IOException
preCommitWritersInternal in class StripeMultiFileWriterjava.io.IOException