接口的使用
org.apache.pulsar.client.api.schema.FieldSchemaBuilder
使用FieldSchemaBuilder的程序包
-
org.apache.pulsar.client.api.schema中FieldSchemaBuilder的使用
修饰符和类型接口说明interfaceFieldSchemaBuilder<T extends FieldSchemaBuilder<T>>Build a field for a record.修饰符和类型方法说明Add a field with the given name to the record.RecordSchemaBuilder.field(String fieldName, GenericSchema genericSchema) Add a field with the given name and genericSchema to the record.