db4o

Query Interface

handle to a node in the query graph.

For a list of all members of this type, see Query Members.

[Visual Basic]
Public Interface Query
[C#]
public interface Query
[C++]
public __gc __interface Query
[JScript]
public interface Query

Remarks

handle to a node in the query graph.

A node in the query graph can represent multiple classes, one class or an attribute of a class.

The graph is automatically extended with attributes of added constraints (see com.db4o.query.Query.constrain ) and upon calls to descend() that request nodes that do not yet exist.

References to joined nodes in the query graph can be obtained by "walking" along the nodes of the graph with the method descend() .

com.db4o.query.Query.execute evaluates the entire graph against all persistent objects.

com.db4o.query.Query.execute can be called from any com.db4o.query.Query node of the graph. It will return an com.db4o.ObjectSet filled with objects of the class/classes that the node, it was called from, represents.

Requirements

Namespace: com.db4o.query

Assembly: db4o (in db4o.dll)

See Also

Query Members | com.db4o.query Namespace