public class StringOperandImpl<T> extends BasicOperandImpl<T,String> implements StringOperand<T>
Default implementation of the StringOperand
interface.
BasicOperandImpl.InnerSelectReferenceValue
Constructor and Description |
---|
StringOperandImpl(QueryParameter queryParameter,
ConstructionInterceptor<T,String> constructionInterceptor)
Creates a new operand instance.
|
Modifier and Type | Method and Description |
---|---|
Predicate |
like(T expectedValue)
Builds a predicate for a
queryParameter LIKE expectedValue comparison. |
Predicate |
notLike(T expectedValue)
Builds a predicate for a
NOT(queryParameter LIKE expectedValue) comparison. |
eq, eq, eq, exists, getQueryParameter, in, in, in, in, in, in, in, isNotNull, isNull, notEq, notIn, notIn, notIn, notIn, notIn, orderAsc, orderDesc
public StringOperandImpl(QueryParameter queryParameter, ConstructionInterceptor<T,String> constructionInterceptor)
Creates a new operand instance.
queryParameter
- the left operand for all predicates to be builtconstructionInterceptor
- the interceptor to be invoked upon construction of predicatespublic Predicate like(T expectedValue)
StringOperand
Builds a predicate for a queryParameter LIKE expectedValue
comparison.
like
in interface StringOperand<T>
expectedValue
- the expected value (may contain "*"
wildcards, e.g. "wild*rd"
)public Predicate notLike(T expectedValue)
StringOperand
Builds a predicate for a NOT(queryParameter LIKE expectedValue)
comparison.
notLike
in interface StringOperand<T>
expectedValue
- the expected value (may contain "*"
wildcards, e.g. "wild*rd"
)Copyright © 2010 - 2019 edorasware ag. All Rights Reserved.