@Internal public final class TupleSerializerConfigSnapshot<T> extends CompositeTypeSerializerConfigSnapshot<T>
TypeSerializerConfigSnapshot.SelfResolvingTypeSerializer<E>
Constructor and Description |
---|
TupleSerializerConfigSnapshot()
This empty nullary constructor is required for deserializing the configuration.
|
TupleSerializerConfigSnapshot(Class<T> tupleClass,
TypeSerializer<?>[] fieldSerializers) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Class<T> |
getTupleClass() |
int |
getVersion()
Returns the version number of the object.
|
int |
hashCode() |
void |
read(DataInputView in)
Reads the object's internal data from the given data input view.
|
void |
write(DataOutputView out)
Writes the object's internal data to the given data output view.
|
getNestedSerializersAndConfigs, getNestedSerializerSnapshots, getSingleNestedSerializerAndConfig
getCurrentVersion, getUserCodeClassLoader, readSnapshot, resolveSchemaCompatibility, restoreSerializer, setPriorSerializer, setUserCodeClassLoader, writeSnapshot
getCompatibleVersions, getReadVersion
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
readVersionedSnapshot, writeVersionedSnapshot
public TupleSerializerConfigSnapshot()
public TupleSerializerConfigSnapshot(Class<T> tupleClass, TypeSerializer<?>[] fieldSerializers)
public void write(DataOutputView out) throws IOException
IOReadableWritable
write
in interface IOReadableWritable
write
in class CompositeTypeSerializerConfigSnapshot<T>
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 CompositeTypeSerializerConfigSnapshot<T>
in
- the input view to read the data fromIOException
- thrown if any error occurs while reading from the input streampublic int getVersion()
Versioned
public boolean equals(Object obj)
equals
in class CompositeTypeSerializerConfigSnapshot<T>
public int hashCode()
hashCode
in class CompositeTypeSerializerConfigSnapshot<T>
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.