Package io.ebean.search
Enum MultiMatch.Type
- java.lang.Object
- 
- java.lang.Enum<MultiMatch.Type>
- 
- io.ebean.search.MultiMatch.Type
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<MultiMatch.Type>
 - Enclosing class:
- MultiMatch
 
 public static enum MultiMatch.Type extends Enum<MultiMatch.Type> The MultiMatch type.
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description BEST_FIELDSCROSS_FIELDSMOST_FIELDSPHRASEPHRASE_PREFIX
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static MultiMatch.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static MultiMatch.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
BEST_FIELDSpublic static final MultiMatch.Type BEST_FIELDS 
 - 
MOST_FIELDSpublic static final MultiMatch.Type MOST_FIELDS 
 - 
CROSS_FIELDSpublic static final MultiMatch.Type CROSS_FIELDS 
 - 
PHRASEpublic static final MultiMatch.Type PHRASE 
 - 
PHRASE_PREFIXpublic static final MultiMatch.Type PHRASE_PREFIX 
 
- 
 - 
Method Detail- 
valuespublic static MultiMatch.Type[] 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 (MultiMatch.Type c : MultiMatch.Type.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static MultiMatch.Type 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
 
 
- 
 
-