@InterfaceAudience.Private @InterfaceStability.Unstable public class InMemoryWriter<K,V> extends IFile.Writer<K,V>
Constructor and Description |
---|
InMemoryWriter(BoundedByteArrayOutputStream arrayStream) |
Modifier and Type | Method and Description |
---|---|
void |
append(DataInputBuffer key,
DataInputBuffer value) |
void |
append(K key,
V value) |
void |
close() |
getCompressedLength, getOutputStream, getRawLength, updateCountersForExternalAppend
public InMemoryWriter(BoundedByteArrayOutputStream arrayStream)
public void append(K key, V value) throws IOException
append
in class IFile.Writer<K,V>
IOException
public void append(DataInputBuffer key, DataInputBuffer value) throws IOException
append
in class IFile.Writer<K,V>
IOException
public void close() throws IOException
close
in class IFile.Writer<K,V>
IOException
Copyright © 2013 Apache Software Foundation. All rights reserved.