db4o

ObjectContainer.Query Method (Predicate, QueryComparator)

Native Query Interface.

ObjectSet Query(
   Predicate predicate,
   QueryComparator comparator
);

Parameters

predicate
the com.db4o.query.Predicate containing the native query expression.
comparator
the com.db4o.query.QueryComparator specifiying the sort order of the result

Return Value

the com.db4o.ObjectSet returned by the query.

Remarks

Native Query Interface. Queries as with com.db4o.ObjectContainer.Query(Predicate) , but will sort the resulting com.db4o.ObjectSet according to the given com.db4o.query.QueryComparator .

See Also

ObjectContainer Interface | com.db4o Namespace | ObjectContainer.Query Overload List