Uses of Interface
org.apache.pulsar.client.api.schema.SchemaDefinition
-
Packages that use SchemaDefinition 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. -
-
Uses of SchemaDefinition in org.apache.pulsar.client.api
Methods in org.apache.pulsar.client.api with parameters of type SchemaDefinition Modifier and Type Method 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<T>Schema. PROTOBUF(SchemaDefinition<T> schemaDefinition)
Create a Protobuf schema type with schema definition.static <T extends com.google.protobuf.GeneratedMessageV3>
Schema<T>Schema. PROTOBUF_NATIVE(SchemaDefinition<T> schemaDefinition)
Create a Protobuf-Native schema type with schema definition. -
Uses of SchemaDefinition in org.apache.pulsar.client.api.schema
Methods in org.apache.pulsar.client.api.schema that return SchemaDefinition Modifier and Type Method Description SchemaDefinition<T>
SchemaDefinitionBuilder. build()
Build the schema definition. -
Uses of SchemaDefinition in org.apache.pulsar.client.internal
Methods in org.apache.pulsar.client.internal with parameters of type SchemaDefinition Modifier and Type Method Description <T> Schema<T>
PulsarClientImplementationBinding. newAvroSchema(SchemaDefinition schemaDefinition)
<T> Schema<T>
PulsarClientImplementationBinding. newJSONSchema(SchemaDefinition schemaDefinition)
<T extends com.google.protobuf.GeneratedMessageV3>
Schema<T>PulsarClientImplementationBinding. newProtobufNativeSchema(SchemaDefinition schemaDefinition)
<T extends com.google.protobuf.GeneratedMessageV3>
Schema<T>PulsarClientImplementationBinding. newProtobufSchema(SchemaDefinition schemaDefinition)
-