@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.
|
READ_YOUR_WRITES
When @c READ_YOUR_WRITES is specified, the client will perform a read
such that it follows all previously known writes and reads from this client.
|
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 final AsyncKuduScanner.ReadMode READ_YOUR_WRITES
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 null