| 程序包 | 说明 |
|---|---|
| org.apache.pulsar.client.api.schema | |
| org.apache.pulsar.client.internal |
| 限定符和类型 | 方法和说明 |
|---|---|
RecordSchemaBuilder |
RecordSchemaBuilder.doc(String doc)
Add doc to the record schema.
|
RecordSchemaBuilder |
RecordSchemaBuilder.property(String name,
String val)
Attach val-name property pair to the record schema.
|
static RecordSchemaBuilder |
SchemaBuilder.record(String name)
Build the schema for a record.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static RecordSchemaBuilder |
DefaultImplementation.newRecordSchemaBuilder(String name) |
Copyright © 2017–2019 Apache Software Foundation. All rights reserved.