public class QueryBuilder.WhereBuilder extends Object implements QueryBuilderInterface.WhereBuilderInterface<QueryT>
Constructor and Description |
---|
WhereBuilder(String field)
Construct the WHERE builder with the specified field.
|
Modifier and Type | Method and Description |
---|---|
QueryBuilderInterface<QueryT> |
contains(String propertyValue)
Adds the predicate CONTAINS to the query for the given value.
|
QueryBuilderInterface<QueryT> |
containsAll(double... values)
Adds the predicate CONTAINS_ALL to the query for the given set of values.
|
QueryBuilderInterface<QueryT> |
containsAll(int... values)
Adds the predicate CONTAINS_ALL to the query for the given set of values.
|
QueryBuilderInterface<QueryT> |
containsAll(long... values)
Adds the predicate CONTAINS_ALL to the query for the given set of values.
|
QueryBuilderInterface<QueryT> |
containsAll(String... values)
Adds the predicate CONTAINS_ALL to the query for the given set of values.
|
QueryBuilderInterface<QueryT> |
containsAny(double... values)
Adds the predicate CONTAINS_ANY to the query for the given set of values.
|
QueryBuilderInterface<QueryT> |
containsAny(int... values)
Adds the predicate CONTAINS_ANY to the query for the given set of values.
|
QueryBuilderInterface<QueryT> |
containsAny(long... values)
Adds the predicate CONTAINS_ANY to the query for the given set of values.
|
QueryBuilderInterface<QueryT> |
containsAny(String... values)
Adds the predicate CONTAINS_ANY to the query for the given set of values.
|
QueryBuilderInterface<QueryT> |
containsIgnoreCase(String propertyValue)
Adds the predicate CONTAINS_IGNORE_CASE to the query for the given value.
|
QueryBuilderInterface<QueryT> |
containsNone(double... values)
Adds the predicate CONTAINS_NONE to the query for the given set of values.
|
QueryBuilderInterface<QueryT> |
containsNone(int... values)
Adds the predicate CONTAINS_NONE to the query for the given set of values.
|
QueryBuilderInterface<QueryT> |
containsNone(long... values)
Adds the predicate CONTAINS_NONE to the query for the given set of values.
|
QueryBuilderInterface<QueryT> |
containsNone(String... values)
Adds the predicate CONTAINS_NONE to the query for the given set of values.
|
QueryBuilderInterface<QueryT> |
doesNotContain(String propertyValue)
Adds the predicate DOES_NOT_CONTAIN to the query for the given value.
|
QueryBuilderInterface<QueryT> |
doesNotContainIgnoreCase(String propertyValue)
Adds the predicate DOES_NOT_CONTAIN_IGNORE_CASE to the query for the given value.
|
QueryBuilderInterface<QueryT> |
equalTo(boolean propertyValue)
Adds the predicate EQUAL_TO to the query for the given value.
|
QueryBuilderInterface<QueryT> |
equalTo(int propertyValue)
Adds the predicate EQUAL_TO to the query for the given value.
|
QueryBuilderInterface<QueryT> |
equalTo(long propertyValue)
Adds the predicate EQUAL_TO to the query for the given value.
|
QueryBuilderInterface<QueryT> |
equalTo(String propertyValue)
Adds the predicate EQUAL_TO to the query for the given value.
|
QueryBuilderInterface<QueryT> |
greaterThan(double propertyValue)
Adds the predicate GREATER_THAN to the query for the given value.
|
QueryBuilderInterface<QueryT> |
greaterThan(int propertyValue)
Adds the predicate GREATER_THAN to the query for the given value.
|
QueryBuilderInterface<QueryT> |
greaterThan(long propertyValue)
Adds the predicate GREATER_THAN to the query for the given value.
|
QueryBuilderInterface<QueryT> |
greaterThanOrEqualTo(double propertyValue)
Adds the predicate GREATER_THAN_OR_EQUAL_TO to the query for the given value.
|
QueryBuilderInterface<QueryT> |
greaterThanOrEqualTo(int propertyValue)
Adds the predicate GREATER_THAN_OR_EQUAL_TO to the query for the given value.
|
QueryBuilderInterface<QueryT> |
greaterThanOrEqualTo(long propertyValue)
Adds the predicate GREATER_THAN_OR_EQUAL_TO to the query for the given value.
|
QueryBuilderInterface<QueryT> |
in(boolean... values)
Adds the predicate IN to the query for the given set of values.
|
QueryBuilderInterface<QueryT> |
in(double... values)
Adds the predicate IN to the query for the given set of values.
|
QueryBuilderInterface<QueryT> |
in(int... values)
Adds the predicate IN to the query for the given set of values.
|
QueryBuilderInterface<QueryT> |
in(long... values)
Adds the predicate IN to the query for the given set of values.
|
QueryBuilderInterface<QueryT> |
in(String... values)
Adds the predicate IN to the query for the given set of values.
|
QueryBuilderInterface<QueryT> |
lessThan(double propertyValue)
Adds the predicate LESS_THAN to the query for the given value.
|
QueryBuilderInterface<QueryT> |
lessThan(int propertyValue)
Adds the predicate LESS_THAN to the query for the given value.
|
QueryBuilderInterface<QueryT> |
lessThan(long propertyValue)
Adds the predicate LESS_THAN to the query for the given value.
|
QueryBuilderInterface<QueryT> |
lessThanOrEqualTo(double propertyValue)
Adds the predicate LESS_THAN_OR_EQUAL_TO to the query for the given value.
|
QueryBuilderInterface<QueryT> |
lessThanOrEqualTo(int propertyValue)
Adds the predicate LESS_THAN_OR_EQUAL_TO to the query for the given value.
|
QueryBuilderInterface<QueryT> |
lessThanOrEqualTo(long propertyValue)
Adds the predicate LESS_THAN_OR_EQUAL_TO to the query for the given value.
|
QueryBuilderInterface<QueryT> |
notEqualTo(boolean propertyValue)
Adds the predicate NOT_EQUAL_TO to the query for the given value.
|
QueryBuilderInterface<QueryT> |
notEqualTo(int propertyValue)
Adds the predicate NOT_EQUAL_TO to the query for the given value.
|
QueryBuilderInterface<QueryT> |
notEqualTo(long propertyValue)
Adds the predicate NOT_EQUAL_TO to the query for the given value.
|
QueryBuilderInterface<QueryT> |
notEqualTo(String propertyValue)
Adds the predicate NOT_EQUAL_TO to the query for the given value.
|
QueryBuilderInterface<QueryT> |
notIn(boolean... values)
Adds the predicate NOT_IN to the query for the given set of values.
|
QueryBuilderInterface<QueryT> |
notIn(double... values)
Adds the predicate NOT_IN to the query for the given set of values.
|
QueryBuilderInterface<QueryT> |
notIn(int... values)
Adds the predicate NOT_IN to the query for the given set of values.
|
QueryBuilderInterface<QueryT> |
notIn(long... values)
Adds the predicate NOT_IN to the query for the given set of values.
|
QueryBuilderInterface<QueryT> |
notIn(String... values)
Adds the predicate NOT_IN to the query for the given set of values.
|
QueryBuilderInterface<QueryT> |
startsWith(String propertyValue)
Adds the predicate STARTS_WITH to the query for the given value.
|
QueryBuilderInterface<QueryT> |
startsWithIgnoreCase(String propertyValue)
Adds the predicate STARTS_WITH_IGNORE_CASE to the query for the given value.
|
String |
toString() |
public WhereBuilder(String field)
field
- the field to create the predicate forpublic final QueryBuilderInterface<QueryT> equalTo(String propertyValue)
QueryBuilderInterface.WhereBuilderInterface
equalTo
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
propertyValue
- the property value as a String independently of the field type. The
caller should take care of the formatting if it is necessarypublic final QueryBuilderInterface<QueryT> equalTo(int propertyValue)
QueryBuilderInterface.WhereBuilderInterface
equalTo
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
propertyValue
- the property value as a integer independently of the field typepublic final QueryBuilderInterface<QueryT> equalTo(long propertyValue)
QueryBuilderInterface.WhereBuilderInterface
equalTo
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
propertyValue
- the property value as a long independently of the field typepublic final QueryBuilderInterface<QueryT> equalTo(boolean propertyValue)
QueryBuilderInterface.WhereBuilderInterface
equalTo
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
propertyValue
- the property value as a boolean independently of the field typepublic final QueryBuilderInterface<QueryT> notEqualTo(String propertyValue)
QueryBuilderInterface.WhereBuilderInterface
notEqualTo
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
propertyValue
- the property value as a String independently of the field type. The
caller should take care of the formatting if it is necessarypublic final QueryBuilderInterface<QueryT> notEqualTo(int propertyValue)
QueryBuilderInterface.WhereBuilderInterface
notEqualTo
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
propertyValue
- the property value as a integer independently of the field typepublic final QueryBuilderInterface<QueryT> notEqualTo(long propertyValue)
QueryBuilderInterface.WhereBuilderInterface
notEqualTo
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
propertyValue
- the property value as a long independently of the field typepublic final QueryBuilderInterface<QueryT> notEqualTo(boolean propertyValue)
QueryBuilderInterface.WhereBuilderInterface
notEqualTo
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
propertyValue
- the property value as a boolean independently of the field typepublic final QueryBuilderInterface<QueryT> contains(String propertyValue)
QueryBuilderInterface.WhereBuilderInterface
contains
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
propertyValue
- the property value as a String independently of the field type. The
caller should take care of the formatting if it is necessarypublic final QueryBuilderInterface<QueryT> containsIgnoreCase(String propertyValue)
QueryBuilderInterface.WhereBuilderInterface
containsIgnoreCase
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
propertyValue
- the property value as a String independently of the field type. The
caller should take care of the formatting if it is necessarypublic final QueryBuilderInterface<QueryT> doesNotContain(String propertyValue)
QueryBuilderInterface.WhereBuilderInterface
doesNotContain
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
propertyValue
- the property value as a String independently of the field type. The
caller should take care of the formatting if it is necessarypublic final QueryBuilderInterface<QueryT> doesNotContainIgnoreCase(String propertyValue)
QueryBuilderInterface.WhereBuilderInterface
doesNotContainIgnoreCase
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
propertyValue
- the property value as a String independently of the field type. The
caller should take care of the formatting if it is necessarypublic final QueryBuilderInterface<QueryT> greaterThan(long propertyValue)
QueryBuilderInterface.WhereBuilderInterface
greaterThan
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> greaterThan(int propertyValue)
QueryBuilderInterface.WhereBuilderInterface
greaterThan
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> greaterThan(double propertyValue)
QueryBuilderInterface.WhereBuilderInterface
greaterThan
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> greaterThanOrEqualTo(long propertyValue)
QueryBuilderInterface.WhereBuilderInterface
greaterThanOrEqualTo
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> greaterThanOrEqualTo(int propertyValue)
QueryBuilderInterface.WhereBuilderInterface
greaterThanOrEqualTo
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> greaterThanOrEqualTo(double propertyValue)
QueryBuilderInterface.WhereBuilderInterface
greaterThanOrEqualTo
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> lessThan(long propertyValue)
QueryBuilderInterface.WhereBuilderInterface
lessThan
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> lessThan(int propertyValue)
QueryBuilderInterface.WhereBuilderInterface
lessThan
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> lessThan(double propertyValue)
QueryBuilderInterface.WhereBuilderInterface
lessThan
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> lessThanOrEqualTo(long propertyValue)
QueryBuilderInterface.WhereBuilderInterface
lessThanOrEqualTo
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> lessThanOrEqualTo(int propertyValue)
QueryBuilderInterface.WhereBuilderInterface
lessThanOrEqualTo
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> lessThanOrEqualTo(double propertyValue)
QueryBuilderInterface.WhereBuilderInterface
lessThanOrEqualTo
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> startsWith(String propertyValue)
QueryBuilderInterface.WhereBuilderInterface
startsWith
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
propertyValue
- the property value as a String independently of the field type. The
caller should take care of the formatting if it is necessarypublic final QueryBuilderInterface<QueryT> startsWithIgnoreCase(String propertyValue)
QueryBuilderInterface.WhereBuilderInterface
startsWithIgnoreCase
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
propertyValue
- the property value as a String independently of the field type. The
caller should take care of the formatting if it is necessarypublic final QueryBuilderInterface<QueryT> in(String... values)
QueryBuilderInterface.WhereBuilderInterface
in
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> in(int... values)
QueryBuilderInterface.WhereBuilderInterface
in
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> in(long... values)
QueryBuilderInterface.WhereBuilderInterface
in
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> in(double... values)
QueryBuilderInterface.WhereBuilderInterface
in
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> in(boolean... values)
QueryBuilderInterface.WhereBuilderInterface
in
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> notIn(String... values)
QueryBuilderInterface.WhereBuilderInterface
notIn
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> notIn(int... values)
QueryBuilderInterface.WhereBuilderInterface
notIn
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> notIn(long... values)
QueryBuilderInterface.WhereBuilderInterface
notIn
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> notIn(double... values)
QueryBuilderInterface.WhereBuilderInterface
notIn
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> notIn(boolean... values)
QueryBuilderInterface.WhereBuilderInterface
notIn
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> containsAny(String... values)
QueryBuilderInterface.WhereBuilderInterface
containsAny
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> containsAny(int... values)
QueryBuilderInterface.WhereBuilderInterface
containsAny
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> containsAny(long... values)
QueryBuilderInterface.WhereBuilderInterface
containsAny
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> containsAny(double... values)
QueryBuilderInterface.WhereBuilderInterface
containsAny
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> containsAll(String... values)
QueryBuilderInterface.WhereBuilderInterface
containsAll
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> containsAll(int... values)
QueryBuilderInterface.WhereBuilderInterface
containsAll
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> containsAll(long... values)
QueryBuilderInterface.WhereBuilderInterface
containsAll
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> containsAll(double... values)
QueryBuilderInterface.WhereBuilderInterface
containsAll
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> containsNone(String... values)
QueryBuilderInterface.WhereBuilderInterface
containsNone
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> containsNone(int... values)
QueryBuilderInterface.WhereBuilderInterface
containsNone
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> containsNone(long... values)
QueryBuilderInterface.WhereBuilderInterface
containsNone
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
public final QueryBuilderInterface<QueryT> containsNone(double... values)
QueryBuilderInterface.WhereBuilderInterface
containsNone
in interface QueryBuilderInterface.WhereBuilderInterface<QueryT>
Copyright © 2018. All Rights Reserved.