public enum QueryComparisonOperator extends Enum<QueryComparisonOperator>
| Enum Constant and Description |
|---|
CONTAINS |
ENDS_WITH |
EQUAL |
GREATER_THAN |
GREATER_THAN_OR_EQUAL_TO |
LESS_THAN |
LESS_THAN_OR_EQUAL_TO |
LIKE |
NOT_EQUAL |
STARTS_WITH |
| Modifier and Type | Method and Description |
|---|---|
String |
getOperator() |
boolean |
isStringComparisonOperator() |
static QueryComparisonOperator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QueryComparisonOperator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QueryComparisonOperator LESS_THAN
public static final QueryComparisonOperator LESS_THAN_OR_EQUAL_TO
public static final QueryComparisonOperator EQUAL
public static final QueryComparisonOperator GREATER_THAN
public static final QueryComparisonOperator GREATER_THAN_OR_EQUAL_TO
public static final QueryComparisonOperator NOT_EQUAL
public static final QueryComparisonOperator STARTS_WITH
public static final QueryComparisonOperator ENDS_WITH
public static final QueryComparisonOperator CONTAINS
public static final QueryComparisonOperator LIKE
public static QueryComparisonOperator[] values()
for (QueryComparisonOperator c : QueryComparisonOperator.values()) System.out.println(c);
public static QueryComparisonOperator valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String getOperator()
public boolean isStringComparisonOperator()
Copyright © 2025 European Spallation Source. All rights reserved.