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 |
---|---|
static <T> Schema<T> |
Schema.AVRO(SchemaDefinition<T> schemaDefinition)
Create a Avro schema type with schema definition.
|
static <T> Schema<T> |
Schema.JSON(SchemaDefinition schemaDefinition)
Create a JSON schema type with schema definition.
|
static <T extends com.google.protobuf.GeneratedMessageV3> |
Schema.PROTOBUF(SchemaDefinition<T> schemaDefinition)
Create a Protobuf schema type with schema definition.
|
Modifier and Type | Method and Description |
---|---|
SchemaDefinition<T> |
SchemaDefinitionBuilder.build()
Build the schema definition.
|
Modifier and Type | Method and Description |
---|---|
static <T> Schema<T> |
DefaultImplementation.newAvroSchema(SchemaDefinition schemaDefinition) |
static <T> Schema<T> |
DefaultImplementation.newJSONSchema(SchemaDefinition schemaDefinition) |
static <T extends com.google.protobuf.GeneratedMessageV3> |
DefaultImplementation.newProtobufSchema(SchemaDefinition schemaDefinition) |
Copyright © 2017–2020 Apache Software Foundation. All rights reserved.