primaryKey
private final boolean primaryKey
If the column should be part of the primary key or not.
public class VirtualColumn extends Object
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.VirtualTable
,
Dynamic
Modifier and Type | Field | Description |
---|---|---|
private String |
column |
The column name in the database of the column.
|
static VirtualColumn |
COLUMN |
This column stores the data cube column coordinate.
|
static VirtualColumn |
CUBE |
This column stores the data cube number.
|
static VirtualColumn |
EXTRA |
This column stores the data cube extra value number.
|
static VirtualColumn |
EXTRA_FLOAT |
This column stores extra float values.
|
static VirtualColumn |
EXTRA_INT |
This column stores extra integer values.
|
static VirtualColumn |
EXTRA_STRING |
This column stores extra string values.
|
private static Map<Type,VirtualColumn> |
extraValueColumns |
A cache of virtual column objects for extra value types.
|
static VirtualColumn |
FILTER |
This column stores the data cube filter number.
|
private boolean |
indexed |
If the column should be indexed or not.
|
static boolean |
INDEXED |
Used in constructor to tell that the column should be indexed.
|
static VirtualColumn |
LAYER |
This column stores the data cube layer coordinate.
|
private String |
name |
The name of the column.
|
private boolean |
nullable |
If the column should be nullable or not.
|
static boolean |
NULLABLE |
Used in constructor to tell that the column should be nullable.
|
static VirtualColumn |
POSITION |
This column stores the data cube position coordinate.
|
static boolean |
PRIMARY_KEY |
Used in constructor to tell that the column is part of the primary key.
|
private boolean |
primaryKey |
If the column should be part of the primary key or not.
|
static VirtualColumn |
RAWBIOASSAY_ID |
This column stores the id of a raw bioassay.
|
static VirtualColumn |
RAWDATA_ID |
This column stores the id of a raw date object.
|
static VirtualColumn |
REPORTER_EXTERNAL_ID |
Column for storing the external reporter id.
|
static VirtualColumn |
REPORTER_ID |
This column stores the id of a reporter.
|
static VirtualColumn |
REPORTER_ID_PK |
Column for storing the id of a reporter when it is part of the
primary key.
|
static VirtualColumn |
REPORTER_VERSION |
Column for storing the original version of a reporter that
is cloned to a virtual table.
|
private int |
size |
The size of the column if it is a string.
|
private TypeWrapper<?> |
typeWrapper |
The data type of the column.
|
private boolean |
unique |
If the column must contain unique values or not.
|
static boolean |
UNIQUE |
Used in constructor to tell that the column must contain only
unique values.
|
private boolean |
untransformIntensities |
Modifier | Constructor | Description |
---|---|---|
private |
VirtualColumn(String name,
String column,
TypeWrapper<?> type,
int size,
boolean indexed,
boolean unique,
boolean nullable,
boolean primaryKey,
boolean untransformIntensities) |
Create a new virtual column.
|
Modifier and Type | Method | Description |
---|---|---|
static VirtualColumn |
channelIntensity(int channel) |
Get a column that returns the intensity values for a channel.
|
static VirtualColumn |
channelRaw(int channel) |
Get a column that stores the raw spot value for a channel.
|
static VirtualColumn |
clonableProperty(ClonableProperty property) |
Get a virtual column view of a cloned reporter property.
|
boolean |
equals(Object other) |
A virtual column is equal to another if both have the same name.
|
static VirtualColumn |
extraValue(Type valueType) |
Get a column that stores the calculated extra values for a value type.
|
String |
getColumn() |
Get the database column name of the column.
|
String |
getName() |
Get the name of the column.
|
int |
getSize() |
Get the maximum size of data in the column if it is a string.
|
TypeWrapper<?> |
getTypeWrapper() |
Get a wrapper for accessing underlying type information from Hibernate.
|
int |
hashCode() |
|
boolean |
isIndexed() |
If the column is indexed or not.
|
boolean |
isNullable() |
If null values are allowed in the column or not.
|
boolean |
isPrimaryKey() |
If the column is part of the primary key or not.
|
boolean |
isUnique() |
If the column must contain unique values or not.
|
boolean |
untransformIntensities() |
A flag indicating if transformed intensity valus belonging
to a bioassay set should be untransformed as part of a query.
|
DataCube.getCubeNo()
DataCubeLayer.getLayerNo()
DataCubeColumn.getColumnNo()
DataCubeFilter.getFilterNo()
DataCubeExtraValue.getExtraNo()
Reporters
table.ReporterData
Reporters
table.RawData
RawBioAssays
table.RawBioAssay
BioAssaySet.getIntensityTransform()
for the current
bioassay set.channel
- The channel numberchannelIntensity(int)
BioAssaySet.getIntensityTransform()
setting for
the current bioassay set), are untransformed automatically.channel
- The channel numberchannelRaw(int)
VirtualColumn
object per type exists. Only
Type.INT
, Type.FLOAT
and Type.STRING
are
supported.valueType
- The type to get the column for.property
- The cloned reporter propertySELECT
statements by default.getType() == Hibernate.STRING
channelIntensity(int)