Uses of Enum Class
org.apache.pulsar.common.schema.SchemaType
Package
Description
Pulsar Client API.
Schema definitions for Pulsar Client API.
Helpers which provide useful functionality for the implementation of Pulsar Client API.
This package contains data structures for schema definitions used in the Pulsar Client API.
-
Uses of SchemaType in org.apache.pulsar.client.api
-
Uses of SchemaType in org.apache.pulsar.client.api.schema
Modifier and TypeMethodDescriptionGenericObject.getSchemaType()
Return the schema tyoe.default SchemaType
GenericRecord.getSchemaType()
Return the schema tyoe.Modifier and TypeMethodDescriptionRecordSchemaBuilder.build
(SchemaType schemaType) Build the schema info.FieldSchemaBuilder.type
(SchemaType type) The type of this field. -
Uses of SchemaType in org.apache.pulsar.client.internal
Modifier and TypeMethodDescriptionPulsarClientImplementationBinding.newKeyValueSchema
(Class<K> key, Class<V> value, SchemaType type) PulsarClientImplementationBinding.newSchemaInfoImpl
(String name, byte[] schema, SchemaType type, long timestamp, Map<String, String> propertiesValue) -
Uses of SchemaType in org.apache.pulsar.common.schema
Modifier and TypeMethodDescriptionSchemaInfo.getType()
The type of schema (AVRO, JSON, PROTOBUF, etc..).static SchemaType
SchemaType.valueOf
(int value) Returns the enum constant of this class with the specified name.static SchemaType
Returns the enum constant of this class with the specified name.static SchemaType[]
SchemaType.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionstatic boolean
SchemaType.isPrimitiveType
(SchemaType type) static boolean
SchemaType.isStructType
(SchemaType type) SchemaInfo.SchemaInfoBuilder.type
(SchemaType type)