com.healthmarketscience.sqlbuilder.dbspec
Interface Table

All Known Implementing Classes:
DbTable, RejoinTable

public interface Table

Maintains information about a database table for use with the sqlbuilder utilities.

Author:
James Ahlborn

Method Summary
 String getAlias()
           
 List<? extends Column> getColumns()
           
 List<? extends Constraint> getConstraints()
           
 String getTableNameSQL()
           
 

Method Detail

getAlias

String getAlias()
Returns:
the alias for this table which should be unique among all tables in a given query

getTableNameSQL

String getTableNameSQL()
Returns:
a string which represents an absolute (fully qualified) reference to this table, suitable for sql statements

getColumns

List<? extends Column> getColumns()
Returns:
the columns in this table

getConstraints

List<? extends Constraint> getConstraints()
Returns:
any constraints for this table


Copyright © 2006–2017 Health Market Science. All rights reserved.