Package | Description |
---|---|
org.apache.pulsar.client.api.schema |
Schema definitions for Pulsar Client API.
|
Modifier and Type | Interface and Description |
---|---|
interface |
FieldSchemaBuilder<T extends FieldSchemaBuilder<T>>
Build a field for a record.
|
Modifier and Type | Method and Description |
---|---|
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–2022 Apache Software Foundation. All rights reserved.