public class VersionOperand extends NumberOperandImpl<Integer,Integer>
BasicOperandImpl.InnerSelectReferenceValue| Constructor and Description |
|---|
VersionOperand(QueryParameter queryParameter)
Creates a new operand instance.
|
| Modifier and Type | Method and Description |
|---|---|
Predicate |
latest()
Builds a predicate representing a
version = max(all version values) comparison. |
Predicate |
latest(Predicate aggregationPredicate)
Builds a predicate representing a
version = max(all version values matching aggregationPredicate) comparison. |
greaterThan, greaterThanOrEq, lessThan, lessThanOrEqeq, eq, eq, exists, getQueryParameter, in, in, in, in, in, in, in, isNotNull, isNull, notEq, notIn, notIn, notIn, notIn, notIn, orderAsc, orderDescpublic VersionOperand(QueryParameter queryParameter)
Creates a new operand instance.
queryParameter - the left operand for all predicates to be builtpublic Predicate latest()
Builds a predicate representing a version = max(all version values) comparison.
public Predicate latest(Predicate aggregationPredicate)
Builds a predicate representing a version = max(all version values matching aggregationPredicate) comparison.
aggregationPredicate - the predicate determining which values to use for the 'max' aggregationCopyright © 2010 - 2019 edorasware ag. All Rights Reserved.