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 void
addFromTables(java.util.Set<TableDefinition> set)
void
addJoins(java.util.Set<SQLJoin> joins)
void
appendTo(java.lang.StringBuilder buf, TermEncoder encoder)
boolean
equals(java.lang.Object obj)
java.lang.String
getAlias()
java.lang.String
getColumn()
The name of the column in the ResultSet.java.lang.String
getFunction()
int
hashCode()
-
-
-
Method Detail
-
addJoins
public void addJoins(java.util.Set<SQLJoin> joins)
- Specified by:
addJoins
in interfaceSQLSelectElement
-
getFunction
public java.lang.String getFunction()
-
getAlias
public java.lang.String getAlias()
-
getColumn
public java.lang.String getColumn()
Description copied from interface:SQLSelectElement
The name of the column in the ResultSet.- Specified by:
getColumn
in interfaceSQLSelectElement
- Returns:
- The column name.
-
appendTo
public void appendTo(java.lang.StringBuilder buf, TermEncoder encoder)
- Specified by:
appendTo
in interfaceSQLStringRenderer
-
addFromTables
public void addFromTables(java.util.Set<TableDefinition> set)
- Specified by:
addFromTables
in interfaceSQLSelectElement
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-