Package | Description |
---|---|
org.axonframework.serialization.upcasting.event |
Modifier and Type | Class and Description |
---|---|
class |
InitialEventRepresentation
Implementation of an
IntermediateEventRepresentation that contains the original serialized payload and
metadata before these have been upcast. |
class |
UpcastedEventRepresentation<T>
Implementation of an
IntermediateEventRepresentation that contains upcast functions for the payload
and metadata of a previous representation. |
Modifier and Type | Method and Description |
---|---|
<S> IntermediateEventRepresentation |
UpcastedEventRepresentation.upcast(SerializedType outputType,
Class<S> expectedRepresentationType,
Function<S,S> upcastFunction,
Function<MetaData,MetaData> metaDataUpcastFunction) |
<T> IntermediateEventRepresentation |
InitialEventRepresentation.upcast(SerializedType outputType,
Class<T> expectedRepresentationType,
Function<T,T> upcastFunction,
Function<MetaData,MetaData> metaDataUpcastFunction) |
<T> IntermediateEventRepresentation |
IntermediateEventRepresentation.upcast(SerializedType outputType,
Class<T> expectedRepresentationType,
Function<T,T> upcastFunction,
Function<MetaData,MetaData> metaDataUpcastFunction)
Upcast the serialized payload of the event (leaving other aspects of the event the same).
|
default <T> IntermediateEventRepresentation |
IntermediateEventRepresentation.upcastPayload(SerializedType outputType,
Class<T> expectedRepresentationType,
Function<T,T> upcastFunction)
Upcast the serialized payload of the event (leaving other aspects of the event the same).
|
Modifier and Type | Method and Description |
---|---|
Stream<IntermediateEventRepresentation> |
NoOpEventUpcaster.upcast(Stream<IntermediateEventRepresentation> intermediateRepresentations) |
Modifier and Type | Method and Description |
---|---|
Stream<IntermediateEventRepresentation> |
NoOpEventUpcaster.upcast(Stream<IntermediateEventRepresentation> intermediateRepresentations) |
Constructor and Description |
---|
UpcastedEventRepresentation(SerializedType outputType,
IntermediateEventRepresentation source,
Function<T,T> upcastFunction,
Function<MetaData,MetaData> metaDataUpcastFunction,
Class<T> requiredType,
Converter converter)
Initializes an
UpcastedEventRepresentation from source data and given upcast functions for payload and
metadata. |
Copyright © 2010–2018. All rights reserved.