public static enum StreamRecord.RecordType extends Enum<StreamRecord.RecordType>
| Enum Constant and Description |
|---|
DELETE
DELETE类型
表明要删除对应的行。
|
PUT
PUT类型
如果对应行已存在,该Record需要覆盖原有数据。
|
UPDATE
UPDATE类型
如果对应行已存在,该Record是在原有数据上的更新。
|
| Modifier and Type | Method and Description |
|---|---|
static StreamRecord.RecordType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StreamRecord.RecordType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamRecord.RecordType PUT
public static final StreamRecord.RecordType UPDATE
public static final StreamRecord.RecordType DELETE
public static StreamRecord.RecordType[] values()
for (StreamRecord.RecordType c : StreamRecord.RecordType.values()) System.out.println(c);
public static StreamRecord.RecordType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2024. All Rights Reserved.