21#include <pulsar/defines.h>
135PULSAR_PUBLIC
const char *strSchemaType(
SchemaType schemaType);
137PULSAR_PUBLIC
SchemaType enumSchemaType(std::string schemaTypeStr);
141typedef std::map<std::string, std::string> StringMap;
167 const StringMap &properties = StringMap());
198 typedef std::shared_ptr<SchemaInfoImpl> SchemaInfoImplPtr;
199 SchemaInfoImplPtr impl_;
204PULSAR_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())
SchemaInfo(const SchemaInfo &keySchema, const SchemaInfo &valueSchema, const KeyValueEncodingType &keyValueEncodingType=KeyValueEncodingType::INLINE)
const std::string & getSchema() const
const std::string & getName() const
Definition Authentication.h:31
KeyValueEncodingType
Definition Schema.h:34
SchemaType
Definition Schema.h:52
@ INT64
Definition Schema.h:96
@ JSON
Definition Schema.h:66
@ DOUBLE
Definition Schema.h:106
@ PROTOBUF_NATIVE
Definition Schema.h:116
@ INT8
Definition Schema.h:81
@ BYTES
Definition Schema.h:121
@ PROTOBUF
Definition Schema.h:71
@ FLOAT
Definition Schema.h:101
@ AUTO_CONSUME
Definition Schema.h:126
@ INT16
Definition Schema.h:86
@ KEY_VALUE
Definition Schema.h:111
@ STRING
Definition Schema.h:61
@ INT32
Definition Schema.h:91
@ AVRO
Definition Schema.h:76
@ AUTO_PUBLISH
Definition Schema.h:131
@ NONE
Definition Schema.h:56