Enum Constant and Description |
---|
ANYWHERE
translates into
field LIKE %term% |
BEGINNING
translates into
field LIKE term% |
END
translates into
field LIKE %term |
EXACT
translates into
field = term |
LIKE
translates into
field LIKE term |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMatchOperator() |
java.lang.String |
queryStringFrom(java.lang.String queryString) |
static MatchMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MatchMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatchMode EXACT
field = term
public static final MatchMode LIKE
field LIKE term
public static final MatchMode BEGINNING
field LIKE term%
public static final MatchMode ANYWHERE
field LIKE %term%
public static final MatchMode END
field LIKE %term
public static MatchMode[] values()
for (MatchMode c : MatchMode.values()) System.out.println(c);
public static MatchMode 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 namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String queryStringFrom(java.lang.String queryString)
public java.lang.String getMatchOperator()
Copyright © 2007-2020 EDIT. All Rights Reserved.