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 |
ResultSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
open(OutputStream out) |
void |
serialize(Result result) |
private OutputStream out
private 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–2020 The Apache Software Foundation. All rights reserved.