public enum ScoreType extends Enum<ScoreType>
Enum Constant and Description |
---|
AVG
The average score based on all matching child documents are mapped into
the parent.
|
MAX
Only the highest score of all matching child documents is mapped into the
parent.
|
MIN
Only the lowest score of all matching child documents is mapped into the
parent.
|
NONE
Scores are not taken into account
|
SUM
The matching children scores is summed up and mapped into the parent.
|
Modifier and Type | Method and Description |
---|---|
static ScoreType |
fromString(String type) |
static ScoreType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ScoreType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ScoreType MIN
public static final ScoreType MAX
public static final ScoreType AVG
public static final ScoreType SUM
public static final ScoreType NONE
public static ScoreType[] values()
for (ScoreType c : ScoreType.values()) System.out.println(c);
public static ScoreType 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 © 2009–2017. All rights reserved.