public class RealTable
extends java.lang.Object
DynamicSpotQuery.joinReporters(net.sf.basedb.core.query.JoinType)
,
RealJoin
,
RawDataType.getRealTable()
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
alias
The alias to use in queries for this table.
|
static RealTable |
RAWBIOASSAYS |
static RealTable |
REPORTER_LIST_SCORES |
static RealTable |
REPORTERS |
private java.lang.String |
tableName
The unquoted table name.
|
Constructor and Description |
---|
RealTable(java.lang.String tableName,
java.lang.String alias)
Creates a new table.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlias()
Get the alias of this table.
|
java.lang.String |
getAlias(BasicItem item)
Get the alias of this table, using the ID of the item to make it
unique.
|
java.lang.String |
getAlias(int id)
Get the alias of this table, using the ID of the item to make it
unique.
|
java.lang.String |
getQualifiedTableName()
Get the quoted table name of this table in the database.
|
java.lang.String |
getTableName()
Get the unquoted table name of this table in the database.
|
public static final RealTable REPORTERS
public static final RealTable REPORTER_LIST_SCORES
public static final RealTable RAWBIOASSAYS
private final java.lang.String tableName
private final java.lang.String alias
RealTable(java.lang.String tableName, java.lang.String alias)
tableName
- The name of the tablealias
- The alias of the table used in queriespublic java.lang.String getTableName()
public java.lang.String getQualifiedTableName()
public java.lang.String getAlias()
SELECT ... FROM table AS alias ...
public java.lang.String getAlias(BasicItem item)
SELECT ... FROM table AS alias ...
public java.lang.String getAlias(int id)
SELECT ... FROM table AS alias ...