public static enum StreamRecord.RecordType extends Enum<StreamRecord.RecordType>
| 枚举常量和说明 |
|---|
DELETE
DELETE type
Indicates that the corresponding row needs to be deleted.
|
PUT
PUT type
If the corresponding row already exists, this Record should overwrite the existing data.
|
UPDATE
UPDATE type
If the corresponding row already exists, this Record is an update based on the existing data.
|
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 - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2025. All Rights Reserved.