public enum ScoreType extends Enum<ScoreType>
| 列挙型定数と説明 |
|---|
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.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static ScoreType |
fromString(String type) |
static ScoreType |
valueOf(String name)
指定した名前を持つこの型の列挙型定数を返します。
|
static ScoreType[] |
values()
この列挙型の定数を含む配列を宣言されている順序で返します。
|
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 - 返される列挙型定数の名前。IllegalArgumentException - この列挙型に、指定した名前の定数がない場合NullPointerException - 引数がnullの場合Copyright © 2009–2016. All rights reserved.