Interface KeyValueSchema<K,V>
-
-
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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Schema<K>
getKeySchema()
Get the Schema of the Key.KeyValueEncodingType
getKeyValueEncodingType()
Get the KeyValueEncodingType.Schema<V>
getValueSchema()
Get the Schema of the Value.-
Methods inherited from interface org.apache.pulsar.client.api.Schema
clone, configureSchemaInfo, decode, decode, decode, encode, getNativeSchema, getSchemaInfo, requireFetchingSchemaInfo, setSchemaInfoProvider, supportSchemaVersioning, validate
-
-
-
-
Method Detail
-
getValueSchema
Schema<V> getValueSchema()
Get the Schema of the Value.- Returns:
- the Schema of the Value
-
getKeyValueEncodingType
KeyValueEncodingType getKeyValueEncodingType()
Get the KeyValueEncodingType.- Returns:
- the KeyValueEncodingType
- See Also:
KeyValueEncodingType.INLINE
,KeyValueEncodingType.SEPARATED
-
-