程序包 | 说明 |
---|---|
org.apache.pulsar.client.api.schema |
限定符和类型 | 接口和说明 |
---|---|
interface |
FieldSchemaBuilder<S extends FieldSchemaBuilder<S>>
Build a field for a record.
|
限定符和类型 | 方法和说明 |
---|---|
FieldSchemaBuilder |
RecordSchemaBuilder.field(String fieldName)
Add a field with the given name to the record.
|
FieldSchemaBuilder |
RecordSchemaBuilder.field(String fieldName,
GenericSchema genericSchema)
Add a field with the given name and genericSchema to the record.
|
Copyright © 2017–2019 Apache Software Foundation. All rights reserved.