@FunctionalInterface
protected static interface GenericRecordJsonWriter.GenericRecordHandler
Modifier and Type | Method and Description |
---|---|
boolean |
print(GenericRecordJsonWriter record,
java.lang.String name,
java.lang.Object object)
Handler method
|
boolean print(GenericRecordJsonWriter record, java.lang.String name, java.lang.Object object)
record
- the parent record, applied via instance method referencename
- the name of the propertyobject
- the value of the propertytrue
, if the element was handled and output produced,
The provided methods can be overridden and a implementation can return false
,
if the element hasn't been written to the streamCopyright 2022 The Apache Software Foundation or its licensors, as applicable.