public final class VersionOperand extends NumberOperand<Integer>
BasicOperand.InnerSelectReferenceValue
constructionInterceptor, queryParameter
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, lessThanOrEq
public VersionOperand(QueryParameter queryParameter)
queryParameter
- the left operand for all predicates to be builtpublic Predicate latest()
version = max(all version values)
comparison.public Predicate latest(Predicate aggregationPredicate)
version = max(all version values matching aggregationPredicate)
comparison.aggregationPredicate
- the predicate determining which values to use for the 'max' aggregationCopyright © 2010 - 2018 edorasware ag. All Rights Reserved.