Package net.sf.basedb.core
Class RealTable
- java.lang.Object
-
- net.sf.basedb.core.RealTable
-
public class RealTable extends Object
This class defines constants that are used to specify a table in the regular (non-dynamic) database while doing analysis with dynamic queries. This makes it possible to join data from the regular tables into a dynamic query.- Version:
- 2.0
- Author:
- Nicklas
- See Also:
DynamicSpotQuery.joinReporters(net.sf.basedb.core.query.JoinType)
,RealJoin
,RawDataType.getRealTable()
- Last modified
- $Date: 2016-05-04 10:48:42 +0200 (on, 04 maj 2016) $
-
-
Field Summary
Fields Modifier and Type Field Description private String
alias
The alias to use in queries for this table.static RealTable
RAWBIOASSAYS
static RealTable
REPORTER_LIST_SCORES
static RealTable
REPORTERS
private String
tableName
The unquoted table name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAlias()
Get the alias of this table.String
getAlias(int id)
Get the alias of this table, using the ID of the item to make it unique.String
getAlias(BasicItem item)
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.
-
-
-
Field Detail
-
REPORTERS
public static final RealTable REPORTERS
-
REPORTER_LIST_SCORES
public static final RealTable REPORTER_LIST_SCORES
-
RAWBIOASSAYS
public static final RealTable RAWBIOASSAYS
- Since:
- 3.9
-
tableName
private final String tableName
The unquoted table name.
-
alias
private final String alias
The alias to use in queries for this table.
-
-
Method Detail
-
getTableName
public String getTableName()
Get the unquoted table name of this table in the database.
-
getQualifiedTableName
public String getQualifiedTableName()
Get the quoted table name of this table in the database.
-
getAlias
public String getAlias()
Get the alias of this table. Used in queries:SELECT ... FROM table AS alias ...
-
getAlias
public String getAlias(BasicItem item)
Get the alias of this table, using the ID of the item to make it unique. Used in queries:SELECT ... FROM table AS alias ...
-
getAlias
public String getAlias(int id)
Get the alias of this table, using the ID of the item to make it unique. Used in queries:SELECT ... FROM table AS alias ...
- Since:
- 2.8
-
-