C - The component type.@Internal public final class GenericArraySerializerConfigSnapshot<C> extends CompositeTypeSerializerConfigSnapshot
GenericArraySerializer.| Constructor and Description |
|---|
GenericArraySerializerConfigSnapshot()
This empty nullary constructor is required for deserializing the configuration.
|
GenericArraySerializerConfigSnapshot(Class<C> componentClass,
TypeSerializer<C> componentSerializer) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Class<C> |
getComponentClass() |
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, getSingleNestedSerializerAndConfiggetUserCodeClassLoader, setUserCodeClassLoadergetCompatibleVersions, getReadVersionpublic GenericArraySerializerConfigSnapshot()
public GenericArraySerializerConfigSnapshot(Class<C> componentClass, TypeSerializer<C> componentSerializer)
public void write(DataOutputView out) throws IOException
IOReadableWritablewrite in interface IOReadableWritablewrite in class CompositeTypeSerializerConfigSnapshotout - 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
IOReadableWritableread in interface IOReadableWritableread in class CompositeTypeSerializerConfigSnapshotin - the input view to read the data fromIOException - thrown if any error occurs while reading from the input streampublic int getVersion()
Versionedpublic boolean equals(Object obj)
equals in class CompositeTypeSerializerConfigSnapshotpublic int hashCode()
hashCode in class CompositeTypeSerializerConfigSnapshotCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.