| Package | Description |
|---|---|
| org.apache.pulsar.client.api |
Pulsar Client API.
|
| org.apache.pulsar.client.api.schema |
Schema definitions for Pulsar Client API.
|
| org.apache.pulsar.client.internal |
Helpers which provide useful functionality for the implementation of Pulsar Client API.
|
| Modifier and Type | Method and Description |
|---|---|
SchemaInfo |
Schema.getSchemaInfo() |
| Modifier and Type | Method and Description |
|---|---|
default void |
Schema.configureSchemaInfo(String topic,
String componentName,
SchemaInfo schemaInfo)
Configure the schema to use the provided schema info.
|
static GenericSchema<GenericRecord> |
Schema.generic(SchemaInfo schemaInfo)
Returns a generic schema of existing schema info.
|
static Schema<?> |
Schema.getSchema(SchemaInfo schemaInfo) |
| Modifier and Type | Method and Description |
|---|---|
SchemaInfo |
RecordSchemaBuilder.build(SchemaType schemaType)
Build the schema info.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<SchemaInfo> |
SchemaInfoProvider.getLatestSchema()
Retrieve the latest schema info.
|
CompletableFuture<SchemaInfo> |
SchemaInfoProvider.getSchemaByVersion(byte[] schemaVersion)
Retrieve the schema info of a given schemaVersion.
|
| Modifier and Type | Method and Description |
|---|---|
static GenericSchema |
GenericSchema.of(SchemaInfo schemaInfo) |
static GenericSchema |
GenericSchema.of(SchemaInfo schemaInfo,
boolean useProvidedSchemaAsReaderSchema) |
| Modifier and Type | Method and Description |
|---|---|
<K,V> SchemaInfo |
PulsarClientImplementationBinding.encodeKeyValueSchemaInfo(Schema<K> keySchema,
Schema<V> valueSchema,
KeyValueEncodingType keyValueEncodingType)
Encode key & value into schema into a KeyValue schema.
|
<K,V> SchemaInfo |
PulsarClientImplementationBinding.encodeKeyValueSchemaInfo(String schemaName,
Schema<K> keySchema,
Schema<V> valueSchema,
KeyValueEncodingType keyValueEncodingType)
Encode key & value into schema into a KeyValue schema.
|
| Modifier and Type | Method and Description |
|---|---|
KeyValue<SchemaInfo,SchemaInfo> |
PulsarClientImplementationBinding.decodeKeyValueSchemaInfo(SchemaInfo schemaInfo)
Decode the key/value schema info to get key schema info and value schema info.
|
KeyValue<SchemaInfo,SchemaInfo> |
PulsarClientImplementationBinding.decodeKeyValueSchemaInfo(SchemaInfo schemaInfo)
Decode the key/value schema info to get key schema info and value schema info.
|
| Modifier and Type | Method and Description |
|---|---|
KeyValueEncodingType |
PulsarClientImplementationBinding.decodeKeyValueEncodingType(SchemaInfo schemaInfo)
Decode the kv encoding type from the schema info.
|
KeyValue<SchemaInfo,SchemaInfo> |
PulsarClientImplementationBinding.decodeKeyValueSchemaInfo(SchemaInfo schemaInfo)
Decode the key/value schema info to get key schema info and value schema info.
|
GenericSchema<GenericRecord> |
PulsarClientImplementationBinding.getGenericSchema(SchemaInfo schemaInfo) |
Schema<?> |
PulsarClientImplementationBinding.getSchema(SchemaInfo schemaInfo) |
String |
PulsarClientImplementationBinding.jsonifySchemaInfo(SchemaInfo schemaInfo)
Jsonify the schema info.
|
| Modifier and Type | Method and Description |
|---|---|
String |
PulsarClientImplementationBinding.convertKeyValueSchemaInfoDataToString(KeyValue<SchemaInfo,SchemaInfo> kvSchemaInfo)
Convert the key/value schema data.
|
String |
PulsarClientImplementationBinding.convertKeyValueSchemaInfoDataToString(KeyValue<SchemaInfo,SchemaInfo> kvSchemaInfo)
Convert the key/value schema data.
|
String |
PulsarClientImplementationBinding.jsonifyKeyValueSchemaInfo(KeyValue<SchemaInfo,SchemaInfo> kvSchemaInfo)
Jsonify the key/value schema info.
|
String |
PulsarClientImplementationBinding.jsonifyKeyValueSchemaInfo(KeyValue<SchemaInfo,SchemaInfo> kvSchemaInfo)
Jsonify the key/value schema info.
|
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.