T - The type to be serialized.@Deprecated @PublicEvolving public interface KeyedSerializationSchema<T> extends Serializable
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getTargetTopic(T element)
已过时。
Optional method to determine the target topic for the element.
|
byte[] |
serializeKey(T element)
已过时。
Serializes the key of the incoming element to a byte array This method might return null if
no key is available.
|
byte[] |
serializeValue(T element)
已过时。
Serializes the value of the incoming element to a byte array.
|
byte[] serializeKey(T element)
element - The incoming element to be serializedbyte[] serializeValue(T element)
element - The incoming element to be serializedCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.