java.lang.Object
org.apache.pulsar.client.impl.schema.reader.JacksonJsonReader<T>
- 类型参数:
T
- object type to read
- 所有已实现的接口:
org.apache.pulsar.client.api.schema.SchemaReader<T>
public class JacksonJsonReader<T>
extends Object
implements org.apache.pulsar.client.api.schema.SchemaReader<T>
Reader implementation for reading objects from JSON.
-
-
方法概要
read(byte[] bytes,
int offset,
int length)
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 org.apache.pulsar.client.api.schema.SchemaReader
getNativeSchema, read, read, read, setSchemaInfoProvider
-
构造器详细资料
-
JacksonJsonReader
public JacksonJsonReader(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
Class<T> pojo)
-
方法详细资料
-
read
public T read(byte[] bytes,
int offset,
int length)
- 指定者:
read
在接口中 org.apache.pulsar.client.api.schema.SchemaReader<T>
-