public final class TypeSerializerUtils extends Object
TypeSerializer
and the TypeSerializerSnapshot
.Modifier and Type | Method and Description |
---|---|
static TypeSerializerSnapshot<?>[] |
snapshotBackwardsCompatible(TypeSerializer<?>... originatingSerializers)
Takes config snapshots of the given serializers.
|
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.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.