public class TableIdRouter extends Object
| 构造器和说明 |
|---|
TableIdRouter(List<org.apache.flink.cdc.common.route.RouteRule> routingRules) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<Set<org.apache.flink.cdc.common.event.TableId>> |
groupSourceTablesByRouteRule(Set<org.apache.flink.cdc.common.event.TableId> tableIdSet)
Group the source tables that conform to the same routing rule together.
|
List<org.apache.flink.cdc.common.event.TableId> |
route(org.apache.flink.cdc.common.event.TableId sourceTableId) |
public TableIdRouter(List<org.apache.flink.cdc.common.route.RouteRule> routingRules)
public List<org.apache.flink.cdc.common.event.TableId> route(org.apache.flink.cdc.common.event.TableId sourceTableId)
public List<Set<org.apache.flink.cdc.common.event.TableId>> groupSourceTablesByRouteRule(Set<org.apache.flink.cdc.common.event.TableId> tableIdSet)
tableIdSet - The tables need to be grouped by the routerCopyright © 2025 The Apache Software Foundation. All rights reserved.