public class PythonConnectorUtils extends Object
限定符和类型 | 类和说明 |
---|---|
static class |
PythonConnectorUtils.FirstColumnTopicSelectorInvocationHandler
The serializable
InvocationHandler as the proxy for first column selector. |
static class |
PythonConnectorUtils.RowRowMapper
A
ProcessFunction that convert Row to RowData . |
static class |
PythonConnectorUtils.SecondColumnSerializationSchema<T>
A
SerializationSchema for Row that only serialize the second column using a
wrapped SerializationSchema for T . |
构造器和说明 |
---|
PythonConnectorUtils() |
public static <T> T createFirstColumnTopicSelector(Class<T> clazz)
clazz
.
T
should be a sub interface of Function
, which accepts a Row
.T
- An interfaceclazz
- The desired selector class to cast to, e.g. TopicSelector.class for Kafka.Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.