@InterfaceAudience.Private @InterfaceStability.Unstable public class InMemoryWriter extends IFile.Writer
out, rle
Constructor and Description |
---|
InMemoryWriter(org.apache.hadoop.io.BoundedByteArrayOutputStream arrayStream) |
Modifier and Type | Method and Description |
---|---|
void |
append(Object key,
Object value)
Send key/value to be appended to IFile.
|
void |
close() |
append, appendKeyValues, appendValue, appendValue, appendValues, getCompressedLength, getOutputStream, getRawLength, updateCountersForExternalAppend, writeHeader, writeKVPair, writeRLE, writeValue, writeValueMarker
public InMemoryWriter(org.apache.hadoop.io.BoundedByteArrayOutputStream arrayStream)
public void append(Object key, Object value) throws IOException
IFile.Writer
append
in class IFile.Writer
IOException
public void close() throws IOException
close
in class IFile.Writer
IOException
Copyright © 2015 Apache Software Foundation. All rights reserved.