public static enum RescorerQuery.ScoreMode extends Enum<RescorerQuery.ScoreMode>
Enum Constant and Description |
---|
Avg |
Default |
Max |
Min |
Multiply |
Total |
Modifier and Type | Method and Description |
---|---|
static RescorerQuery.ScoreMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RescorerQuery.ScoreMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RescorerQuery.ScoreMode Default
public static final RescorerQuery.ScoreMode Avg
public static final RescorerQuery.ScoreMode Max
public static final RescorerQuery.ScoreMode Min
public static final RescorerQuery.ScoreMode Total
public static final RescorerQuery.ScoreMode Multiply
public static RescorerQuery.ScoreMode[] values()
for (RescorerQuery.ScoreMode c : RescorerQuery.ScoreMode.values()) System.out.println(c);
public static RescorerQuery.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 © 2011–2021 Pivotal Software, Inc.. All rights reserved.