Package org.apache.pulsar.common.schema
Interface SchemaInfo
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
SchemaInfo.SchemaInfoBuilder
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static SchemaInfo.SchemaInfoBuilder
builder()
java.lang.String
getName()
java.util.Map<java.lang.String,java.lang.String>
getProperties()
Additional properties of the schema definition (implementation defined).byte[]
getSchema()
The schema data in AVRO JSON format.java.lang.String
getSchemaDefinition()
SchemaType
getType()
The type of schema (AVRO, JSON, PROTOBUF, etc..).
-
-
-
Method Detail
-
getName
java.lang.String getName()
-
getSchema
byte[] getSchema()
The schema data in AVRO JSON format.
-
getType
SchemaType getType()
The type of schema (AVRO, JSON, PROTOBUF, etc..).
-
getProperties
java.util.Map<java.lang.String,java.lang.String> getProperties()
Additional properties of the schema definition (implementation defined).
-
getSchemaDefinition
java.lang.String getSchemaDefinition()
-
builder
static SchemaInfo.SchemaInfoBuilder builder()
-
-