Class SQLColumnValue
- java.lang.Object
-
- com.aoindustries.aoserv.client.sql.SQLColumnValue
-
- All Implemented Interfaces:
SQLExpression
public final class SQLColumnValue extends Object implements SQLExpression
Gets the value for one column.- Author:
- AO Industries, Inc.
-
-
Constructor Summary
Constructors Constructor Description SQLColumnValue(AOServConnector conn, Column column)
-
Method Summary
All Methods Instance Methods Concrete 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()StringtoString()
-
-
-
Constructor Detail
-
SQLColumnValue
public SQLColumnValue(AOServConnector conn, Column column) throws SQLException, IOException
- Throws:
SQLExceptionIOException
-
-
Method Detail
-
getColumnName
public String getColumnName()
- Specified by:
getColumnNamein interfaceSQLExpression
-
evaluate
public Object evaluate(AOServConnector conn, AOServObject<?,?> obj)
Description copied from interface:SQLExpressionEvaluates the expression on the given connector and object.- Specified by:
evaluatein interfaceSQLExpression
-
getType
public Type getType()
- Specified by:
getTypein interfaceSQLExpression
-
getReferencedTables
public void getReferencedTables(AOServConnector conn, List<Table> tables) throws SQLException, IOException
Description copied from interface:SQLExpressionGets all of the tables referenced by this expression.- Specified by:
getReferencedTablesin interfaceSQLExpression- Throws:
SQLExceptionIOException
-
-