API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.management. Query View Source
Author(s)
Since
1.5
Version
Serial
Hierarchy
 Object
      Query
Implements
Subclasses
Description
public class Query
  Constructs query object constraints.
See also:   
Constructors
public Query ()
Basic constructor.
Methods
Hide/Show inherited methods
publicstatic QueryExp and (QueryExp q1, QueryExp q2)
  Returns a query expression that is the conjunction of two other query expressions.
publicstatic QueryExp anySubString (AttributeValueExp a, StringValueExp s)
  Returns a query expression that represents a matching constraint on a string argument.
publicstatic AttributeValueExp attr (String name)
  Returns a new attribute expression.
publicstatic AttributeValueExp attr (String className, String name)
  Returns a new qualified attribute expression.
publicstatic QueryExp between (ValueExp v1, ValueExp v2, ValueExp v3)
  Returns a query expression that represents the constraint that one value is between two other values.
publicstatic AttributeValueExp classattr ()
  Returns a new class attribute expression which can be used in any Query call that expects a ValueExp.
publicstatic ValueExp div (ValueExp value1, ValueExp value2)
  Returns a binary expression representing the quotient of two numeric values.
publicstatic QueryExp eq (ValueExp v1, ValueExp v2)
  Returns a query expression that represents an equality constraint on two values.
publicstatic QueryExp finalSubString (AttributeValueExp a, StringValueExp s)
  Returns a query expression that represents a matching constraint on a string argument.
publicstatic QueryExp geq (ValueExp v1, ValueExp v2)
  Returns a query expression that represents a "greater than or equal to" constraint on two values.
publicstatic QueryExp gt (ValueExp v1, ValueExp v2)
  Returns a query expression that represents a "greater than" constraint on two values.
publicstatic QueryExp in (ValueExp val, ValueExp valueList)
  Returns an expression constraining a value to be one of an explicit list.
publicstatic QueryExp initialSubString (AttributeValueExp a, StringValueExp s)
  Returns a query expression that represents a matching constraint on a string argument.
publicstatic QueryExp isInstanceOf (StringValueExp classNameValue)
  Returns a query expression that represents an inheritance constraint on an MBean class.
publicstatic QueryExp leq (ValueExp v1, ValueExp v2)
  Returns a query expression that represents a "less than or equal to" constraint on two values.
publicstatic QueryExp lt (ValueExp v1, ValueExp v2)
  Returns a query expression that represents a "less than" constraint on two values.
publicstatic QueryExp match (AttributeValueExp a, StringValueExp s)
  Returns a query expression that represents a matching constraint on a string argument.
publicstatic ValueExp minus (ValueExp value1, ValueExp value2)
  Returns a binary expression representing the difference between two numeric values.
publicstatic QueryExp not (QueryExp queryExp)
  Returns a constraint that is the negation of its argument.
publicstatic QueryExp or (QueryExp q1, QueryExp q2)
  Returns a query expression that is the disjunction of two other query expressions.
publicstatic ValueExp plus (ValueExp value1, ValueExp value2)
  Returns a binary expression representing the sum of two numeric values, or the concatenation of two string values.
publicstatic ValueExp times (ValueExp value1, ValueExp value2)
  Returns a binary expression representing the product of two numeric values.
publicstatic ValueExp value (boolean val)
  Returns a boolean value expression that can be used in any Query call that expects a ValueExp.
publicstatic ValueExp value (double val)
  Returns a numeric value expression that can be used in any Query call that expects a ValueExp.
publicstatic ValueExp value (float val)
  Returns a numeric value expression that can be used in any Query call that expects a ValueExp.
publicstatic ValueExp value (int val)
  Returns a numeric value expression that can be used in any Query call that expects a ValueExp.
publicstatic ValueExp value (long val)
  Returns a numeric value expression that can be used in any Query call that expects a ValueExp.
publicstatic ValueExp value (Number val)
  Returns a numeric value expression that can be used in any Query call that expects a ValueExp.
publicstatic StringValueExp value (String val)
  Returns a new string expression.
Fields
Hide/Show inherited fields
publicfinalstatic int DIV = "3"
publicfinalstatic int EQ = "4"
publicfinalstatic int GE = "2"
publicfinalstatic int GT = "0"
publicfinalstatic int LE = "3"
publicfinalstatic int LT = "1"
publicfinalstatic int MINUS = "1"
publicfinalstatic int PLUS = "0"
publicfinalstatic int TIMES = "2"
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar