Class SqlColumnValue
java.lang.Object
com.aoindustries.aoserv.client.sql.SqlColumnValue
- All Implemented Interfaces:
SqlExpression
Gets the value for one column.
- Author:
- AO Industries, Inc.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionevaluate(AoservConnector conn, AoservObject<?, ?> obj) Evaluates the expression on the given connector and object.voidgetReferencedTables(AoservConnector conn, List<Table> tables) Gets all of the tables referenced by this expression.getType()The return type of this expression.booleanIs this an aggregate function?toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.aoindustries.aoserv.client.sql.SqlExpression
evaluateAggregate
-
Constructor Details
-
SqlColumnValue
- Throws:
SQLExceptionIOException
-
-
Method Details
-
toString
-
getColumnName
- Specified by:
getColumnNamein interfaceSqlExpression
-
evaluate
Description copied from interface:SqlExpressionEvaluates the expression on the given connector and object.- Specified by:
evaluatein interfaceSqlExpression
-
isAggregate
public boolean isAggregate()Description copied from interface:SqlExpressionIs this an aggregate function? Controls whether evaluation is performed viaSqlExpression.evaluate(com.aoindustries.aoserv.client.AoservConnector, com.aoindustries.aoserv.client.AoservObject)orSqlExpression.evaluateAggregate(com.aoindustries.aoserv.client.AoservConnector, java.util.List). Please be sure to implement the corresponding evaluation function.- Specified by:
isAggregatein interfaceSqlExpression
-
getType
Description copied from interface:SqlExpressionThe return type of this expression.- 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
-
