public enum StepSortType extends Enum<StepSortType>
| Modifier and Type | Method and Description |
|---|---|
org.bson.conversions.Bson |
getSort(String fieldName) |
static StepSortType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StepSortType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StepSortType ASC
public static final StepSortType DESC
public static StepSortType[] values()
for (StepSortType c : StepSortType.values()) System.out.println(c);
public static StepSortType 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 org.bson.conversions.Bson getSort(String fieldName)
Copyright © 2022. All rights reserved.