db4o |

# Constraint Interface

constraint to limit the objects returned upon query execution .
Constraints are constructed by calling constrain .
Constraints can be joined with the methods and and or .
The methods to modify the constraint evaluation algorithm may be merged, to construct combined evaluation rules. Examples:

-     Constraint#smaller().equal()

  for "smaller or equal"

-     Constraint#not().like()

  for "not like"

-     Constraint#not().greater().equal()

  for "not greater or equal"

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

com.db4o.query.Constraint
com.db4o.query.Constraints

public interface Constraint

#### Requirements

Namespace: com.db4o.query

Assembly: db4o (in db4o.dll)

#### See Also

Constraint Members | com.db4o.query Namespace