public interface QLin<T>
| Modifier and Type | Method and Description |
|---|---|
QLin<T> |
equal(java.lang.Object obj) |
QLin<T> |
greater(java.lang.Object obj) |
QLin<T> |
limit(int size) |
QLin<T> |
orderBy(java.lang.Object expression,
QLinOrderByDirection direction)
orders the query by the expression.
|
ObjectSet<T> |
select()
executes the QLin query and returns the result
as an
ObjectSet. |
T |
single() |
T |
singleOrDefault(T defaultValue) |
QLin<T> |
smaller(java.lang.Object obj) |
QLin<T> |
startsWith(java.lang.String string) |
QLin<T> |
where(java.lang.Object expression)
adds a where node to this QLin query.
|
QLin<T> where(java.lang.Object expression)
expression - can be any of the following:ObjectSet<T> select()
ObjectSet.
Note that ObjectSet extends List and Iterable
on the platforms that support these interfaces.
You may want to use these interfaces instead of
working directly against an ObjectSet.QLin<T> orderBy(java.lang.Object expression, QLinOrderByDirection direction)
QLinSupport.ascending() and QLinSupport.descending()
helper methods to set the direction.T single()