Uses of Class
org.apache.pulsar.common.schema.SchemaType
-
Packages that use SchemaType 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.org.apache.pulsar.common.schema This package contains data structures for schema definitions used in the Pulsar Client API. -
-
Uses of SchemaType in org.apache.pulsar.client.api
Methods in org.apache.pulsar.client.api with parameters of type SchemaType Modifier and Type Method Description static <K,V>
Schema<KeyValue<K,V>>Schema. KeyValue(java.lang.Class<K> key, java.lang.Class<V> value, SchemaType type)Key Value Schema using passed in schema type, support JSON and AVRO currently. -
Uses of SchemaType in org.apache.pulsar.client.api.schema
Methods in org.apache.pulsar.client.api.schema that return SchemaType Modifier and Type Method Description SchemaTypeGenericObject. getSchemaType()Return the schema tyoe.default SchemaTypeGenericRecord. getSchemaType()Return the schema tyoe.Methods in org.apache.pulsar.client.api.schema with parameters of type SchemaType Modifier and Type Method Description SchemaInfoRecordSchemaBuilder. build(SchemaType schemaType)Build the schema info.TFieldSchemaBuilder. type(SchemaType type)The type of this field. -
Uses of SchemaType in org.apache.pulsar.client.internal
Methods in org.apache.pulsar.client.internal with parameters of type SchemaType Modifier and Type Method Description static <K,V>
Schema<KeyValue<K,V>>DefaultImplementation. newKeyValueSchema(java.lang.Class<K> key, java.lang.Class<V> value, SchemaType type) -
Uses of SchemaType in org.apache.pulsar.common.schema
Methods in org.apache.pulsar.common.schema that return SchemaType Modifier and Type Method Description SchemaTypeSchemaInfo. getType()The type of schema (AVRO, JSON, PROTOBUF, etc..).static SchemaTypeSchemaType. valueOf(int value)Returns the enum constant of this type with the specified name.static SchemaTypeSchemaType. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SchemaType[]SchemaType. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.pulsar.common.schema with parameters of type SchemaType Modifier and Type Method Description static booleanSchemaType. isPrimitiveType(SchemaType type)static booleanSchemaType. isStructType(SchemaType type)
-