com.im.commons.db 5.9.2

com.im.commons.db.dml
Class SQLSelectColumn

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

public final class SQLSelectColumn
extends Object
implements SQLSelectElement


Constructor Summary
SQLSelectColumn(TableColumn tableColumn, SQLJoin join, DBDatabaseInfo.ColumnSQLType colType, 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 getColumn()
          The name of the column in the ResultSet
 Class getColumnClass()
           
 DBDatabaseInfo.ColumnSQLType getColumnType()
           
 int getJdbcType()
           
 SchemaQualifiedName getTable()
           
 TableColumn getTableColumn()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLSelectColumn

public SQLSelectColumn(TableColumn tableColumn,
                       SQLJoin join,
                       DBDatabaseInfo.ColumnSQLType colType,
                       int jdbcType,
                       Class columnClass)
Method Detail

getTableColumn

public TableColumn getTableColumn()

getTable

public SchemaQualifiedName getTable()

getColumn

public String getColumn()
Description copied from interface: SQLSelectElement
The name of the column in the ResultSet

Specified by:
getColumn in interface SQLSelectElement

addJoins

public void addJoins(Set<SQLJoin> joins)
Specified by:
addJoins in interface SQLSelectElement

getColumnType

public DBDatabaseInfo.ColumnSQLType getColumnType()

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