|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sf.basedb.core.query.Dynamic
public class Dynamic
A factory class to create expressions, joins, etc. that are only used
by queries in the dynamic database. The elements will throw an
UnsupportedOperationException if passed to
a HQL query.
| Constructor Summary | |
|---|---|
Dynamic()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Dynamic()
| Method Detail |
|---|
public static Select select(VirtualColumn column)
throws InvalidDataException
column - The column to select
InvalidDataException - 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 select
InvalidDataException - If the column is null
public static Select selectReporter(String property)
throws InvalidDataException
property - The name of the property
InvalidDataException - 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 decide
InvalidDataException - If the property is nullDynamicSpotQuery.joinReporters(JoinType, boolean),
DynamicQuery.setUseClonedReporters(boolean)
public static Select selectRawData(String property)
throws InvalidDataException
property - The name of the property
InvalidDataException - 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 value
InvalidDataException - If the extraValue or alias is nullDynamicSpotQuery.joinExtraValue(ExtraValue, JoinType)
public static Expression column(VirtualColumn column)
throws InvalidDataException
column - The column
InvalidDataException - 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 column
InvalidDataException - If the column is null
public static Expression reporter(String property)
throws InvalidDataException
property - The name of the property
InvalidDataException - 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 decide
InvalidDataException - If the property is nullDynamicSpotQuery.joinReporters(JoinType, boolean),
DynamicQuery.setUseClonedReporters(boolean)
public static Expression rawData(String property)
throws InvalidDataException
property - The name of the property
InvalidDataException - If the property is nullDynamicSpotQuery.joinRawData(JoinType)
public static Expression meanRawData(String property)
throws InvalidDataException
property - The name of the property
InvalidDataException - If the property is nullDynamicSpotQuery.joinRawData(JoinType)public static Expression extraValue(ExtraValue extraValue)
extraValue - The extra value
InvalidDataException - 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)
|
3.1.1: 2012-03-29 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||