@InterfaceAudience.Public public class ResultSerialization extends org.apache.hadoop.conf.Configured implements org.apache.hadoop.io.serializer.Serialization<Result>
Modifier and Type | Class and Description |
---|---|
private static class |
ResultSerialization.Result94Deserializer
The following deserializer class is used to load exported file of 0.94
|
private static class |
ResultSerialization.ResultDeserializer |
private static class |
ResultSerialization.ResultSerializer |
Modifier and Type | Field and Description |
---|---|
static String |
IMPORT_FORMAT_VER |
private static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
ResultSerialization() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(Class<?> c) |
org.apache.hadoop.io.serializer.Deserializer<Result> |
getDeserializer(Class<Result> c) |
org.apache.hadoop.io.serializer.Serializer<Result> |
getSerializer(Class<Result> c) |
private static final org.slf4j.Logger LOG
public static final String IMPORT_FORMAT_VER
public ResultSerialization()
public boolean accept(Class<?> c)
accept
in interface org.apache.hadoop.io.serializer.Serialization<Result>
public org.apache.hadoop.io.serializer.Deserializer<Result> getDeserializer(Class<Result> c)
getDeserializer
in interface org.apache.hadoop.io.serializer.Serialization<Result>
public org.apache.hadoop.io.serializer.Serializer<Result> getSerializer(Class<Result> c)
getSerializer
in interface org.apache.hadoop.io.serializer.Serialization<Result>
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.