Class SerDeSchema<T>
java.lang.Object
org.apache.pulsar.functions.source.SerDeSchema<T>
- All Implemented Interfaces:
Cloneable,org.apache.pulsar.client.api.Schema<T>
-
Field Summary
Fields inherited from interface org.apache.pulsar.client.api.Schema
BOOL, BYTEBUFFER, BYTES, DATE, DOUBLE, FLOAT, INSTANT, INT16, INT32, INT64, INT8, LOCAL_DATE, LOCAL_DATE_TIME, LOCAL_TIME, STRING, TIME, TIMESTAMP -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.pulsar.client.api.Schema
closeAsync, configureSchemaInfo, decode, decode, decode, decode, decode, encode, getNativeSchema, requireFetchingSchemaInfo, setSchemaInfoProvider, supportSchemaVersioning, validate
-
Constructor Details
-
SerDeSchema
public SerDeSchema()
-
-
Method Details
-
encode
- Specified by:
encodein interfaceorg.apache.pulsar.client.api.Schema<T>
-
decode
- Specified by:
decodein interfaceorg.apache.pulsar.client.api.Schema<T>
-
getSchemaInfo
public org.apache.pulsar.common.schema.SchemaInfo getSchemaInfo()- Specified by:
getSchemaInfoin interfaceorg.apache.pulsar.client.api.Schema<T>
-
clone
-