public static enum ListDatabasesRequest.SortBy extends Enum<ListDatabasesRequest.SortBy>
The field to sort by. You can provide one sort order (sortOrder
). Default order for TIMECREATED is descending. Default order for DBNAME is ascending. The DBNAME sort order is case sensitive.
Enum Constant and Description |
---|
Dbname |
Timecreated |
Modifier and Type | Method and Description |
---|---|
static ListDatabasesRequest.SortBy |
create(String key) |
String |
getValue() |
static ListDatabasesRequest.SortBy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListDatabasesRequest.SortBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListDatabasesRequest.SortBy Dbname
public static final ListDatabasesRequest.SortBy Timecreated
public static ListDatabasesRequest.SortBy[] values()
for (ListDatabasesRequest.SortBy c : ListDatabasesRequest.SortBy.values()) System.out.println(c);
public static ListDatabasesRequest.SortBy 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 getValue()
public static ListDatabasesRequest.SortBy create(String key)
Copyright © 2016–2021. All rights reserved.