db4o |

# Constraint Interface

constraint to limit the objects returned upon query execution .
Constraints are constructed by calling Query.constrain() .
Constraints can be joined with the methods com.db4o.query.Constraint.And and com.db4o.query.Constraint.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