public static enum FunctionsScoreQuery.ScoreMode extends Enum<FunctionsScoreQuery.ScoreMode>
| Enum Constant and Description |
|---|
AVG |
FIRST |
MAX |
MIN |
MULTIPLY |
SUM |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static FunctionsScoreQuery.ScoreMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FunctionsScoreQuery.ScoreMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FunctionsScoreQuery.ScoreMode UNKNOWN
public static final FunctionsScoreQuery.ScoreMode AVG
public static final FunctionsScoreQuery.ScoreMode MAX
public static final FunctionsScoreQuery.ScoreMode SUM
public static final FunctionsScoreQuery.ScoreMode MIN
public static final FunctionsScoreQuery.ScoreMode MULTIPLY
public static final FunctionsScoreQuery.ScoreMode FIRST
public static FunctionsScoreQuery.ScoreMode[] values()
for (FunctionsScoreQuery.ScoreMode c : FunctionsScoreQuery.ScoreMode.values()) System.out.println(c);
public static FunctionsScoreQuery.ScoreMode 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 © 2024. All Rights Reserved.