com.samskivert.jdbc.depot.operator
Interface SQLOperator

All Superinterfaces:
SQLExpression
All Known Implementing Classes:
Arithmetic.Add, Arithmetic.BitAnd, Arithmetic.BitOr, Arithmetic.Div, Arithmetic.Mul, Arithmetic.Sub, Conditionals.Equals, Conditionals.Exists, Conditionals.FullTextMatch, Conditionals.GreaterThan, Conditionals.GreaterThanEquals, Conditionals.In, Conditionals.IsNull, Conditionals.LessThan, Conditionals.LessThanEquals, Conditionals.Like, Conditionals.NotEquals, Logic.And, Logic.Not, Logic.Or, SQLOperator.BinaryOperator, SQLOperator.MultiOperator

public interface SQLOperator
extends SQLExpression

A common interface for operator hierarchies in SQL. The main purpose of breaking this out from SQLExpression is to capture the recursive nature of e.g. the logical operators, which work on other SQLOperators but not general SQLExpressions.


Nested Class Summary
static class SQLOperator.BinaryOperator
          Does the real work for simple binary operators such as Equals.
static class SQLOperator.MultiOperator
          Represents an operator with any number of operands.
 
Method Summary
 
Methods inherited from interface com.samskivert.jdbc.depot.expression.SQLExpression
accept, addClasses
 



Copyright © 2000-2008 Michael Bayne. All Rights Reserved.