|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<FTMode>
org.basex.query.ft.FTMode
public enum FTMode
Search mode.
Enum Constant Summary | |
---|---|
ALL
All option. |
|
ALL_WORDS
All words option. |
|
ANY
Any option. |
|
ANY_WORD
Any words option. |
|
PHRASE
Phrase search. |
Method Summary | |
---|---|
static FTMode |
get(byte[] mode)
Returns the specified mode, or null . |
static FTMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static FTMode[] |
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 |
---|
public static final FTMode ALL
public static final FTMode ALL_WORDS
public static final FTMode ANY
public static final FTMode ANY_WORD
public static final FTMode PHRASE
Method Detail |
---|
public static FTMode[] values()
for (FTMode c : FTMode.values()) System.out.println(c);
public static FTMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static FTMode get(byte[] mode)
null
.
mode
- mode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |