Package io.quarkus.pulsar.schema
Class JsonObjectSchema
- java.lang.Object
-
- org.apache.pulsar.client.impl.schema.AbstractSchema<io.vertx.core.json.JsonObject>
-
- io.quarkus.pulsar.schema.JsonObjectSchema
-
- All Implemented Interfaces:
Cloneable,org.apache.pulsar.client.api.Schema<io.vertx.core.json.JsonObject>
public class JsonObjectSchema extends org.apache.pulsar.client.impl.schema.AbstractSchema<io.vertx.core.json.JsonObject>
-
-
Field Summary
Fields Modifier and Type Field Description static JsonObjectSchemaINSTANCE
-
Constructor Summary
Constructors Constructor Description JsonObjectSchema()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.vertx.core.json.JsonObjectdecode(io.netty.buffer.ByteBuf byteBuf)byte[]encode(io.vertx.core.json.JsonObject message)org.apache.pulsar.common.schema.SchemaInfogetSchemaInfo()-
Methods inherited from class org.apache.pulsar.client.impl.schema.AbstractSchema
atSchemaVersion, clone, decode
-
-
-
-
Field Detail
-
INSTANCE
public static final JsonObjectSchema INSTANCE
-
-
Method Detail
-
decode
public io.vertx.core.json.JsonObject decode(io.netty.buffer.ByteBuf byteBuf)
- Specified by:
decodein classorg.apache.pulsar.client.impl.schema.AbstractSchema<io.vertx.core.json.JsonObject>
-
encode
public byte[] encode(io.vertx.core.json.JsonObject message)
-
getSchemaInfo
public org.apache.pulsar.common.schema.SchemaInfo getSchemaInfo()
-
-