SQLJet Home

org.tmatesoft.sqljet.core.schema
Enum ISqlJetBinaryExpression.Operation

java.lang.Object
  extended by java.lang.Enum<ISqlJetBinaryExpression.Operation>
      extended by org.tmatesoft.sqljet.core.schema.ISqlJetBinaryExpression.Operation
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ISqlJetBinaryExpression.Operation>
Enclosing interface:
ISqlJetBinaryExpression

public static enum ISqlJetBinaryExpression.Operation
extends java.lang.Enum<ISqlJetBinaryExpression.Operation>

Operation which combine expressions in binary expression ISqlJetBinaryExpression.

Author:
TMate Software Ltd., Dmitry Stadnik (dtrace@seznam.cz)

Enum Constant Summary
AND
          Logical "and" : AND
BIT_AND
          Bitwise "and" : &
BIT_OR
          Bitwise "or" : |
CONCATENATE
          Strings concatenation : ||
DIVIDE
          Divide : /
EQUALS
          Equals : = , ==
GREATER
          Greater : >
GREATER_OR_EQ
          Greater or equals : >=
LESS
          Less : <
LESS_OR_EQ
          Less or equals : <=
MINUS
          Minus : -
MODULO
          Modulo (divide remainder) : %
MULTIPLY
          Multiply : *
NOT_EQUALS
          Not equals : <> , !=
OR
          Logical "or" : OR
PLUS
          Plus : +
SHIFT_LEFT
          Bitwise left-shift : <<
SHIFT_RIGHT
          Bitwise right-shift : >>
 
Method Summary
static ISqlJetBinaryExpression.Operation decode(java.lang.String s)
          Decode operation from string.
 java.lang.String toString()
           
static ISqlJetBinaryExpression.Operation valueOf(java.lang.String name)
          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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OR

public static final ISqlJetBinaryExpression.Operation OR
Logical "or" : OR


AND

public static final ISqlJetBinaryExpression.Operation AND
Logical "and" : AND


EQUALS

public static final ISqlJetBinaryExpression.Operation EQUALS
Equals : = , ==


NOT_EQUALS

public static final ISqlJetBinaryExpression.Operation NOT_EQUALS
Not equals : <> , !=


LESS

public static final ISqlJetBinaryExpression.Operation LESS
Less : <


LESS_OR_EQ

public static final ISqlJetBinaryExpression.Operation LESS_OR_EQ
Less or equals : <=


GREATER

public static final ISqlJetBinaryExpression.Operation GREATER
Greater : >


GREATER_OR_EQ

public static final ISqlJetBinaryExpression.Operation GREATER_OR_EQ
Greater or equals : >=


SHIFT_LEFT

public static final ISqlJetBinaryExpression.Operation SHIFT_LEFT
Bitwise left-shift : <<


SHIFT_RIGHT

public static final ISqlJetBinaryExpression.Operation SHIFT_RIGHT
Bitwise right-shift : >>


BIT_AND

public static final ISqlJetBinaryExpression.Operation BIT_AND
Bitwise "and" : &


BIT_OR

public static final ISqlJetBinaryExpression.Operation BIT_OR
Bitwise "or" : |


PLUS

public static final ISqlJetBinaryExpression.Operation PLUS
Plus : +


MINUS

public static final ISqlJetBinaryExpression.Operation MINUS
Minus : -


MULTIPLY

public static final ISqlJetBinaryExpression.Operation MULTIPLY
Multiply : *


DIVIDE

public static final ISqlJetBinaryExpression.Operation DIVIDE
Divide : /


MODULO

public static final ISqlJetBinaryExpression.Operation MODULO
Modulo (divide remainder) : %


CONCATENATE

public static final ISqlJetBinaryExpression.Operation CONCATENATE
Strings concatenation : ||

Method Detail

values

public static ISqlJetBinaryExpression.Operation[] 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 (ISqlJetBinaryExpression.Operation c : ISqlJetBinaryExpression.Operation.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ISqlJetBinaryExpression.Operation valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

decode

public static ISqlJetBinaryExpression.Operation decode(java.lang.String s)
Decode operation from string.

Parameters:
s - string to decode
Returns:
decoded operation or null if string doesn't have known operation.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<ISqlJetBinaryExpression.Operation>

SQLJet Home

Copyright © 2009-2010 TMate Software Ltd. All Rights Reserved.