public class ScalaTrySerializerConfigSnapshot<E> extends CompositeTypeSerializerConfigSnapshot<scala.util.Try<E>>
TypeSerializerConfigSnapshot
for the Scala TrySerializer
.
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 |
---|
ScalaTrySerializerConfigSnapshot()
This empty nullary constructor is required for deserializing the configuration.
|
ScalaTrySerializerConfigSnapshot(TypeSerializer<E> elementSerializer,
TypeSerializer<Throwable> throwableSerializer) |
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 ScalaTrySerializerConfigSnapshot()
public ScalaTrySerializerConfigSnapshot(TypeSerializer<E> elementSerializer, TypeSerializer<Throwable> throwableSerializer)
public int getVersion()
Versioned
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.