public enum ParsingMode extends Enum<ParsingMode>
CatalogTable retrieved through the Catalog into DAG.| 枚举常量和说明 |
|---|
MULTIPLEX
已过时。
|
SHARDING
Use a Source and Sink to process sharding-table.
|
SINGLENESS
Each table is processed using a separate Source and Sink.
|
public static final ParsingMode SINGLENESS
customer -> source(customer) -> sink(customer) product -> source(product) -> sink(product) stock -> source(stock) -> sink(stock)
public static final ParsingMode SHARDING
customer1 customer2 --> customer\\d+ --> source(customer\\d+) -> sink(customer) customer3
@Deprecated public static final ParsingMode MULTIPLEX
customer -> sink(customer) product --> source(.*) -> sink(product) stock -> sink(stock)
public static ParsingMode[] values()
for (ParsingMode c : ParsingMode.values()) System.out.println(c);
public static ParsingMode valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2024 The Apache Software Foundation. All rights reserved.