@Internal public class TypeSerializerSerializationProxy<T> extends VersionedIOReadableWritable
Modifier and Type | Field and Description |
---|---|
static int |
VERSION |
Constructor and Description |
---|
TypeSerializerSerializationProxy(ClassLoader userClassLoader) |
TypeSerializerSerializationProxy(ClassLoader userClassLoader,
boolean ignoreClassNotFound) |
TypeSerializerSerializationProxy(TypeSerializer<T> typeSerializer) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
TypeSerializer<T> |
getTypeSerializer() |
int |
getVersion()
Returns the version number of the object.
|
int |
hashCode() |
boolean |
isIgnoreClassNotFound() |
void |
read(DataInputView in)
Reads the object's internal data from the given data input view.
|
void |
setIgnoreClassNotFound(boolean ignoreClassNotFound) |
void |
write(DataOutputView out)
Writes the object's internal data to the given data output view.
|
isCompatibleVersion, resolveVersionRead
public static final int VERSION
public TypeSerializerSerializationProxy(ClassLoader userClassLoader, boolean ignoreClassNotFound)
public TypeSerializerSerializationProxy(ClassLoader userClassLoader)
public TypeSerializerSerializationProxy(TypeSerializer<T> typeSerializer)
public TypeSerializer<T> getTypeSerializer()
public int getVersion()
Versioned
public void write(DataOutputView out) throws IOException
IOReadableWritable
write
in interface IOReadableWritable
write
in class VersionedIOReadableWritable
out
- the output view to receive the data.IOException
- thrown if any error occurs while writing to the output streampublic void read(DataInputView in) throws IOException
IOReadableWritable
read
in interface IOReadableWritable
read
in class VersionedIOReadableWritable
in
- the input view to read the data fromIOException
- thrown if any error occurs while reading from the input streampublic boolean isIgnoreClassNotFound()
public void setIgnoreClassNotFound(boolean ignoreClassNotFound)
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.