Interface DocumentSerdes.Delegating

All Superinterfaces:
DocumentSerdes
Enclosing interface:
DocumentSerdes

public static interface DocumentSerdes.Delegating extends DocumentSerdes
Document serdes kept by another context, such as the context a derived context delegates to.
Since:
3.3.0
  • Method Details

    • documentSerdesOwner

      Object documentSerdesOwner()
      Returns:
      The context that keeps the document serdes
    • getDocumentSerde

      default @Nullable Object getDocumentSerde(Object owner)
      Specified by:
      getDocumentSerde in interface DocumentSerdes
      Parameters:
      owner - The serde that stored the value
      Returns:
      The value stored by the owner for this document, or null
    • putDocumentSerde

      default void putDocumentSerde(Object owner, Object value)
      Description copied from interface: DocumentSerdes
      Stores a value for the rest of the document.
      Specified by:
      putDocumentSerde in interface DocumentSerdes
      Parameters:
      owner - The serde that stores the value
      value - The value