@Internal public final class RuntimeSerializerFactory<T> extends Object implements TypeSerializerFactory<T>, Serializable
Constructor and Description |
---|
RuntimeSerializerFactory() |
RuntimeSerializerFactory(TypeSerializer<T> serializer,
Class<T> clazz) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Class<T> |
getDataType() |
TypeSerializer<T> |
getSerializer() |
int |
hashCode() |
void |
readParametersFromConfig(Configuration config,
ClassLoader cl) |
void |
writeParametersToConfig(Configuration config) |
public RuntimeSerializerFactory()
public RuntimeSerializerFactory(TypeSerializer<T> serializer, Class<T> clazz)
public void writeParametersToConfig(Configuration config)
writeParametersToConfig
in interface TypeSerializerFactory<T>
public void readParametersFromConfig(Configuration config, ClassLoader cl) throws ClassNotFoundException
readParametersFromConfig
in interface TypeSerializerFactory<T>
ClassNotFoundException
public TypeSerializer<T> getSerializer()
getSerializer
in interface TypeSerializerFactory<T>
public Class<T> getDataType()
getDataType
in interface TypeSerializerFactory<T>
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.