T
- the value type used to create predicatespublic interface BasicOperand<T>
Modifier and Type | Method and Description |
---|---|
Predicate |
eq(BasicOperand<T> operand,
Predicate innerSelectPredicate)
Builds a predicate which tests that the value of the given operand is equal to a single match
of the given inner select predicate.
|
Predicate |
eq(Predicate innerSelectPredicate)
Builds a predicate which tests that the value is equal to a single match
of the given inner select predicate.
|
Predicate |
eq(T expectedValue)
Builds a predicate for a
value == expectedValue comparison. |
Predicate |
exists()
Builds a predicate that checks if the value exists.
|
QueryParameter |
getQueryParameter()
Returns the query parameter defining the value to be queried.
|
Predicate |
in(BasicOperand<T> operand,
Predicate innerSelectPredicate)
Builds a predicate which tests that the value of the given operand is contained in any of the given inner select predicate matches.
|
Predicate |
in(Collection<? extends T> possibleValues)
Builds a predicate which tests that the value is one of the possible values.
|
Predicate |
in(Predicate innerSelectPredicate)
Builds a predicate which tests that the value is contained in any of the given inner select predicate matches.
|
Predicate |
in(T possibleValue)
Builds a predicate which tests that the value is one of the possible values.
|
Predicate |
in(T possibleValue1,
T possibleValue2)
Builds a predicate which tests that the value is one of the possible values.
|
Predicate |
in(T possibleValue1,
T possibleValue2,
T possibleValue3)
Builds a predicate which tests that the value is one of the possible values.
|
Predicate |
in(T possibleValue1,
T possibleValue2,
T possibleValue3,
T... morePossibleValues)
Builds a predicate which tests that the value is one of the possible values.
|
Predicate |
isNotNull()
Builds a predicate for a
value ! |
Predicate |
isNull()
Builds a predicate for a
value == null comparison. |
Predicate |
notEq(T expectedValue)
Builds a predicate for a
value ! |
Predicate |
notIn(Collection<? extends T> possibleValues)
Builds a predicate which tests that the value is not one of the possible values.
|
Predicate |
notIn(T possibleValue)
Builds a predicate which tests that the value is not one of the possible values.
|
Predicate |
notIn(T possibleValue1,
T possibleValue2)
Builds a predicate which tests that the value is not one of the possible values.
|
Predicate |
notIn(T possibleValue1,
T possibleValue2,
T possibleValue3)
Builds a predicate which tests that the value is not one of the possible values.
|
Predicate |
notIn(T possibleValue1,
T possibleValue2,
T possibleValue3,
T... morePossibleValues)
Builds a predicate which tests that the value is not one of the possible values.
|
Ordering |
orderAsc()
Builds an ordering criterion which sorts by the operand value in ascending order.
|
Ordering |
orderDesc()
Builds an ordering criterion which sorts by the operand value in descending order.
|
QueryParameter getQueryParameter()
Returns the query parameter defining the value to be queried.
Predicate exists()
Builds a predicate that checks if the value exists.
For fields, this will always match. For variables it will match if a variable with the given name is present.
Predicate eq(T expectedValue)
Builds a predicate for a value == expectedValue
comparison.
expectedValue
- the expected value of the comparisonPredicate notEq(T expectedValue)
Builds a predicate for a value != expectedValue
comparison.
expectedValue
- the expected value of the comparisonPredicate eq(Predicate innerSelectPredicate)
Builds a predicate which tests that the value is equal to a single match of the given inner select predicate.
innerSelectPredicate
- the inner select predicatePredicate eq(BasicOperand<T> operand, Predicate innerSelectPredicate)
Builds a predicate which tests that the value of the given operand is equal to a single match of the given inner select predicate.
operand
- the operandinnerSelectPredicate
- the inner select predicatePredicate isNull()
Builds a predicate for a value == null
comparison.
Predicate isNotNull()
Builds a predicate for a value != null
comparison.
Predicate in(T possibleValue)
Builds a predicate which tests that the value is one of the possible values.
possibleValue
- the possible valuePredicate notIn(T possibleValue)
Builds a predicate which tests that the value is not one of the possible values.
possibleValue
- the possible valuePredicate in(T possibleValue1, T possibleValue2)
Builds a predicate which tests that the value is one of the possible values.
possibleValue1
- the first possible valuepossibleValue2
- the second possible valuePredicate notIn(T possibleValue1, T possibleValue2)
Builds a predicate which tests that the value is not one of the possible values.
possibleValue1
- the first possible valuepossibleValue2
- the second possible valuePredicate in(T possibleValue1, T possibleValue2, T possibleValue3)
Builds a predicate which tests that the value is one of the possible values.
possibleValue1
- the first possible valuepossibleValue2
- the second possible valuepossibleValue3
- the third possible valuePredicate notIn(T possibleValue1, T possibleValue2, T possibleValue3)
Builds a predicate which tests that the value is not one of the possible values.
possibleValue1
- the first possible valuepossibleValue2
- the second possible valuepossibleValue3
- the third possible valuePredicate in(T possibleValue1, T possibleValue2, T possibleValue3, T... morePossibleValues)
Builds a predicate which tests that the value is one of the possible values.
possibleValue1
- the first possible valuepossibleValue2
- the second possible valuepossibleValue3
- the third possible valuemorePossibleValues
- more possible valuesPredicate notIn(T possibleValue1, T possibleValue2, T possibleValue3, T... morePossibleValues)
Builds a predicate which tests that the value is not one of the possible values.
possibleValue1
- the first possible valuepossibleValue2
- the second possible valuepossibleValue3
- the third possible valuemorePossibleValues
- more possible valuesPredicate in(Collection<? extends T> possibleValues)
Builds a predicate which tests that the value is one of the possible values.
possibleValues
- a collection of possible valuesPredicate notIn(Collection<? extends T> possibleValues)
Builds a predicate which tests that the value is not one of the possible values.
possibleValues
- a collection of possible valuesPredicate in(Predicate innerSelectPredicate)
Builds a predicate which tests that the value is contained in any of the given inner select predicate matches.
innerSelectPredicate
- the inner select predicatePredicate in(BasicOperand<T> operand, Predicate innerSelectPredicate)
Builds a predicate which tests that the value of the given operand is contained in any of the given inner select predicate matches.
operand
- the operandinnerSelectPredicate
- the inner select predicateOrdering orderAsc()
Builds an ordering criterion which sorts by the operand value in ascending order.
Ordering orderDesc()
Builds an ordering criterion which sorts by the operand value in descending order.
Copyright © 2010 - 2017 edorasware ag. All Rights Reserved.