|
db4o 8.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface QLin<T>
a node in a QLin ("Coolin") query. QLin is a new experimental query interface. We would really like to have LINQ for Java instead.
Method Summary | |
---|---|
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,
com.db4o.qlin.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. |
Method Detail |
---|
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> equal(java.lang.Object obj)
QLin<T> startsWith(java.lang.String string)
QLin<T> limit(int size)
QLin<T> smaller(java.lang.Object obj)
QLin<T> greater(java.lang.Object obj)
QLin<T> orderBy(java.lang.Object expression, com.db4o.qlin.QLinOrderByDirection direction)
QLinSupport.ascending()
and QLinSupport.descending()
helper methods to set the direction.
T singleOrDefault(T defaultValue)
T single()
|
db4o 8.0 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |