Package org.apache.pulsar.common.schema
Interface SchemaInfo
Information about the schema.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SchemaInfo.SchemaInfoBuilder
builder()
getName()
Additional properties of the schema definition (implementation defined).byte[]
The schema data in AVRO JSON format.long
The created time of schema.getType()
The type of schema (AVRO, JSON, PROTOBUF, etc..).
-
Method Details
-
getName
String getName() -
getSchema
byte[] getSchema()The schema data in AVRO JSON format. -
getType
SchemaType getType()The type of schema (AVRO, JSON, PROTOBUF, etc..). -
getProperties
Additional properties of the schema definition (implementation defined). -
getTimestamp
long getTimestamp()The created time of schema. -
getSchemaDefinition
String getSchemaDefinition() -
builder
-