org.apache.lucene.search.join
Enum BlockJoinQuery.ScoreMode

java.lang.Object
  extended by java.lang.Enum<BlockJoinQuery.ScoreMode>
      extended by org.apache.lucene.search.join.BlockJoinQuery.ScoreMode
All Implemented Interfaces:
Serializable, Comparable<BlockJoinQuery.ScoreMode>
Enclosing class:
BlockJoinQuery

public static enum BlockJoinQuery.ScoreMode
extends Enum<BlockJoinQuery.ScoreMode>


Enum Constant Summary
Avg
           
Max
           
None
           
Total
           
 
Method Summary
static BlockJoinQuery.ScoreMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BlockJoinQuery.ScoreMode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

None

public static final BlockJoinQuery.ScoreMode None

Avg

public static final BlockJoinQuery.ScoreMode Avg

Max

public static final BlockJoinQuery.ScoreMode Max

Total

public static final BlockJoinQuery.ScoreMode Total
Method Detail

values

public static BlockJoinQuery.ScoreMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (BlockJoinQuery.ScoreMode c : BlockJoinQuery.ScoreMode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static BlockJoinQuery.ScoreMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.