Package ubic.gemma.persistence.util
Class Subquery
- java.lang.Object
-
- ubic.gemma.persistence.util.Subquery
-
public class Subquery extends Object
Represents a subquery right-hand side of aFilter
.A subquery has rather limited structure:
select {rootAlias}.{propertyName} from {entityName} {rootAlias} join {aliases...} where {filter}
and is solely designed to nest a
Filter
in a subquery so that it can be applied to one-to-many relations.The root alias is used whenever
null
is used as object alias in thealiases
orfilter
. It can be declared by passing anSubquery.Alias
with anull
object alias and an empty property name.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Subquery.Alias
-