Interface GenericRecordJsonWriter.GenericRecordHandler

Enclosing class:
GenericRecordJsonWriter
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface protected static interface GenericRecordJsonWriter.GenericRecordHandler
  • Method Details

    • print

      boolean print(GenericRecordJsonWriter record, String name, Object object)
      Handler method
      Parameters:
      record - the parent record, applied via instance method reference
      name - the name of the property
      object - the value of the property
      Returns:
      true, if the element was handled and output produced, The provided methods can be overridden and an implementation can return false, if the element hasn't been written to the stream