26#include <pulsar/defines.h>
109PULSAR_PUBLIC
const char *strSchemaType(
SchemaType schemaType);
113typedef std::map<std::string, std::string> StringMap;
139 const StringMap &properties = StringMap());
162 typedef std::shared_ptr<SchemaInfoImpl> SchemaInfoImplPtr;
163 SchemaInfoImplPtr impl_;
168PULSAR_PUBLIC std::ostream &operator<<(std::ostream &s,
pulsar::SchemaType schemaType);
const StringMap & getProperties() const
SchemaType getSchemaType() const
SchemaInfo(SchemaType schemaType, const std::string &name, const std::string &schema, const StringMap &properties=StringMap())
const std::string & getSchema() const
const std::string & getName() const
Definition: Authentication.h:30
SchemaType
Definition: Schema.h:31
@ INT64
Definition: Schema.h:75
@ JSON
Definition: Schema.h:45
@ DOUBLE
Definition: Schema.h:85
@ INT8
Definition: Schema.h:60
@ BYTES
Definition: Schema.h:95
@ PROTOBUF
Definition: Schema.h:50
@ FLOAT
Definition: Schema.h:80
@ AUTO_CONSUME
Definition: Schema.h:100
@ INT16
Definition: Schema.h:65
@ KEY_VALUE
Definition: Schema.h:90
@ STRING
Definition: Schema.h:40
@ INT32
Definition: Schema.h:70
@ AVRO
Definition: Schema.h:55
@ AUTO_PUBLISH
Definition: Schema.h:105
@ NONE
Definition: Schema.h:35