Interface SerdeProvider
public interface SerdeProvider
For use with high-availability and scale-out only, provider for serde (serializer and deserializer) information
to the compiler.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a serde provision or null if none can be determined.default SerdeProvision
Returns a serde for a map or object-array event type or null for using the default serde
-
Method Details
-
resolveSerdeForClass
Returns a serde provision or null if none can be determined.- Parameters:
context
- provider context object- Returns:
- null for no serde available, or the serde provider descriptor for the compiler
-
resolveSerdeForEventType
Returns a serde for a map or object-array event type or null for using the default serde- Parameters:
context
- provides information about the event type- Returns:
- null to use the default runtime serde, or the serde provider descriptor for the compiler
-