public static class StripeMultiFileWriter.BoundaryMultiWriter extends StripeMultiFileWriter
StripeMultiFileWriter.BoundaryMultiWriter, StripeMultiFileWriter.SizeMultiWriter, StripeMultiFileWriter.WriterFactoryboundaries, comparator, existingWriters, sourceScanner, writerFactory| Constructor and Description |
|---|
StripeMultiFileWriter.BoundaryMultiWriter(List<byte[]> targetBoundaries,
byte[] majorRangeFrom,
byte[] majorRangeTo) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(KeyValue kv) |
protected void |
commitWritersInternal()
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.
|
abortWriters, commitWriters, init, sanityCheckLeft, sanityCheckRight, setNoStripeMetadatapublic StripeMultiFileWriter.BoundaryMultiWriter(List<byte[]> targetBoundaries, byte[] majorRangeFrom, byte[] majorRangeTo) throws 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).IOExceptionpublic void append(KeyValue kv) throws IOException
IOExceptionprotected void commitWritersInternal()
throws IOException
StripeMultiFileWritercommitWritersInternal in class StripeMultiFileWriterIOExceptionCopyright © 2014 The Apache Software Foundation. All rights reserved.