Serializable
, Comparable<Operator>
, ToSql
public enum Operator extends Enum<Operator> implements ToSql
Enum Constant | Description |
---|---|
Add |
|
And |
|
BitwiseAnd |
|
BitwiseOr |
|
Concat |
|
Divide |
|
Equals |
|
Greater |
|
GreaterEquals |
|
Is |
|
IsNot |
|
LeftShift |
|
Less |
|
LessEquals |
|
Modulus |
|
Multiply |
|
NotEquals |
|
Or |
|
RightShift |
|
Substract |
Modifier and Type | Method | Description |
---|---|---|
static Operator |
from(short tt) |
|
void |
toSql(Appendable a) |
|
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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
comma, commaNames, doubleQuote, isEmpty, isNotEmpty, nullToEmpty, requireNotEmpty, singleQuote, toSql
public static final Operator Add
public static final Operator And
public static final Operator BitwiseAnd
public static final Operator BitwiseOr
public static final Operator Concat
public static final Operator Equals
public static final Operator Divide
public static final Operator Greater
public static final Operator GreaterEquals
public static final Operator Is
public static final Operator IsNot
public static final Operator LeftShift
public static final Operator Less
public static final Operator LessEquals
public static final Operator Modulus
public static final Operator Multiply
public static final Operator NotEquals
public static final Operator Or
public static final Operator RightShift
public static final Operator Substract
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 static Operator from(short tt)
public void toSql(Appendable a) throws IOException
toSql
in interface ToSql
IOException
Copyright © 2018. All rights reserved.