com.im.commons.db 5.9.2

com.im.commons.db.dml
Class SQLSelectFunction

java.lang.Object
  extended by com.im.commons.db.dml.SQLSelectFunction
All Implemented Interfaces:
SQLSelectElement

public final class SQLSelectFunction
extends Object
implements SQLSelectElement


Constructor Summary
protected SQLSelectFunction(String function, String alias, int jdbcType, Class columnClass)
           
 
Method Summary
 void addFromTables(Set<SchemaQualifiedName> set)
           
 void addJoins(Set<SQLJoin> joins)
           
 void appendSelect(StringBuffer buf)
           
 boolean equals(Object obj)
           
 String getAlias()
           
 String getColumn()
          The name of the column in the ResultSet
 Class getColumnClass()
           
 String getFunction()
           
 int getJdbcType()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLSelectFunction

protected SQLSelectFunction(String function,
                            String alias,
                            int jdbcType,
                            Class columnClass)
Method Detail

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

com.im.commons.db 5.9.2