O - the type of OutputWriter that this will become. (The type of the values that will be
written to this class)public class MarshallingOutputWriter<O> extends ForwardingOutputWriter<O>
OutputWriter that marshalls records.| Constructor and Description |
|---|
MarshallingOutputWriter(OutputWriter<ByteBuffer> writer,
Marshaller<? super O> marshaller) |
| Modifier and Type | Method and Description |
|---|---|
protected OutputWriter<ByteBuffer> |
getDelegate() |
void |
write(O value)
Writes a value to the output.
|
allowSliceRetry, beginShard, beginSlice, endShard, endSlice, estimateMemoryRequirement, getContext, setContextcleanup, close, openpublic MarshallingOutputWriter(OutputWriter<ByteBuffer> writer, Marshaller<? super O> marshaller)
protected OutputWriter<ByteBuffer> getDelegate()
getDelegate in class ForwardingOutputWriter<O>public void write(O value) throws IOException
OutputWriterwrite in class OutputWriter<O>IOExceptionCopyright © 2015 Google. All rights reserved.