Class JsonRecordBuilderImpl
java.lang.Object
org.apache.pulsar.client.impl.schema.generic.JsonRecordBuilderImpl
- All Implemented Interfaces:
GenericRecordBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Clears the value of the given field.Clears the value of the given field.Sets the value of a field.Sets the value of a field.
-
Constructor Details
-
JsonRecordBuilderImpl
-
-
Method Details
-
set
Sets the value of a field.- Specified by:
set
in interfaceGenericRecordBuilder
- Parameters:
fieldName
- the name of the field to set.value
- the value to set.- Returns:
- a reference to the RecordBuilder.
-
set
Sets the value of a field.- Specified by:
set
in interfaceGenericRecordBuilder
- Parameters:
field
- the field to set.value
- the value to set.- Returns:
- a reference to the RecordBuilder.
-
clear
Clears the value of the given field.- Specified by:
clear
in interfaceGenericRecordBuilder
- Parameters:
fieldName
- the name of the field to clear.- Returns:
- a reference to the RecordBuilder.
-
clear
Clears the value of the given field.- Specified by:
clear
in interfaceGenericRecordBuilder
- Parameters:
field
- the field to clear.- Returns:
- a reference to the RecordBuilder.
-
build
- Specified by:
build
in interfaceGenericRecordBuilder
-