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, setContext
cleanup, close, open
public MarshallingOutputWriter(OutputWriter<ByteBuffer> writer, Marshaller<? super O> marshaller)
protected OutputWriter<ByteBuffer> getDelegate()
getDelegate
in class ForwardingOutputWriter<O>
public void write(O value) throws IOException
OutputWriter
write
in class OutputWriter<O>
IOException
Copyright © 2015 Google. All rights reserved.