Package com.im.commons.db.dml
Class SQLSelectFunction
- java.lang.Object
-
- com.im.commons.db.dml.SQLSelectFunction
-
- All Implemented Interfaces:
SQLSelectElement,SQLStringRenderer
public final class SQLSelectFunction extends java.lang.Object implements SQLSelectElement
- Author:
- Tim Dudgeon
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddFromTables(java.util.Set<TableDefinition> set)voidaddJoins(java.util.Set<SQLJoin> joins)voidappendTo(java.lang.StringBuilder buf, TermEncoder encoder)booleanequals(java.lang.Object obj)java.lang.StringgetAlias()java.lang.StringgetColumn()The name of the column in the ResultSet.java.lang.StringgetFunction()inthashCode()
-
-
-
Method Detail
-
addJoins
public void addJoins(java.util.Set<SQLJoin> joins)
- Specified by:
addJoinsin interfaceSQLSelectElement
-
getFunction
public java.lang.String getFunction()
-
getAlias
public java.lang.String getAlias()
-
getColumn
public java.lang.String getColumn()
Description copied from interface:SQLSelectElementThe name of the column in the ResultSet.- Specified by:
getColumnin interfaceSQLSelectElement- Returns:
- The column name.
-
appendTo
public void appendTo(java.lang.StringBuilder buf, TermEncoder encoder)- Specified by:
appendToin interfaceSQLStringRenderer
-
addFromTables
public void addFromTables(java.util.Set<TableDefinition> set)
- Specified by:
addFromTablesin interfaceSQLSelectElement
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-