Package lumis.portal.bigdata.query
Enum SearchFieldClause.Operator
- java.lang.Object
-
- java.lang.Enum<SearchFieldClause.Operator>
-
- lumis.portal.bigdata.query.SearchFieldClause.Operator
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SearchFieldClause.Operator>
- Enclosing class:
- SearchFieldClause
@StableMinor(version="17.0", sinceVersion="8.1") public static enum SearchFieldClause.Operator extends java.lang.Enum<SearchFieldClause.Operator>
Supported operators.- Since:
- 8.1.0
- Version:
- $Revision$ $Date$
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANY
Any of the values specified must be present in the searching scope.GREATER_THAN
Only values greater than the searching scope may be present.GREATER_THAN_OR_EQUAL_TO
Only values greater than or equal to the searching scope may be present.LESS_THAN
Only values lesser than the searching scope may be present.LESS_THAN_OR_EQUAL_TO
Only values lesser than or equal to the searching scope may be present.NONE_OF
None of the values may be present in the searching scope.STARTS_WITH
Filter for terms that starts with any of the given values.
null
values will be ignored.
The value will be converted to String to be used.
This operator is only supported by String-based fields.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SearchFieldClause.Operator
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SearchFieldClause.Operator[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANY
public static final SearchFieldClause.Operator ANY
Any of the values specified must be present in the searching scope.- Since:
- 8.1.0
-
NONE_OF
public static final SearchFieldClause.Operator NONE_OF
None of the values may be present in the searching scope.- Since:
- 8.1.0
-
GREATER_THAN
public static final SearchFieldClause.Operator GREATER_THAN
Only values greater than the searching scope may be present.- Since:
- 8.2.0
-
GREATER_THAN_OR_EQUAL_TO
public static final SearchFieldClause.Operator GREATER_THAN_OR_EQUAL_TO
Only values greater than or equal to the searching scope may be present.- Since:
- 8.2.0
-
LESS_THAN
public static final SearchFieldClause.Operator LESS_THAN
Only values lesser than the searching scope may be present.- Since:
- 8.2.0
-
LESS_THAN_OR_EQUAL_TO
public static final SearchFieldClause.Operator LESS_THAN_OR_EQUAL_TO
Only values lesser than or equal to the searching scope may be present.- Since:
- 8.2.0
-
STARTS_WITH
public static final SearchFieldClause.Operator STARTS_WITH
Filter for terms that starts with any of the given values.
null
values will be ignored.
The value will be converted to String to be used.
This operator is only supported by String-based fields.- Since:
- 11.0.0
-
-
Method Detail
-
values
public static SearchFieldClause.Operator[] 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 (SearchFieldClause.Operator c : SearchFieldClause.Operator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SearchFieldClause.Operator valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-