com.im.commons.db.dml
Class SQLSelectFunction
java.lang.Object
com.im.commons.db.dml.SQLSelectFunction
- All Implemented Interfaces:
- SQLSelectElement
public final class SQLSelectFunction
- extends Object
- implements SQLSelectElement
SQLSelectFunction
protected SQLSelectFunction(String function,
String alias,
int jdbcType,
Class columnClass)
addJoins
public void addJoins(Set<SQLJoin> joins)
- Specified by:
addJoins in interface SQLSelectElement
getFunction
public String getFunction()
getAlias
public String getAlias()
getColumn
public String getColumn()
- Description copied from interface:
SQLSelectElement
- The name of the column in the ResultSet
- Specified by:
getColumn in interface SQLSelectElement
getJdbcType
public int getJdbcType()
- Specified by:
getJdbcType in interface SQLSelectElement
getColumnClass
public Class getColumnClass()
- Specified by:
getColumnClass in interface SQLSelectElement
appendSelect
public void appendSelect(StringBuffer buf)
- Specified by:
appendSelect in interface SQLSelectElement
addFromTables
public void addFromTables(Set<SchemaQualifiedName> set)
- Specified by:
addFromTables in interface SQLSelectElement
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object