private static class ResultSerialization.ResultSerializer extends Object implements org.apache.hadoop.io.serializer.Serializer<Result>
Modifier and Type | Field and Description |
---|---|
private OutputStream |
out |
Modifier | Constructor and Description |
---|---|
private |
ResultSerialization.ResultSerializer() |
private OutputStream out
private ResultSerialization.ResultSerializer()
public void close() throws IOException
close
in interface org.apache.hadoop.io.serializer.Serializer<Result>
IOException
public void open(OutputStream out) throws IOException
open
in interface org.apache.hadoop.io.serializer.Serializer<Result>
IOException
public void serialize(Result result) throws IOException
serialize
in interface org.apache.hadoop.io.serializer.Serializer<Result>
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.