org.apache.tez.runtime.library.common.shuffle.impl
Class InMemoryWriter
java.lang.Object
org.apache.tez.runtime.library.common.sort.impl.IFile.Writer
org.apache.tez.runtime.library.common.shuffle.impl.InMemoryWriter
@InterfaceAudience.Private
@InterfaceStability.Unstable
public class InMemoryWriter
- extends IFile.Writer
|
Constructor Summary |
InMemoryWriter(org.apache.hadoop.io.BoundedByteArrayOutputStream arrayStream)
|
|
Method Summary |
void |
append(org.apache.hadoop.io.DataInputBuffer key,
org.apache.hadoop.io.DataInputBuffer value)
|
void |
append(Object key,
Object value)
|
void |
close()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InMemoryWriter
public InMemoryWriter(org.apache.hadoop.io.BoundedByteArrayOutputStream arrayStream)
append
public void append(Object key,
Object value)
throws IOException
- Overrides:
append in class IFile.Writer
- Throws:
IOException
append
public void append(org.apache.hadoop.io.DataInputBuffer key,
org.apache.hadoop.io.DataInputBuffer value)
throws IOException
- Overrides:
append in class IFile.Writer
- Throws:
IOException
close
public void close()
throws IOException
- Overrides:
close in class IFile.Writer
- Throws:
IOException
Copyright © 2014 Apache Software Foundation. All rights reserved.