public enum VirtualTable extends java.lang.Enum<VirtualTable>
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 and Description |
---|
CLONED_REPORTERS
Table that holds cloned reporter information for an experiment.
|
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.
|
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
alias
The alias to use in queries for this table.
|
private VirtualColumn[] |
columns
The columns in the table.
|
private java.lang.String |
nameTemplate
The name template, # is replaced by the ID of the
VirtualDb item. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlias()
Get the alias of this table.
|
long |
getBytesPerRow(Experiment experiment) |
long |
getBytesPerRow(RawDataType rdt)
Deprecated.
In 3.1, use
getBytesPerRow(Experiment)
or getBytesPerRow(VirtualDb) instead |
long |
getBytesPerRow(VirtualDb vdb)
Get the number of bytes a single row in the database occupies.
|
VirtualColumn[] |
getColumns(Experiment exp)
Get all columns in this table.
|
VirtualColumn[] |
getColumns(RawDataType rdt)
Deprecated.
In 3.1, use
getColumns(VirtualDb) or
getColumns(Experiment) instead |
VirtualColumn[] |
getColumns(VirtualDb vdb)
Get all columns in this table.
|
java.lang.String |
getQualifiedTableName(VirtualDb vdb)
Get the real table name of this table in the database, quoted
and with catalog/schema information prepended to it.
|
java.lang.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(java.lang.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.
|
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
public static final VirtualTable CLONED_REPORTERS
ReporterCloneTemplate
attached to an experiment.private final java.lang.String nameTemplate
VirtualDb
item.private final java.lang.String alias
private final VirtualColumn[] columns
public static VirtualTable[] values()
for (VirtualTable c : VirtualTable.values()) System.out.println(c);
public static VirtualTable valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getTableName(VirtualDb vdb)
vdb
- The virtual databasepublic java.lang.String getQualifiedTableName(VirtualDb vdb)
vdb
- The virtual databasepublic java.lang.String getAlias()
SELECT ... FROM table AS alias ...
@Deprecated public VirtualColumn[] getColumns(RawDataType rdt)
rdt
- The raw data type of the experimentpublic VirtualColumn[] getColumns(VirtualDb vdb)
vdb
- The virtual database this table belongs topublic final VirtualColumn[] getColumns(Experiment exp)
exp
- The experiment this table belongs topublic boolean hasColumn(VirtualColumn column)
SPOT
table.column
- The column to check@Deprecated public long getBytesPerRow(RawDataType rdt)
rdt
- The raw data type of the experimentpublic final long getBytesPerRow(Experiment experiment)
getBytesPerRow(VirtualDb)
public long getBytesPerRow(VirtualDb vdb)
vdb
- The virtual database where the table is stored