Constructs query object constraints. The static methods provided
return query expressions that may be used in listing and
enumerating MBeans. Individual constraint construction methods
allow only appropriate types as arguments. Composition of calls can
construct arbitrary nestings of constraints, as the following
example illustrates:
Constructs query object constraints. The static methods provided return query expressions that may be used in listing and enumerating MBeans. Individual constraint construction methods allow only appropriate types as arguments. Composition of calls can construct arbitrary nestings of constraints, as the following example illustrates:
QueryExp exp = Query.and(Query.gt(Query.attr("age"),Query.value(5)), Query.match(Query.attr("name"), Query.value("Smith")));