public class Dynamic extends Object
UnsupportedOperationException
if passed to
a HQL query.Constructor and Description |
---|
Dynamic() |
Modifier and Type | Method and Description |
---|---|
static Expression |
column(VirtualColumn column)
Create an expression representing a column in the root table:
expression = rootAlias.columnName.
|
static Expression |
column(VirtualTable table,
VirtualColumn column)
Create an expression representing a column in a table:
expression = tableAlias.columnName.
|
static Expression |
extraValue(ExtraValue extraValue)
Create an expression representing the extra value of a spot
or position.
|
static Restriction |
isNotPartOf(ReporterList reporterList) |
static Restriction |
isPartOf(ReporterList reporterList) |
static Expression |
meanRawData(String property)
Create an expression representing the mean value of a property of a
raw data spot. expression = mean(rawdata.property).
|
static Expression |
rawData(String property)
Create an expression representing a property of a raw data spot.
|
static Expression |
reporter(String property)
Create an expression representing a property of a reporter.
|
static Expression |
reporter(String property,
Boolean useCloned)
Create an expression representing a property of a reporter.
|
static Expression |
score(ReporterList reporterList) |
static Select |
select(ExtraValue extraValue,
String alias)
Select an extra value.
|
static Select |
select(VirtualColumn column)
Select a column in the root table.
|
static Select |
select(VirtualTable table,
VirtualColumn column)
Select a column in a joined or the root table.
|
static Select |
selectRawData(String property)
Select a column in the raw data table.
|
static Select |
selectReporter(String property)
Select a column in the reporters table.
|
static Select |
selectReporter(String property,
Boolean useCloned)
Select a column in the reporters table.
|
public static Select select(VirtualColumn column) throws InvalidDataException
column
- The column to selectInvalidDataException
- If the column is nullselect(VirtualTable, VirtualColumn)
public static Select select(VirtualTable table, VirtualColumn column) throws InvalidDataException
table
- The joined table where the column is located,
or null to use the root tablecolumn
- The column to selectInvalidDataException
- If the column is nullpublic static Select selectReporter(String property) throws InvalidDataException
property
- The name of the propertyInvalidDataException
- If the property is nullDynamicSpotQuery.joinReporters(JoinType)
public static Select selectReporter(String property, Boolean useCloned) throws InvalidDataException
property
- The name of the propertyuseCloned
- TRUE to use cloned reporter information (if available),
FALSE to not use cloned information, null to automatically decideInvalidDataException
- If the property is nullDynamicSpotQuery.joinReporters(JoinType, boolean)
,
DynamicQuery.setUseClonedReporters(boolean)
public static Select selectRawData(String property) throws InvalidDataException
property
- The name of the propertyInvalidDataException
- If the property is nullDynamicSpotQuery.joinRawData(JoinType)
public static Select select(ExtraValue extraValue, String alias) throws InvalidDataException
extraValue
- The extra value to selectalias
- The alias of the extra valueInvalidDataException
- If the extraValue or alias is nullDynamicSpotQuery.joinExtraValue(ExtraValue, JoinType)
public static Expression column(VirtualColumn column) throws InvalidDataException
column
- The columnInvalidDataException
- If the column is nullcolumn(VirtualTable, VirtualColumn)
public static Expression column(VirtualTable table, VirtualColumn column) throws InvalidDataException
table
- The table the column is located in or null if
the column is located in the root tablecolumn
- The columnInvalidDataException
- If the column is nullpublic static Expression reporter(String property) throws InvalidDataException
property
- The name of the propertyInvalidDataException
- If the property is nullDynamicSpotQuery.joinReporters(JoinType, boolean)
,
DynamicQuery.setUseClonedReporters(boolean)
public static Expression reporter(String property, Boolean useCloned)
property
- The name of the propertyuseCloned
- TRUE to use cloned reporter information (if available),
FALSE to not use cloned information, null to automatically decideInvalidDataException
- If the property is nullDynamicSpotQuery.joinReporters(JoinType, boolean)
,
DynamicQuery.setUseClonedReporters(boolean)
public static Expression rawData(String property) throws InvalidDataException
property
- The name of the propertyInvalidDataException
- If the property is nullDynamicSpotQuery.joinRawData(JoinType)
public static Expression meanRawData(String property) throws InvalidDataException
property
- The name of the propertyInvalidDataException
- If the property is nullDynamicSpotQuery.joinRawData(JoinType)
public static Expression extraValue(ExtraValue extraValue)
extraValue
- The extra valueInvalidDataException
- If the extra value is nullDynamicSpotQuery.joinExtraValue(ExtraValue, JoinType)
public static Restriction isPartOf(ReporterList reporterList)
public static Restriction isNotPartOf(ReporterList reporterList)
public static Expression score(ReporterList reporterList)