Enum RegexpQueryFlag
- java.lang.Object
-
- java.lang.Enum<RegexpQueryFlag>
-
- org.hibernate.search.engine.search.predicate.dsl.RegexpQueryFlag
-
- All Implemented Interfaces:
Serializable,Comparable<RegexpQueryFlag>
public enum RegexpQueryFlag extends Enum<RegexpQueryFlag>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANY_STRINGEnablesANY_STRINGoperator (@)COMPLEMENTEnablesCOMPLEMENToperator (~)INTERSECTIONEnablesINTERSECTIONoperator (&)INTERVALEnablesINTERVALoperator (<>)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RegexpQueryFlagvalueOf(String name)Returns the enum constant of this type with the specified name.static RegexpQueryFlag[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMPLEMENT
public static final RegexpQueryFlag COMPLEMENT
EnablesCOMPLEMENToperator (~)
-
INTERVAL
public static final RegexpQueryFlag INTERVAL
EnablesINTERVALoperator (<>)
-
INTERSECTION
public static final RegexpQueryFlag INTERSECTION
EnablesINTERSECTIONoperator (&)
-
ANY_STRING
public static final RegexpQueryFlag ANY_STRING
EnablesANY_STRINGoperator (@)
-
-
Method Detail
-
values
public static RegexpQueryFlag[] 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 (RegexpQueryFlag c : RegexpQueryFlag.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RegexpQueryFlag 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
-
-