|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<VirtualTable> net.sf.basedb.core.VirtualTable
public enum VirtualTable
This enumeration defines constants that are used to specify different
virtual tables in the dynamic part of the database used for analysis.
For each VirtualDb
it is possible to create one real
table for each VirtualTable
constant.
The information in these objects are used
by HibernateUtil.createVirtualTable(VirtualDb, VirtualTable)
to create the extra tables needed by an experiment to store analysed
data. These objects are also used in query elements by DynamicQuery
:s
when it needs to reference a certain column in one of the dynamic tables.
VirtualColumn
,
Dynamic
Enum Constant Summary | |
---|---|
COLUMN
Table that maps columns coordinates in a data cube to raw bioassays. |
|
COLUMN_EXTRA_FLOAT
Table that stores float column extra values. |
|
COLUMN_EXTRA_INT
Table that stores integer column extra values. |
|
COLUMN_EXTRA_STRING
Table that stores string column extra values. |
|
FILTER
Table that holds column/position coordinates that remains after a filtering operation has been applied to a data cube layer. |
|
POSITION
Table that maps position coordinates in a data cube to reporters. |
|
POSITION_EXTRA_FLOAT
Table that stores float position extra values. |
|
POSITION_EXTRA_INT
Table that stores integer position extra values. |
|
POSITION_EXTRA_STRING
Table that stores string position extra values. |
|
RAWPARENTS
Table that maps column/position coordinates in a data cube to the id's of the raw spots their intensities where calculated from. |
|
SPOT
Table that stores spot intensities for each spot in a data cube. |
|
SPOT_EXTRA_FLOAT
Table that stores float spot extra values. |
|
SPOT_EXTRA_INT
Table that stores integer spot extra values. |
|
SPOT_EXTRA_STRING
Table that stores string spot extra values. |
Field Summary | |
---|---|
private String |
alias
The alias to use in queries for this table. |
private VirtualColumn[] |
columns
The columns in the table. |
private String |
nameTemplate
The name template, # is replaced by the ID of the VirtualDb item. |
Method Summary | |
---|---|
String |
getAlias()
Get the alias of this table. |
long |
getBytesPerRow(RawDataType rdt)
Get the number of bytes a single row in the database occupies. |
VirtualColumn[] |
getColumns(RawDataType rdt)
Get all columns in this table. |
String |
getQualifiedTableName(VirtualDb vdb)
Get the real table name of this table in the database, quoted and with catalog/schema information prepended to it. |
String |
getTableName(VirtualDb vdb)
Get the real table name of this table in the database. |
boolean |
hasColumn(VirtualColumn column)
Check if the specified column is part of the virtual table or not. |
static VirtualTable |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static VirtualTable[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final VirtualTable SPOT
public static final VirtualTable SPOT_EXTRA_INT
public static final VirtualTable SPOT_EXTRA_FLOAT
public static final VirtualTable SPOT_EXTRA_STRING
public static final VirtualTable POSITION
public static final VirtualTable POSITION_EXTRA_INT
public static final VirtualTable POSITION_EXTRA_FLOAT
public static final VirtualTable POSITION_EXTRA_STRING
public static final VirtualTable COLUMN
public static final VirtualTable COLUMN_EXTRA_INT
public static final VirtualTable COLUMN_EXTRA_FLOAT
public static final VirtualTable COLUMN_EXTRA_STRING
public static final VirtualTable RAWPARENTS
public static final VirtualTable FILTER
Field Detail |
---|
private final String nameTemplate
VirtualDb
item.
private final String alias
private final VirtualColumn[] columns
Method Detail |
---|
public static VirtualTable[] values()
for (VirtualTable c : VirtualTable.values()) System.out.println(c);
public static VirtualTable valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic String getTableName(VirtualDb vdb)
vdb
- The virtual databasepublic String getQualifiedTableName(VirtualDb vdb)
vdb
- The virtual databasepublic String getAlias()
SELECT ... FROM table AS alias ...
public VirtualColumn[] getColumns(RawDataType rdt)
rdt
- The raw data type of the experimentpublic boolean hasColumn(VirtualColumn column)
SPOT
table.
column
- The column to check
public long getBytesPerRow(RawDataType rdt)
rdt
- The raw data type of the experiment
|
2.17.2: 2011-06-17 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |