Enum LikeComparison.LikeComparisonOperator
- java.lang.Object
-
- java.lang.Enum<LikeComparison.LikeComparisonOperator>
-
- com.exasol.sql.expression.comparison.LikeComparison.LikeComparisonOperator
-
- All Implemented Interfaces:
ComparisonOperator,Serializable,Comparable<LikeComparison.LikeComparisonOperator>
- Enclosing class:
- LikeComparison
public static enum LikeComparison.LikeComparisonOperator extends Enum<LikeComparison.LikeComparisonOperator> implements ComparisonOperator
Fuzzy string comparators.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()Returns the operator symbol that represents the comparison.static LikeComparison.LikeComparisonOperatorvalueOf(String name)Returns the enum constant of this type with the specified name.static LikeComparison.LikeComparisonOperator[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LIKE
public static final LikeComparison.LikeComparisonOperator LIKE
LIKEcomparator
-
NOT_LIKE
public static final LikeComparison.LikeComparisonOperator NOT_LIKE
NOT_LIKEcomparator
-
-
Method Detail
-
values
public static LikeComparison.LikeComparisonOperator[] 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 (LikeComparison.LikeComparisonOperator c : LikeComparison.LikeComparisonOperator.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LikeComparison.LikeComparisonOperator 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
-
toString
public String toString()
Description copied from interface:ComparisonOperatorReturns the operator symbol that represents the comparison.- Specified by:
toStringin interfaceComparisonOperator- Overrides:
toStringin classEnum<LikeComparison.LikeComparisonOperator>- Returns:
- operator symbol
-
-