public static enum SinkMysqlConfig.InsertMode extends Enum<SinkMysqlConfig.InsertMode>
| 枚举常量和说明 |
|---|
IGNORE
Insert ignore if the database has the same key record
|
OVERWRITE
Insert overwrite if the database has the same key record
|
public static final SinkMysqlConfig.InsertMode IGNORE
public static final SinkMysqlConfig.InsertMode OVERWRITE
public static SinkMysqlConfig.InsertMode[] values()
for (SinkMysqlConfig.InsertMode c : SinkMysqlConfig.InsertMode.values()) System.out.println(c);
public static SinkMysqlConfig.InsertMode valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2021 Alibaba Cloud Computing. All rights reserved.