| 程序包 | 说明 |
|---|---|
| org.apache.pulsar.client.api.schema |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Field> |
GenericSchema.getFields()
Returns the list of fields.
|
List<Field> |
GenericRecord.getFields()
Returns the list of fields associated with the record.
|
| 限定符和类型 | 方法和说明 |
|---|---|
GenericRecordBuilder |
GenericRecordBuilder.clear(Field field)
Clears the value of the given field.
|
default Object |
GenericRecord.getField(Field field)
Retrieve the value of the provided field.
|
GenericRecordBuilder |
GenericRecordBuilder.set(Field field,
Object value)
Sets the value of a field.
|
Copyright © 2017–2019 Apache Software Foundation. All rights reserved.