public class Subqueries
extends java.lang.Object
Restrictions,
Projection,
Criteria| Modifier and Type | Method and Description |
|---|---|
static Criterion |
eq(java.lang.Object value,
DetachedCriteria dc)
Creates a criterion which checks that the value of a given literal as being equal to the value in
the subquery result.
|
static Criterion |
eqAll(java.lang.Object value,
DetachedCriteria dc)
Creates a criterion which checks that the value of a literal equals ALL the values in the
subquery result.
|
static Criterion |
exists(DetachedCriteria dc)
Creates a criterion which checks for the existence of rows in the subquery result
|
static Criterion |
ge(java.lang.Object value,
DetachedCriteria dc)
Creates a criterion which checks that the value of a given literal as being greater-than-or-equal-to the
value in the subquery result.
|
static Criterion |
geAll(java.lang.Object value,
DetachedCriteria dc)
Creates a criterion which checks that the value of a literal is greater-than-or-equal-to ALL the values in the
subquery result.
|
static Criterion |
geSome(java.lang.Object value,
DetachedCriteria dc)
Creates a criterion which checks that the value of a literal is greater-than-or-equal-to SOME of the values
in the subquery result.
|
static Criterion |
gt(java.lang.Object value,
DetachedCriteria dc)
Creates a criterion which checks that the value of a given literal as being greater-than the value in
the subquery result.
|
static Criterion |
gtAll(java.lang.Object value,
DetachedCriteria dc)
Creates a criterion which checks that the value of a literal is greater-than ALL the values in the
subquery result.
|
static Criterion |
gtSome(java.lang.Object value,
DetachedCriteria dc)
Creates a criterion which checks that the value of a literal is greater-than SOME of the values in the
subquery result.
|
static Criterion |
in(java.lang.Object value,
DetachedCriteria dc)
Creates a criterion which checks that the value of a literal is IN the values in the
subquery result.
|
static Criterion |
le(java.lang.Object value,
DetachedCriteria dc)
Creates a criterion which checks that the value of a given literal as being less-than-or-equal-to the
value in the subquery result.
|
static Criterion |
leAll(java.lang.Object value,
DetachedCriteria dc)
Creates a criterion which checks that the value of a literal is less-than-or-equal-to ALL the values in the
subquery result.
|
static Criterion |
leSome(java.lang.Object value,
DetachedCriteria dc)
Creates a criterion which checks that the value of a literal is less-than-or-equal-to SOME of the values
in the subquery result.
|
static Criterion |
lt(java.lang.Object value,
DetachedCriteria dc)
Creates a criterion which checks that the value of a given literal as being less-than the value in
the subquery result.
|
static Criterion |
ltAll(java.lang.Object value,
DetachedCriteria dc)
Creates a criterion which checks that the value of a literal is less-than ALL the values in the
subquery result.
|
static Criterion |
ltSome(java.lang.Object value,
DetachedCriteria dc)
Creates a criterion which checks that the value of a literal is less-than SOME of the values in the
subquery result.
|
static Criterion |
ne(java.lang.Object value,
DetachedCriteria dc)
Creates a criterion which checks that the value of a given literal as being not-equal to the value in
the subquery result.
|
static Criterion |
notExists(DetachedCriteria dc)
Creates a criterion which checks for the non-existence of rows in the subquery result
|
static Criterion |
notIn(java.lang.Object value,
DetachedCriteria dc)
Creates a criterion which checks that the value of a literal is NOT IN the values in the
subquery result.
|
static Criterion |
propertiesEq(java.lang.String[] propertyNames,
DetachedCriteria dc)
Creates a criterion which checks that the value of multiple given properties as being equal to the set of
values in the subquery result.
|
static Criterion |
propertiesIn(java.lang.String[] propertyNames,
DetachedCriteria dc)
Creates a criterion which checks that the value of multiple given properties as being in to the set of
values in the subquery result.
|
static Criterion |
propertiesNotEq(java.lang.String[] propertyNames,
DetachedCriteria dc)
Creates a criterion which checks that the value of multiple given properties as being not-equal to the set of
values in the subquery result.
|
static Criterion |
propertiesNotIn(java.lang.String[] propertyNames,
DetachedCriteria dc)
Creates a criterion which checks that the value of multiple given properties as being not-in to the set of
values in the subquery result.
|
static Criterion |
propertyEq(java.lang.String propertyName,
DetachedCriteria dc)
Creates a criterion which checks that the value of a given property as being equal to the set of values in
the subquery result.
|
static Criterion |
propertyEqAll(java.lang.String propertyName,
DetachedCriteria dc)
Creates a criterion which checks that the value of a given property equals ALL the values in the
subquery result.
|
static Criterion |
propertyGe(java.lang.String propertyName,
DetachedCriteria dc)
Creates a criterion which checks that the value of a given property is greater-than-or-equal-to the value
in the subquery result.
|
static Criterion |
propertyGeAll(java.lang.String propertyName,
DetachedCriteria dc)
Creates a criterion which checks that the value of a given property is greater-than-or-equal-to ALL the
values in the subquery result.
|
static Criterion |
propertyGeSome(java.lang.String propertyName,
DetachedCriteria dc)
Creates a criterion which checks that the value of a given property is greater-than-or-equal-to SOME of the
values in the subquery result.
|
static Criterion |
propertyGt(java.lang.String propertyName,
DetachedCriteria dc)
Creates a criterion which checks that the value of a given property is greater-than the value in the
subquery result.
|
static Criterion |
propertyGtAll(java.lang.String propertyName,
DetachedCriteria dc)
Creates a criterion which checks that the value of a given property is greater-than ALL the values in the
subquery result.
|
static Criterion |
propertyGtSome(java.lang.String propertyName,
DetachedCriteria dc)
Creates a criterion which checks that the value of a given property is greater-than SOME of the
values in the subquery result.
|
static Criterion |
propertyIn(java.lang.String propertyName,
DetachedCriteria dc)
Creates a criterion which checks that the value of a given property is in the set of values in the
subquery result.
|
static Criterion |
propertyLe(java.lang.String propertyName,
DetachedCriteria dc)
Creates a criterion which checks that the value of a given property is less-than-or-equal-to the value
in the subquery result.
|
static Criterion |
propertyLeAll(java.lang.String propertyName,
DetachedCriteria dc)
Creates a criterion which checks that the value of a given property is less-than-or-equal-to ALL the
values in the subquery result.
|
static Criterion |
propertyLeSome(java.lang.String propertyName,
DetachedCriteria dc)
Creates a criterion which checks that the value of a given property is less-than-or-equal-to SOME of the
values in the subquery result.
|
static Criterion |
propertyLt(java.lang.String propertyName,
DetachedCriteria dc)
Creates a criterion which checks that the value of a given property is less-than the value in the
subquery result.
|
static Criterion |
propertyLtAll(java.lang.String propertyName,
DetachedCriteria dc)
Creates a criterion which checks that the value of a given property is less-than ALL the values in the
subquery result.
|
static Criterion |
propertyLtSome(java.lang.String propertyName,
DetachedCriteria dc)
Creates a criterion which checks that the value of a given property is less-than SOME of the
values in the subquery result.
|
static Criterion |
propertyNe(java.lang.String propertyName,
DetachedCriteria dc)
Creates a criterion which checks that the value of a given property is not equal to the value in the
subquery result.
|
static Criterion |
propertyNotIn(java.lang.String propertyName,
DetachedCriteria dc)
Creates a criterion which checks that the value of a given property is not-in the set of values in
the subquery result.
|
public static Criterion exists(DetachedCriteria dc)
dc - The detached criteria representing the subqueryExistsSubqueryExpressionpublic static Criterion notExists(DetachedCriteria dc)
dc - The detached criteria representing the subqueryExistsSubqueryExpressionpublic static Criterion propertyEqAll(java.lang.String propertyName, DetachedCriteria dc)
propertyName - The name of the property to use in comparisondc - The detached criteria representing the subqueryPropertySubqueryExpressionpublic static Criterion propertyGtAll(java.lang.String propertyName, DetachedCriteria dc)
propertyName - The name of the property to use in comparisondc - The detached criteria representing the subqueryPropertySubqueryExpressionpublic static Criterion propertyLtAll(java.lang.String propertyName, DetachedCriteria dc)
propertyName - The name of the property to use in comparisondc - The detached criteria representing the subqueryPropertySubqueryExpressionpublic static Criterion propertyGeAll(java.lang.String propertyName, DetachedCriteria dc)
propertyName - The name of the property to use in comparisondc - The detached criteria representing the subqueryPropertySubqueryExpressionpublic static Criterion propertyLeAll(java.lang.String propertyName, DetachedCriteria dc)
propertyName - The name of the property to use in comparisondc - The detached criteria representing the subqueryPropertySubqueryExpressionpublic static Criterion propertyGtSome(java.lang.String propertyName, DetachedCriteria dc)
propertyName - The name of the property to use in comparisondc - The detached criteria representing the subqueryPropertySubqueryExpressionpublic static Criterion propertyLtSome(java.lang.String propertyName, DetachedCriteria dc)
propertyName - The name of the property to use in comparisondc - The detached criteria representing the subqueryPropertySubqueryExpressionpublic static Criterion propertyGeSome(java.lang.String propertyName, DetachedCriteria dc)
propertyName - The name of the property to use in comparisondc - The detached criteria representing the subqueryPropertySubqueryExpressionpublic static Criterion propertyLeSome(java.lang.String propertyName, DetachedCriteria dc)
propertyName - The name of the property to use in comparisondc - The detached criteria representing the subqueryPropertySubqueryExpressionpublic static Criterion propertyIn(java.lang.String propertyName, DetachedCriteria dc)
propertyName - The name of the property to use in comparisondc - The detached criteria representing the subqueryPropertySubqueryExpressionpublic static Criterion propertyNotIn(java.lang.String propertyName, DetachedCriteria dc)
propertyName - The name of the property to use in comparisondc - The detached criteria representing the subqueryPropertySubqueryExpressionpublic static Criterion propertyEq(java.lang.String propertyName, DetachedCriteria dc)
propertyName - The name of the property to use in comparisondc - The detached criteria representing the subqueryPropertySubqueryExpressionpublic static Criterion propertyNe(java.lang.String propertyName, DetachedCriteria dc)
propertyName - The name of the property to use in comparisondc - The detached criteria representing the subqueryPropertySubqueryExpressionpublic static Criterion propertyGt(java.lang.String propertyName, DetachedCriteria dc)
propertyName - The name of the property to use in comparisondc - The detached criteria representing the subqueryPropertySubqueryExpression,
propertyGtAll(java.lang.String, org.hibernate.criterion.DetachedCriteria),
propertyGtSome(java.lang.String, org.hibernate.criterion.DetachedCriteria)public static Criterion propertyLt(java.lang.String propertyName, DetachedCriteria dc)
propertyName - The name of the property to use in comparisondc - The detached criteria representing the subqueryPropertySubqueryExpression,
propertyLtAll(java.lang.String, org.hibernate.criterion.DetachedCriteria),
propertyLtSome(java.lang.String, org.hibernate.criterion.DetachedCriteria)public static Criterion propertyGe(java.lang.String propertyName, DetachedCriteria dc)
propertyName - The name of the property to use in comparisondc - The detached criteria representing the subqueryPropertySubqueryExpression,
propertyGeAll(java.lang.String, org.hibernate.criterion.DetachedCriteria),
propertyGeSome(java.lang.String, org.hibernate.criterion.DetachedCriteria)public static Criterion propertyLe(java.lang.String propertyName, DetachedCriteria dc)
propertyName - The name of the property to use in comparisondc - The detached criteria representing the subqueryPropertySubqueryExpression,
propertyLeAll(java.lang.String, org.hibernate.criterion.DetachedCriteria),
propertyLeSome(java.lang.String, org.hibernate.criterion.DetachedCriteria)public static Criterion propertiesEq(java.lang.String[] propertyNames, DetachedCriteria dc)
propertyNames - The names of the properties to use in comparisondc - The detached criteria representing the subqueryPropertiesSubqueryExpressionpublic static Criterion propertiesNotEq(java.lang.String[] propertyNames, DetachedCriteria dc)
propertyNames - The names of the properties to use in comparisondc - The detached criteria representing the subqueryPropertiesSubqueryExpressionpublic static Criterion propertiesIn(java.lang.String[] propertyNames, DetachedCriteria dc)
propertyNames - The names of the properties to use in comparisondc - The detached criteria representing the subqueryPropertiesSubqueryExpressionpublic static Criterion propertiesNotIn(java.lang.String[] propertyNames, DetachedCriteria dc)
propertyNames - The names of the properties to use in comparisondc - The detached criteria representing the subqueryPropertiesSubqueryExpressionpublic static Criterion eqAll(java.lang.Object value, DetachedCriteria dc)
value - The literal value to use in comparisondc - The detached criteria representing the subquerySimpleSubqueryExpressionpublic static Criterion gtAll(java.lang.Object value, DetachedCriteria dc)
value - The literal value to use in comparisondc - The detached criteria representing the subquerySimpleSubqueryExpressionpublic static Criterion ltAll(java.lang.Object value, DetachedCriteria dc)
value - The literal value to use in comparisondc - The detached criteria representing the subquerySimpleSubqueryExpressionpublic static Criterion geAll(java.lang.Object value, DetachedCriteria dc)
value - The literal value to use in comparisondc - The detached criteria representing the subquerySimpleSubqueryExpressionpublic static Criterion leAll(java.lang.Object value, DetachedCriteria dc)
value - The literal value to use in comparisondc - The detached criteria representing the subquerySimpleSubqueryExpressionpublic static Criterion gtSome(java.lang.Object value, DetachedCriteria dc)
value - The literal value to use in comparisondc - The detached criteria representing the subquerySimpleSubqueryExpressionpublic static Criterion ltSome(java.lang.Object value, DetachedCriteria dc)
value - The literal value to use in comparisondc - The detached criteria representing the subquerySimpleSubqueryExpressionpublic static Criterion geSome(java.lang.Object value, DetachedCriteria dc)
value - The literal value to use in comparisondc - The detached criteria representing the subquerySimpleSubqueryExpressionpublic static Criterion leSome(java.lang.Object value, DetachedCriteria dc)
value - The literal value to use in comparisondc - The detached criteria representing the subquerySimpleSubqueryExpressionpublic static Criterion in(java.lang.Object value, DetachedCriteria dc)
value - The literal value to use in comparisondc - The detached criteria representing the subquerySimpleSubqueryExpressionpublic static Criterion notIn(java.lang.Object value, DetachedCriteria dc)
value - The literal value to use in comparisondc - The detached criteria representing the subquerySimpleSubqueryExpressionpublic static Criterion eq(java.lang.Object value, DetachedCriteria dc)
value - The literal value to use in comparisondc - The detached criteria representing the subquerySimpleSubqueryExpressionpublic static Criterion ne(java.lang.Object value, DetachedCriteria dc)
value - The literal value to use in comparisondc - The detached criteria representing the subquerySimpleSubqueryExpressionpublic static Criterion gt(java.lang.Object value, DetachedCriteria dc)
value - The literal value to use in comparisondc - The detached criteria representing the subquerySimpleSubqueryExpressionpublic static Criterion lt(java.lang.Object value, DetachedCriteria dc)
value - The literal value to use in comparisondc - The detached criteria representing the subquerySimpleSubqueryExpressionpublic static Criterion ge(java.lang.Object value, DetachedCriteria dc)
value - The literal value to use in comparisondc - The detached criteria representing the subquerySimpleSubqueryExpressionpublic static Criterion le(java.lang.Object value, DetachedCriteria dc)
value - The literal value to use in comparisondc - The detached criteria representing the subquerySimpleSubqueryExpressionCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.