|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ScoreType>
org.apache.blur.thrift.generated.ScoreType
public enum ScoreType
The scoring type used during a SuperQuery to score multi Record hits within a ColumnFamily. | |
SUPER | During a multi Record match, a calculation of the best match Record plus how often it occurs within the match Row produces the score that is used in the scoring of the SuperQuery. |
AGGREGATE | During a multi Record match, the aggregate score of all the Records within a ColumnFamily is used in the scoring of the SuperQuery. |
BEST | During a multi Record match, the best score of all the Records within a ColumnFamily is used in the scoring of the SuperQuery. |
CONSTANT | A constant score of 1 is used in the scoring of the SuperQuery. |
Enum Constant Summary | |
---|---|
AGGREGATE
|
|
BEST
|
|
CONSTANT
|
|
SUPER
|
Method Summary | |
---|---|
static ScoreType |
findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL. |
int |
getValue()
Get the integer value of this enum value, as defined in the Thrift IDL. |
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. |
Methods inherited from class java.lang.Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ScoreType SUPER
public static final ScoreType AGGREGATE
public static final ScoreType BEST
public static final ScoreType CONSTANT
Method Detail |
---|
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 name
NullPointerException
- if the argument is nullpublic int getValue()
getValue
in interface TEnum
public static ScoreType findByValue(int value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |