接口的使用
org.apache.pulsar.client.api.schema.FieldSchemaBuilder
-
使用FieldSchemaBuilder的程序包 程序包 说明 org.apache.pulsar.client.api.schema Schema definitions for Pulsar Client API. -
-
org.apache.pulsar.client.api.schema中FieldSchemaBuilder的使用
类型参数类型为FieldSchemaBuilder的org.apache.pulsar.client.api.schema中的类 修饰符和类型 接口 说明 interfaceFieldSchemaBuilder<T extends FieldSchemaBuilder<T>>Build a field for a record.返回FieldSchemaBuilder的org.apache.pulsar.client.api.schema中的方法 修饰符和类型 方法 说明 FieldSchemaBuilderRecordSchemaBuilder. field(java.lang.String fieldName)Add a field with the given name to the record.FieldSchemaBuilderRecordSchemaBuilder. field(java.lang.String fieldName, GenericSchema genericSchema)Add a field with the given name and genericSchema to the record.
-