@InterfaceAudience.Public @InterfaceStability.Evolving public static enum AsyncKuduScanner.ReadMode extends Enum<AsyncKuduScanner.ReadMode>
Enum Constant and Description |
---|
READ_AT_SNAPSHOT
When READ_AT_SNAPSHOT is specified the server will attempt to perform a read
at the provided timestamp.
|
READ_LATEST
When READ_LATEST is specified the server will always return committed writes at
the time the request was received.
|
Modifier and Type | Method and Description |
---|---|
static AsyncKuduScanner.ReadMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AsyncKuduScanner.ReadMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsyncKuduScanner.ReadMode READ_LATEST
public static final AsyncKuduScanner.ReadMode READ_AT_SNAPSHOT
public static AsyncKuduScanner.ReadMode[] values()
for (AsyncKuduScanner.ReadMode c : AsyncKuduScanner.ReadMode.values()) System.out.println(c);
public static AsyncKuduScanner.ReadMode 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 © 2016 The Apache Software Foundation. All rights reserved.