接口 KeyValueSchema<K,V>
- 类型参数:
K
- the type of the KeyV
- the type of the Value.
This interface models a Schema that is composed of two parts.
A Key and a Value.
-
字段概要
从接口继承的字段 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
-
方法概要
修饰符和类型方法说明Get the Schema of the Key.Get the KeyValueEncodingType.Get the Schema of the Value.从接口继承的方法 org.apache.pulsar.client.api.Schema
clone, configureSchemaInfo, decode, decode, decode, encode, getNativeSchema, getSchemaInfo, requireFetchingSchemaInfo, setSchemaInfoProvider, supportSchemaVersioning, validate
-
方法详细资料
-
getKeySchema
Get the Schema of the Key.- 返回:
- the Schema of the Key
-
getValueSchema
Get the Schema of the Value.- 返回:
- the Schema of the Value
-
getKeyValueEncodingType
KeyValueEncodingType getKeyValueEncodingType()Get the KeyValueEncodingType.- 返回:
- the KeyValueEncodingType
- 另请参阅:
-