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