Package org.tmatesoft.sqljet.core.schema
Enum ISqlJetBinaryExpression.Operation
java.lang.Object
java.lang.Enum<ISqlJetBinaryExpression.Operation>
org.tmatesoft.sqljet.core.schema.ISqlJetBinaryExpression.Operation
- All Implemented Interfaces:
Serializable
,Comparable<ISqlJetBinaryExpression.Operation>
,java.lang.constant.Constable
- Enclosing interface:
ISqlJetBinaryExpression
public static enum ISqlJetBinaryExpression.Operation
extends Enum<ISqlJetBinaryExpression.Operation>
Operation which combine expressions in binary expression
ISqlJetBinaryExpression
.- Author:
- TMate Software Ltd., Dmitry Stadnik (dtrace@seznam.cz)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLogical "and" :AND
Bitwise "and" :invalid input: '&'
Bitwise "or" :|
Strings concatenation :||
Divide :/
Equals :=
,==
Greater :>
Greater or equals :>=
Less :<
Less or equals :<=
Minus :-
Modulo (divide remainder) :%
Multiply :*
Not equals :<>
,!=
Logical "or" :OR
Plus :+
Bitwise left-shift :<<
Bitwise right-shift :>>
-
Method Summary
Modifier and TypeMethodDescriptionDecode operation from string.toString()
Returns the enum constant of this type with the specified name.static ISqlJetBinaryExpression.Operation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
OR
Logical "or" :OR
-
AND
Logical "and" :AND
-
EQUALS
Equals :=
,==
-
NOT_EQUALS
Not equals :<>
,!=
-
LESS
Less :<
-
LESS_OR_EQ
Less or equals :<=
-
GREATER
Greater :>
-
GREATER_OR_EQ
Greater or equals :>=
-
SHIFT_LEFT
Bitwise left-shift :<<
-
SHIFT_RIGHT
Bitwise right-shift :>>
-
BIT_AND
Bitwise "and" :invalid input: '&'
-
BIT_OR
Bitwise "or" :|
-
PLUS
Plus :+
-
MINUS
Minus :-
-
MULTIPLY
Multiply :*
-
DIVIDE
Divide :/
-
MODULO
Modulo (divide remainder) :%
-
CONCATENATE
Strings concatenation :||
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
decode
Decode operation from string.- Parameters:
s
- string to decode- Returns:
- decoded operation or null if string doesn't have known operation.
-
toString
- Overrides:
toString
in classEnum<ISqlJetBinaryExpression.Operation>
-