public final class TypeSerializerUtils extends Object
TypeSerializer
and the TypeSerializerSnapshot
.Modifier and Type | Method and Description |
---|---|
static TypeSerializerSnapshot<?>[] |
snapshotBackwardsCompatible(TypeSerializer<?>... originatingSerializers)
Takes snapshots of the given serializers.
|
static <T> TypeSerializerSnapshot<T> |
snapshotBackwardsCompatible(TypeSerializer<T> originatingSerializer)
Takes a snapshot of the given serializer.
|
public static TypeSerializerSnapshot<?>[] snapshotBackwardsCompatible(TypeSerializer<?>... originatingSerializers)
TypeSerializerConfigSnapshot
class, the snapshots
are set up properly (with their originating serializer) such that the backwards
compatible code paths work.public static <T> TypeSerializerSnapshot<T> snapshotBackwardsCompatible(TypeSerializer<T> originatingSerializer)
TypeSerializerConfigSnapshot
class, the snapshot
is set up properly (with its originating serializer) such that the backwards
compatible code paths work.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.