public enum Operator extends Enum<Operator>
Enum Constant and Description |
---|
EQ |
GT |
GTE |
IN |
LIKE |
LT |
LTE |
NE |
NOT_IN |
NULL |
Modifier and Type | Method and Description |
---|---|
String |
asSqlString() |
static Operator |
from(String operatorString) |
static Operator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Operator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Operator NE
public static final Operator EQ
public static final Operator LT
public static final Operator LTE
public static final Operator GT
public static final Operator GTE
public static final Operator LIKE
public static final Operator IN
public static final Operator NOT_IN
public static final Operator NULL
public static Operator[] values()
for (Operator c : Operator.values()) System.out.println(c);
public static Operator 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 asSqlString()
Copyright © 2020 Magnolia International Ltd.. All rights reserved.