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 Details

    • resolveSerdeForClass

      SerdeProvision resolveSerdeForClass(SerdeProviderContextClass context)
      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

      default SerdeProvision resolveSerdeForEventType(SerdeProviderEventTypeContext context)
      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