@API(value=EXPERIMENTAL) public enum CursorStreamingMode extends Enum<CursorStreamingMode>
RecordCursor
s.ScanProperties.getCursorStreamingMode()
Enum Constant and Description |
---|
ITERATOR
The client will process records one-at-a-time.
|
WANT_ALL
The client will load all records immediately, such as with
RecordCursor.asList() . |
Modifier and Type | Method and Description |
---|---|
static CursorStreamingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CursorStreamingMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CursorStreamingMode ITERATOR
public static final CursorStreamingMode WANT_ALL
RecordCursor.asList()
.public static CursorStreamingMode[] values()
for (CursorStreamingMode c : CursorStreamingMode.values()) System.out.println(c);
public static CursorStreamingMode 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 null