Package com.alibaba.druid.sql.ast.expr
Enum SQLMatchAgainstExpr.SearchModifier
- java.lang.Object
-
- java.lang.Enum<SQLMatchAgainstExpr.SearchModifier>
-
- com.alibaba.druid.sql.ast.expr.SQLMatchAgainstExpr.SearchModifier
-
- All Implemented Interfaces:
Serializable,Comparable<SQLMatchAgainstExpr.SearchModifier>
- Enclosing class:
- SQLMatchAgainstExpr
public static enum SQLMatchAgainstExpr.SearchModifier extends Enum<SQLMatchAgainstExpr.SearchModifier>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IN_BOOLEAN_MODEIN_NATURAL_LANGUAGE_MODEIN_NATURAL_LANGUAGE_MODE_WITH_QUERY_EXPANSIONWITH_QUERY_EXPANSION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SQLMatchAgainstExpr.SearchModifiervalueOf(String name)Returns the enum constant of this type with the specified name.static SQLMatchAgainstExpr.SearchModifier[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IN_BOOLEAN_MODE
public static final SQLMatchAgainstExpr.SearchModifier IN_BOOLEAN_MODE
-
IN_NATURAL_LANGUAGE_MODE
public static final SQLMatchAgainstExpr.SearchModifier IN_NATURAL_LANGUAGE_MODE
-
IN_NATURAL_LANGUAGE_MODE_WITH_QUERY_EXPANSION
public static final SQLMatchAgainstExpr.SearchModifier IN_NATURAL_LANGUAGE_MODE_WITH_QUERY_EXPANSION
-
WITH_QUERY_EXPANSION
public static final SQLMatchAgainstExpr.SearchModifier WITH_QUERY_EXPANSION
-
-
Method Detail
-
values
public static SQLMatchAgainstExpr.SearchModifier[] 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 (SQLMatchAgainstExpr.SearchModifier c : SQLMatchAgainstExpr.SearchModifier.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SQLMatchAgainstExpr.SearchModifier 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 nameNullPointerException- if the argument is null
-
-