public static enum ScanQuery.Order extends Enum<ScanQuery.Order>
Enum Constant and Description |
---|
ASCENDING |
DESCENDING |
NONE |
Modifier and Type | Method and Description |
---|---|
static ScanQuery.Order |
fromString(String name) |
String |
toString() |
static ScanQuery.Order |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScanQuery.Order[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScanQuery.Order ASCENDING
public static final ScanQuery.Order DESCENDING
public static final ScanQuery.Order NONE
public static ScanQuery.Order[] values()
for (ScanQuery.Order c : ScanQuery.Order.values()) System.out.println(c);
public static ScanQuery.Order 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 nullpublic String toString()
toString
in class Enum<ScanQuery.Order>
public static ScanQuery.Order fromString(String name)
Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.