| Modifier and Type | Class and Description |
|---|---|
static class |
CompositeSerializer.ConfigSnapshot
Snapshot field serializers of composite type.
|
class |
CompositeTypeSerializerConfigSnapshot
A
TypeSerializerConfigSnapshot for serializers that has multiple nested serializers. |
class |
GenericTypeSerializerConfigSnapshot<T>
Configuration snapshot for serializers for generic types.
|
class |
ParameterlessTypeSerializerConfig
A base class for
TypeSerializerConfigSnapshots that do not have any parameters. |
| Modifier and Type | Method and Description |
|---|---|
static TypeSerializerConfigSnapshot |
TypeSerializerSerializationUtil.readSerializerConfigSnapshot(DataInputView in,
ClassLoader userCodeClassLoader)
Reads from a data input view a
TypeSerializerConfigSnapshot that was previously
written using TypeSerializerSerializationUtil.writeSerializerConfigSnapshot(DataOutputView, TypeSerializerConfigSnapshot). |
static TypeSerializerConfigSnapshot[] |
TypeSerializerSerializationUtil.readSerializerConfigSnapshots(DataInputView in,
ClassLoader userCodeClassLoader)
Reads from a data input view multiple
TypeSerializerConfigSnapshots that was previously
written using TypeSerializerSerializationUtil.writeSerializerConfigSnapshot(DataOutputView, TypeSerializerConfigSnapshot). |
TypeSerializerConfigSnapshot |
CompositeSerializer.snapshotConfiguration() |
abstract TypeSerializerConfigSnapshot |
TypeSerializer.snapshotConfiguration()
Create a snapshot of the serializer's current configuration to be stored along with the managed state it is
registered to (if any - this method is only relevant if this serializer is registered for serialization of
managed state).
|
TypeSerializerConfigSnapshot |
UnloadableDummyTypeSerializer.snapshotConfiguration() |
TypeSerializerConfigSnapshot |
TypeDeserializerAdapter.snapshotConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
List<Tuple2<TypeSerializer<?>,TypeSerializerConfigSnapshot>> |
CompositeTypeSerializerConfigSnapshot.getNestedSerializersAndConfigs() |
Tuple2<TypeSerializer<?>,TypeSerializerConfigSnapshot> |
CompositeTypeSerializerConfigSnapshot.getSingleNestedSerializerAndConfig() |
static List<Tuple2<TypeSerializer<?>,TypeSerializerConfigSnapshot>> |
TypeSerializerSerializationUtil.readSerializersAndConfigsWithResilience(DataInputView in,
ClassLoader userCodeClassLoader)
Reads from a data input view a list of serializers and their corresponding config snapshots
written using
TypeSerializerSerializationUtil.writeSerializersAndConfigsWithResilience(DataOutputView, List). |
| Modifier and Type | Method and Description |
|---|---|
CompatibilityResult<T> |
CompositeSerializer.ensureCompatibility(TypeSerializerConfigSnapshot configSnapshot) |
abstract CompatibilityResult<T> |
TypeSerializer.ensureCompatibility(TypeSerializerConfigSnapshot configSnapshot)
Ensure compatibility of this serializer with a preceding serializer that was registered for serialization of
the same managed state (if any - this method is only relevant if this serializer is registered for
serialization of managed state).
|
CompatibilityResult<T> |
UnloadableDummyTypeSerializer.ensureCompatibility(TypeSerializerConfigSnapshot configSnapshot) |
CompatibilityResult<T> |
TypeDeserializerAdapter.ensureCompatibility(TypeSerializerConfigSnapshot configSnapshot) |
static <T> CompatibilityResult<T> |
CompatibilityUtil.resolveCompatibilityResult(TypeSerializer<?> precedingSerializer,
Class<?> dummySerializerClassTag,
TypeSerializerConfigSnapshot precedingSerializerConfigSnapshot,
TypeSerializer<T> newSerializer)
Resolves the final compatibility result of two serializers by taking into account compound information,
including the preceding serializer, the preceding serializer's configuration snapshot, and the new serializer.
|
static void |
TypeSerializerSerializationUtil.writeSerializerConfigSnapshot(DataOutputView out,
TypeSerializerConfigSnapshot serializerConfigSnapshot)
Writes a
TypeSerializerConfigSnapshot to the provided data output view. |
static void |
TypeSerializerSerializationUtil.writeSerializerConfigSnapshots(DataOutputView out,
TypeSerializerConfigSnapshot... serializerConfigSnapshots)
Writes multiple
TypeSerializerConfigSnapshots to the provided data output view. |
| Modifier and Type | Method and Description |
|---|---|
static void |
TypeSerializerSerializationUtil.writeSerializersAndConfigsWithResilience(DataOutputView out,
List<Tuple2<TypeSerializer<?>,TypeSerializerConfigSnapshot>> serializersAndConfigs)
Write a list of serializers and their corresponding config snapshots to the provided
data output view.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CollectionSerializerConfigSnapshot<T>
Configuration snapshot of a serializer for collection types.
|
static class |
EnumSerializer.EnumSerializerConfigSnapshot<T extends Enum<T>>
Configuration snapshot of a serializer for enumerations.
|
class |
GenericArraySerializerConfigSnapshot<C>
Point-in-time configuration of a
GenericArraySerializer. |
class |
MapSerializerConfigSnapshot<K,V>
Configuration snapshot for serializers of maps, containing the
configuration snapshot of its key serializer and value serializer.
|
| Modifier and Type | Method and Description |
|---|---|
TypeSerializerConfigSnapshot |
TypeSerializerSingleton.snapshotConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
CompatibilityResult<Map<K,V>> |
MapSerializer.ensureCompatibility(TypeSerializerConfigSnapshot configSnapshot) |
CompatibilityResult<List<T>> |
ListSerializer.ensureCompatibility(TypeSerializerConfigSnapshot configSnapshot) |
CompatibilityResult<C[]> |
GenericArraySerializer.ensureCompatibility(TypeSerializerConfigSnapshot configSnapshot) |
CompatibilityResult<T> |
EnumSerializer.ensureCompatibility(TypeSerializerConfigSnapshot configSnapshot) |
CompatibilityResult<T> |
TypeSerializerSingleton.ensureCompatibility(TypeSerializerConfigSnapshot configSnapshot) |
| Modifier and Type | Class and Description |
|---|---|
static class |
CopyableValueSerializer.CopyableValueSerializerConfigSnapshot<T extends CopyableValue<T>> |
class |
EitherSerializerConfigSnapshot<L,R>
Configuration snapshot for serializers of the
Either type,
containing configuration snapshots of the Left and Right serializers. |
class |
KryoRegistrationSerializerConfigSnapshot<T>
Configuration snapshot base class for serializers that use Kryo for serialization.
|
static class |
PojoSerializer.PojoSerializerConfigSnapshot<T> |
static class |
RowSerializer.RowSerializerConfigSnapshot |
class |
TupleSerializerConfigSnapshot<T>
Snapshot of a tuple serializer's configuration.
|
static class |
ValueSerializer.ValueSerializerConfigSnapshot<T extends Value> |
| Modifier and Type | Method and Description |
|---|---|
LinkedHashMap<String,Tuple2<TypeSerializer<?>,TypeSerializerConfigSnapshot>> |
PojoSerializer.PojoSerializerConfigSnapshot.getFieldToSerializerConfigSnapshot() |
HashMap<Class<?>,Tuple2<TypeSerializer<?>,TypeSerializerConfigSnapshot>> |
PojoSerializer.PojoSerializerConfigSnapshot.getNonRegisteredSubclassesToSerializerConfigSnapshots() |
LinkedHashMap<Class<?>,Tuple2<TypeSerializer<?>,TypeSerializerConfigSnapshot>> |
PojoSerializer.PojoSerializerConfigSnapshot.getRegisteredSubclassesToSerializerConfigSnapshots() |
| Modifier and Type | Method and Description |
|---|---|
CompatibilityResult<Row> |
RowSerializer.ensureCompatibility(TypeSerializerConfigSnapshot configSnapshot) |
CompatibilityResult<T> |
TupleSerializerBase.ensureCompatibility(TypeSerializerConfigSnapshot configSnapshot) |
CompatibilityResult<T> |
PojoSerializer.ensureCompatibility(TypeSerializerConfigSnapshot configSnapshot) |
CompatibilityResult<T> |
CopyableValueSerializer.ensureCompatibility(TypeSerializerConfigSnapshot configSnapshot) |
CompatibilityResult<T> |
ValueSerializer.ensureCompatibility(TypeSerializerConfigSnapshot configSnapshot) |
CompatibilityResult<Either<L,R>> |
EitherSerializer.ensureCompatibility(TypeSerializerConfigSnapshot configSnapshot) |
| Modifier and Type | Class and Description |
|---|---|
static class |
KryoSerializer.KryoSerializerConfigSnapshot<T> |
| Modifier and Type | Method and Description |
|---|---|
CompatibilityResult<T> |
KryoSerializer.ensureCompatibility(TypeSerializerConfigSnapshot configSnapshot) |
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.