public enum CursorType extends Enum<CursorType>
| 枚举常量和说明 |
|---|
LATEST
Used to get the cursor of the newest data
|
OLDEST
Used to get the cursor of the oldest data
|
SEQUENCE
Used to get the cursor by the specified sequence
|
SYSTEM_TIME
Used to get the cursor by the specified timestamp (in milliseconds)
|
public static final CursorType OLDEST
public static final CursorType LATEST
public static final CursorType SYSTEM_TIME
public static final CursorType SEQUENCE
public static CursorType[] values()
for (CursorType c : CursorType.values()) System.out.println(c);
public static CursorType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2021 Alibaba Cloud Computing. All rights reserved.