In order to construct a new {@link QueryByCriteria}, the {@link Builder}
should be used. Use the {@link PredicateFactory} to construct
the predicate for use by the query.
This class specifies nothing regarding how the query will be executed.
It is expected that an instance will be constructed and then passed to code
which understands how to execute the desired query.
This class is mapped for use by JAXB and can therefore be used by clients
as part of remotable service definitions.
ShortName | Name | Type | Description | Required? | Read only? | Cardinality | XML Attribute? | Implementation Notes |
---|---|---|---|---|---|---|---|---|
predicate | Predicate | Predicate | Returns the {@link Predicate} which will be used to execute the query. | One | No | |||
startAtIndex | Start At Index | Integer | Returns the optional zero-based "start" index for rows returned. When this query is executed, this property should be read to determine the first row which should be returned. If the given index is beyond the end of the result set, then the resulting query should effectively return no rows (as opposed to producing an index-based out of bounds error). If the value is null, then the results should start with the first row returned from the query.
|
One | No | |||
maxResults | Max Results | Integer | Returns the maximum number of results that this query is requesting to receive. If null, then the query should return all rows, or as many as it can. If the number request is larger than the number of results then all results are returned.
|
One | No | |||
countFlag | Count Flag | CountFlag | Indicates whether or not a total row count should be returned with the query. See {@link CountFlag} for more information on what each of these flags means. This will never return null and defaults to {@link CountFlag#NONE}. |
Required | One | No |