Interface SQLExpression
-
- All Known Implementing Classes:
SQLCast,SQLColumnJoin,SQLColumnValue
public interface SQLExpressionAn expression in used in select statements and internal sorting.- Author:
- AO Industries, Inc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectevaluate(AOServConnector conn, AOServObject<?,?> obj)Evaluates the expression on the given connector and object.StringgetColumnName()voidgetReferencedTables(AOServConnector conn, List<Table> tables)Gets all of the tables referenced by this expression.TypegetType()
-
-
-
Method Detail
-
getColumnName
String getColumnName()
-
evaluate
Object evaluate(AOServConnector conn, AOServObject<?,?> obj) throws IOException, SQLException
Evaluates the expression on the given connector and object.- Throws:
IOExceptionSQLException
-
getType
Type getType()
-
getReferencedTables
void getReferencedTables(AOServConnector conn, List<Table> tables) throws IOException, SQLException
Gets all of the tables referenced by this expression.- Throws:
IOExceptionSQLException
-
-