Class FlussHashFunctionProvider
- java.lang.Object
-
- org.apache.flink.cdc.connectors.fluss.sink.FlussHashFunctionProvider
-
- All Implemented Interfaces:
Serializable,HashFunctionProvider<DataChangeEvent>
public class FlussHashFunctionProvider extends Object implements HashFunctionProvider<DataChangeEvent>
HashFunctionProviderimplementation forFlussDataSink.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FlussHashFunctionProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HashFunction<DataChangeEvent>getHashFunction(TableId tableId, Schema schema)Gets a hash function based on the given table ID and schema, to helpPrePartitionOperatorto shuffleDataChangeEventto designated subtask.
-
-
-
Method Detail
-
getHashFunction
public HashFunction<DataChangeEvent> getHashFunction(@Nullable TableId tableId, Schema schema)
Description copied from interface:HashFunctionProviderGets a hash function based on the given table ID and schema, to helpPrePartitionOperatorto shuffleDataChangeEventto designated subtask.- Specified by:
getHashFunctionin interfaceHashFunctionProvider<DataChangeEvent>- Parameters:
tableId- table IDschema- flink table schema- Returns:
- hash function based on the given table ID and schema
-
-