E - the type of value that the query yields, which is either implied by the factory method used or
inferred from the NamedEntityBuilder that was supplied to itpublic static class Select.WhereContext<E> extends Select.WhereClauseAwareContext<E>
.where and .orderBy clauses.
As a readability aid, most .whereX clauses my also be specified with a {.andX} clause after the
first one has been specified.
SelectQuery.ExecutionContext<E>queryBuilder| Modifier and Type | Method and Description |
|---|---|
Select.WhereContext<E> |
andCondition(org.ofbiz.core.entity.EntityCondition condition) |
Select.WhereContext<E> |
andEqual(String field,
Long value) |
Select.WhereContext<E> |
andEqual(String field,
String value) |
Select.WhereContext<E> |
andLike(String field,
String pattern) |
Select.OrderByContext<E> |
orderBy(String... orderByColumns)
Specifies the ordering for the return values.
|
Select.WhereContext<E> |
where(String fieldName,
org.ofbiz.core.entity.EntityOperator operator,
Long value) |
Select.WhereContext<E> |
whereCondition(org.ofbiz.core.entity.EntityCondition condition) |
Select.WhereContext<E> |
whereEqual(String fieldName,
Long value) |
Select.WhereContext<E> |
whereEqual(String fieldName,
String value) |
byId, whereLike, whereNullrunWith, runWithpublic Select.WhereContext<E> whereEqual(String fieldName, String value)
whereEqual in class Select.WhereClauseAwareContext<E>public Select.WhereContext<E> whereEqual(String fieldName, Long value)
whereEqual in class Select.WhereClauseAwareContext<E>public Select.WhereContext<E> where(String fieldName, org.ofbiz.core.entity.EntityOperator operator, Long value)
where in class Select.WhereClauseAwareContext<E>public Select.WhereContext<E> whereCondition(org.ofbiz.core.entity.EntityCondition condition)
whereCondition in class Select.WhereClauseAwareContext<E>public Select.WhereContext<E> andEqual(String field, String value)
public Select.WhereContext<E> andEqual(String field, Long value)
public Select.WhereContext<E> andLike(String field, String pattern)
public Select.WhereContext<E> andCondition(org.ofbiz.core.entity.EntityCondition condition)
public Select.OrderByContext<E> orderBy(String... orderByColumns)
LIMIT
for the query, as some databases cannot enumerate the returned rows except in the context of a well
defined ordering (and which rows get returned would not be reliable without it, anyway).orderBy in class Select.WhereClauseAwareContext<E>orderByColumns - one or more columns by which to order the results.limit to continue building the query or
.runWith to complete it by specifying an execution method.Copyright © 2002-2022 Atlassian. All Rights Reserved.