public final class ScalaOptionSerializerConfigSnapshot<E> extends CompositeTypeSerializerConfigSnapshot<scala.Option<E>>
TypeSerializerConfigSnapshot
for the Scala OptionSerializer
.
This configuration snapshot class is implemented in Java because Scala does not allow calling different base class constructors from subclasses, while we need that for the default empty constructor.
Constructor and Description |
---|
ScalaOptionSerializerConfigSnapshot()
This empty nullary constructor is required for deserializing the configuration.
|
ScalaOptionSerializerConfigSnapshot(TypeSerializer<E> elementSerializer) |
Modifier and Type | Method and Description |
---|---|
int |
getVersion()
Returns the version number of the object.
|
equals, getNestedSerializersAndConfigs, getSingleNestedSerializerAndConfig, hashCode, read, write
getCurrentVersion, getUserCodeClassLoader, readSnapshot, resolveSchemaCompatibility, restoreSerializer, setPriorSerializer, setUserCodeClassLoader, writeSnapshot
getCompatibleVersions, getReadVersion
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
readVersionedSnapshot, writeVersionedSnapshot
public ScalaOptionSerializerConfigSnapshot()
public ScalaOptionSerializerConfigSnapshot(TypeSerializer<E> elementSerializer)
public int getVersion()
Versioned
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.