Configure CertificateCheckUrl per container for curl-like TLS checks, classify Sonic permission errors, and extend setup wizard for container management. Co-authored-by: Cursor <cursoragent@cursor.com>
1170 lines
54 KiB
HTML
1170 lines
54 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<!--NewPage-->
|
|
<HTML>
|
|
<HEAD>
|
|
<!-- Generated by javadoc (build 1.5.0_19) on Fri Aug 12 11:25:11 EDT 2011 -->
|
|
<TITLE>
|
|
Query (Management Application API)
|
|
</TITLE>
|
|
|
|
<META NAME="keywords" CONTENT="javax.management.Query class">
|
|
|
|
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style">
|
|
|
|
<SCRIPT type="text/javascript">
|
|
function windowTitle()
|
|
{
|
|
parent.document.title="Query (Management Application API)";
|
|
}
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
</NOSCRIPT>
|
|
|
|
</HEAD>
|
|
|
|
<BODY BGCOLOR="white" onload="windowTitle();">
|
|
|
|
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<A NAME="navbar_top"><!-- --></A>
|
|
<A HREF="Query.html#skip-navbar_top" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_top_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
Sonic Management API</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="PersistentMBean.html" title="interface in javax.management"><B>PREV CLASS</B></A>
|
|
<A HREF="QueryEval.html" title="class in javax.management"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../index.html@javax%252Fmanagement%252FQuery.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="Query.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: NESTED | <A HREF="Query.html#field_summary">FIELD</A> | <A HREF="Query.html#constructor_summary">CONSTR</A> | <A HREF="Query.html#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: <A HREF="Query.html#field_detail">FIELD</A> | <A HREF="Query.html#constructor_detail">CONSTR</A> | <A HREF="Query.html#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_top"></A>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
|
|
<HR>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<H2>
|
|
<FONT SIZE="-1">
|
|
javax.management</FONT>
|
|
<BR>
|
|
Class Query</H2>
|
|
<PRE>
|
|
java.lang.Object
|
|
<IMG SRC="../../resources/inherit.gif" ALT="extended by "><B>javax.management.Query</B>
|
|
</PRE>
|
|
<HR>
|
|
<DL>
|
|
<DT><PRE>public class <B>Query</B><DT>extends java.lang.Object</DL>
|
|
</PRE>
|
|
|
|
<P>
|
|
<p>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:</p>
|
|
|
|
<pre>
|
|
QueryExp exp = Query.and(Query.gt(Query.attr("age"),Query.value(5)),
|
|
Query.match(Query.attr("name"),
|
|
Query.value("Smith")));
|
|
</pre>
|
|
<P>
|
|
|
|
<P>
|
|
<HR>
|
|
|
|
<P>
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
|
|
<A NAME="field_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Field Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#DIV">DIV</A></B></CODE>
|
|
|
|
<BR>
|
|
A code representing the <A HREF="Query.html#div(javax.management.ValueExp, javax.management.ValueExp)"><CODE>div(javax.management.ValueExp, javax.management.ValueExp)</CODE></A> expression.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#EQ">EQ</A></B></CODE>
|
|
|
|
<BR>
|
|
A code representing the <A HREF="Query.html#eq(javax.management.ValueExp, javax.management.ValueExp)"><CODE>eq(javax.management.ValueExp, javax.management.ValueExp)</CODE></A> query.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#GE">GE</A></B></CODE>
|
|
|
|
<BR>
|
|
A code representing the <A HREF="Query.html#geq(javax.management.ValueExp, javax.management.ValueExp)"><CODE>geq(javax.management.ValueExp, javax.management.ValueExp)</CODE></A> query.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#GT">GT</A></B></CODE>
|
|
|
|
<BR>
|
|
A code representing the <A HREF="Query.html#gt(javax.management.ValueExp, javax.management.ValueExp)"><CODE>gt(javax.management.ValueExp, javax.management.ValueExp)</CODE></A> query.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#LE">LE</A></B></CODE>
|
|
|
|
<BR>
|
|
A code representing the <A HREF="Query.html#leq(javax.management.ValueExp, javax.management.ValueExp)"><CODE>leq(javax.management.ValueExp, javax.management.ValueExp)</CODE></A> query.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#LT">LT</A></B></CODE>
|
|
|
|
<BR>
|
|
A code representing the <A HREF="Query.html#lt(javax.management.ValueExp, javax.management.ValueExp)"><CODE>lt(javax.management.ValueExp, javax.management.ValueExp)</CODE></A> query.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#MINUS">MINUS</A></B></CODE>
|
|
|
|
<BR>
|
|
A code representing the <A HREF="Query.html#minus(javax.management.ValueExp, javax.management.ValueExp)"><CODE>minus(javax.management.ValueExp, javax.management.ValueExp)</CODE></A> expression.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#PLUS">PLUS</A></B></CODE>
|
|
|
|
<BR>
|
|
A code representing the <A HREF="Query.html#plus(javax.management.ValueExp, javax.management.ValueExp)"><CODE>plus(javax.management.ValueExp, javax.management.ValueExp)</CODE></A> expression.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static int</CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#TIMES">TIMES</A></B></CODE>
|
|
|
|
<BR>
|
|
A code representing the <A HREF="Query.html#times(javax.management.ValueExp, javax.management.ValueExp)"><CODE>times(javax.management.ValueExp, javax.management.ValueExp)</CODE></A> expression.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
|
|
|
<A NAME="constructor_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Constructor Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE><B><A HREF="Query.html#Query()">Query</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Basic constructor.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<!-- ========== METHOD SUMMARY =========== -->
|
|
|
|
<A NAME="method_summary"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
|
|
<B>Method Summary</B></FONT></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#and(javax.management.QueryExp, javax.management.QueryExp)">and</A></B>(<A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A> q1,
|
|
<A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A> q2)</CODE>
|
|
|
|
<BR>
|
|
Returns a query expression that is the conjunction of two other query
|
|
expressions.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#anySubString(javax.management.AttributeValueExp, javax.management.StringValueExp)">anySubString</A></B>(<A HREF="AttributeValueExp.html" title="class in javax.management">AttributeValueExp</A> a,
|
|
<A HREF="StringValueExp.html" title="class in javax.management">StringValueExp</A> s)</CODE>
|
|
|
|
<BR>
|
|
Returns a query expression that represents a matching constraint on
|
|
a string argument.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="AttributeValueExp.html" title="class in javax.management">AttributeValueExp</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#attr(java.lang.String)">attr</A></B>(java.lang.String name)</CODE>
|
|
|
|
<BR>
|
|
Returns a new attribute expression.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="AttributeValueExp.html" title="class in javax.management">AttributeValueExp</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#attr(java.lang.String, java.lang.String)">attr</A></B>(java.lang.String className,
|
|
java.lang.String name)</CODE>
|
|
|
|
<BR>
|
|
Returns a new qualified attribute expression.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#between(javax.management.ValueExp, javax.management.ValueExp, javax.management.ValueExp)">between</A></B>(<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> v1,
|
|
<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> v2,
|
|
<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> v3)</CODE>
|
|
|
|
<BR>
|
|
Returns a query expression that represents the constraint that one
|
|
value is between two other values.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="AttributeValueExp.html" title="class in javax.management">AttributeValueExp</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#classattr()">classattr</A></B>()</CODE>
|
|
|
|
<BR>
|
|
Returns a new class attribute expression which can be used in any
|
|
Query call that expects a ValueExp.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#div(javax.management.ValueExp, javax.management.ValueExp)">div</A></B>(<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> value1,
|
|
<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> value2)</CODE>
|
|
|
|
<BR>
|
|
Returns a binary expression representing the quotient of two numeric
|
|
values.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#eq(javax.management.ValueExp, javax.management.ValueExp)">eq</A></B>(<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> v1,
|
|
<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> v2)</CODE>
|
|
|
|
<BR>
|
|
Returns a query expression that represents an equality constraint on
|
|
two values.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#finalSubString(javax.management.AttributeValueExp, javax.management.StringValueExp)">finalSubString</A></B>(<A HREF="AttributeValueExp.html" title="class in javax.management">AttributeValueExp</A> a,
|
|
<A HREF="StringValueExp.html" title="class in javax.management">StringValueExp</A> s)</CODE>
|
|
|
|
<BR>
|
|
Returns a query expression that represents a matching constraint on
|
|
a string argument.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#geq(javax.management.ValueExp, javax.management.ValueExp)">geq</A></B>(<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> v1,
|
|
<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> v2)</CODE>
|
|
|
|
<BR>
|
|
Returns a query expression that represents a "greater than or equal
|
|
to" constraint on two values.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#gt(javax.management.ValueExp, javax.management.ValueExp)">gt</A></B>(<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> v1,
|
|
<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> v2)</CODE>
|
|
|
|
<BR>
|
|
Returns a query expression that represents a "greater than" constraint on
|
|
two values.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#in(javax.management.ValueExp, javax.management.ValueExp[])">in</A></B>(<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> val,
|
|
<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A>[] valueList)</CODE>
|
|
|
|
<BR>
|
|
Returns an expression constraining a value to be one of an explicit list.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#initialSubString(javax.management.AttributeValueExp, javax.management.StringValueExp)">initialSubString</A></B>(<A HREF="AttributeValueExp.html" title="class in javax.management">AttributeValueExp</A> a,
|
|
<A HREF="StringValueExp.html" title="class in javax.management">StringValueExp</A> s)</CODE>
|
|
|
|
<BR>
|
|
Returns a query expression that represents a matching constraint on
|
|
a string argument.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#leq(javax.management.ValueExp, javax.management.ValueExp)">leq</A></B>(<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> v1,
|
|
<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> v2)</CODE>
|
|
|
|
<BR>
|
|
Returns a query expression that represents a "less than or equal to"
|
|
constraint on two values.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#lt(javax.management.ValueExp, javax.management.ValueExp)">lt</A></B>(<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> v1,
|
|
<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> v2)</CODE>
|
|
|
|
<BR>
|
|
Returns a query expression that represents a "less than" constraint on
|
|
two values.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#match(javax.management.AttributeValueExp, javax.management.StringValueExp)">match</A></B>(<A HREF="AttributeValueExp.html" title="class in javax.management">AttributeValueExp</A> a,
|
|
<A HREF="StringValueExp.html" title="class in javax.management">StringValueExp</A> s)</CODE>
|
|
|
|
<BR>
|
|
Returns a query expression that represents a matching constraint on
|
|
a string argument.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#minus(javax.management.ValueExp, javax.management.ValueExp)">minus</A></B>(<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> value1,
|
|
<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> value2)</CODE>
|
|
|
|
<BR>
|
|
Returns a binary expression representing the difference between two numeric
|
|
values.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#not(javax.management.QueryExp)">not</A></B>(<A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A> queryExp)</CODE>
|
|
|
|
<BR>
|
|
Returns a constraint that is the negation of its argument.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#or(javax.management.QueryExp, javax.management.QueryExp)">or</A></B>(<A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A> q1,
|
|
<A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A> q2)</CODE>
|
|
|
|
<BR>
|
|
Returns a query expression that is the disjunction of two other query
|
|
expressions.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#plus(javax.management.ValueExp, javax.management.ValueExp)">plus</A></B>(<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> value1,
|
|
<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> value2)</CODE>
|
|
|
|
<BR>
|
|
Returns a binary expression representing the sum of two numeric values,
|
|
or the concatenation of two string values.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#times(javax.management.ValueExp, javax.management.ValueExp)">times</A></B>(<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> value1,
|
|
<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> value2)</CODE>
|
|
|
|
<BR>
|
|
Returns a binary expression representing the product of two numeric values.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#value(boolean)">value</A></B>(boolean val)</CODE>
|
|
|
|
<BR>
|
|
Returns a boolean value expression that can be used in any Query call
|
|
that expects a ValueExp.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#value(double)">value</A></B>(double val)</CODE>
|
|
|
|
<BR>
|
|
Returns a numeric value expression that can be used in any Query call
|
|
that expects a ValueExp.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#value(float)">value</A></B>(float val)</CODE>
|
|
|
|
<BR>
|
|
Returns a numeric value expression that can be used in any Query call
|
|
that expects a ValueExp.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#value(int)">value</A></B>(int val)</CODE>
|
|
|
|
<BR>
|
|
Returns a numeric value expression that can be used in any Query call
|
|
that expects a ValueExp.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#value(long)">value</A></B>(long val)</CODE>
|
|
|
|
<BR>
|
|
Returns a numeric value expression that can be used in any Query call
|
|
that expects a ValueExp.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#value(java.lang.Number)">value</A></B>(java.lang.Number val)</CODE>
|
|
|
|
<BR>
|
|
Returns a numeric value expression that can be used in any Query call
|
|
that expects a ValueExp.</TD>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
|
|
<CODE>static <A HREF="StringValueExp.html" title="class in javax.management">StringValueExp</A></CODE></FONT></TD>
|
|
<TD><CODE><B><A HREF="Query.html#value(java.lang.String)">value</A></B>(java.lang.String val)</CODE>
|
|
|
|
<BR>
|
|
Returns a new string expression.</TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
|
|
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
|
|
</TR>
|
|
<TR BGCOLOR="white" CLASS="TableRowColor">
|
|
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<P>
|
|
|
|
<!-- ============ FIELD DETAIL =========== -->
|
|
|
|
<A NAME="field_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Field Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="DIV"><!-- --></A><H3>
|
|
DIV</H3>
|
|
<PRE>
|
|
public static final int <B>DIV</B></PRE>
|
|
<DL>
|
|
<DD>A code representing the <A HREF="Query.html#div(javax.management.ValueExp, javax.management.ValueExp)"><CODE>div(javax.management.ValueExp, javax.management.ValueExp)</CODE></A> expression. This is
|
|
chiefly of interest for the serialized form of queries.
|
|
<P>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#javax.management.Query.DIV">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="EQ"><!-- --></A><H3>
|
|
EQ</H3>
|
|
<PRE>
|
|
public static final int <B>EQ</B></PRE>
|
|
<DL>
|
|
<DD>A code representing the <A HREF="Query.html#eq(javax.management.ValueExp, javax.management.ValueExp)"><CODE>eq(javax.management.ValueExp, javax.management.ValueExp)</CODE></A> query. This is chiefly
|
|
of interest for the serialized form of queries.
|
|
<P>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#javax.management.Query.EQ">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="GE"><!-- --></A><H3>
|
|
GE</H3>
|
|
<PRE>
|
|
public static final int <B>GE</B></PRE>
|
|
<DL>
|
|
<DD>A code representing the <A HREF="Query.html#geq(javax.management.ValueExp, javax.management.ValueExp)"><CODE>geq(javax.management.ValueExp, javax.management.ValueExp)</CODE></A> query. This is chiefly
|
|
of interest for the serialized form of queries.
|
|
<P>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#javax.management.Query.GE">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="GT"><!-- --></A><H3>
|
|
GT</H3>
|
|
<PRE>
|
|
public static final int <B>GT</B></PRE>
|
|
<DL>
|
|
<DD>A code representing the <A HREF="Query.html#gt(javax.management.ValueExp, javax.management.ValueExp)"><CODE>gt(javax.management.ValueExp, javax.management.ValueExp)</CODE></A> query. This is chiefly
|
|
of interest for the serialized form of queries.
|
|
<P>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#javax.management.Query.GT">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="LE"><!-- --></A><H3>
|
|
LE</H3>
|
|
<PRE>
|
|
public static final int <B>LE</B></PRE>
|
|
<DL>
|
|
<DD>A code representing the <A HREF="Query.html#leq(javax.management.ValueExp, javax.management.ValueExp)"><CODE>leq(javax.management.ValueExp, javax.management.ValueExp)</CODE></A> query. This is chiefly
|
|
of interest for the serialized form of queries.
|
|
<P>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#javax.management.Query.LE">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="LT"><!-- --></A><H3>
|
|
LT</H3>
|
|
<PRE>
|
|
public static final int <B>LT</B></PRE>
|
|
<DL>
|
|
<DD>A code representing the <A HREF="Query.html#lt(javax.management.ValueExp, javax.management.ValueExp)"><CODE>lt(javax.management.ValueExp, javax.management.ValueExp)</CODE></A> query. This is chiefly
|
|
of interest for the serialized form of queries.
|
|
<P>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#javax.management.Query.LT">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="MINUS"><!-- --></A><H3>
|
|
MINUS</H3>
|
|
<PRE>
|
|
public static final int <B>MINUS</B></PRE>
|
|
<DL>
|
|
<DD>A code representing the <A HREF="Query.html#minus(javax.management.ValueExp, javax.management.ValueExp)"><CODE>minus(javax.management.ValueExp, javax.management.ValueExp)</CODE></A> expression. This
|
|
is chiefly of interest for the serialized form of queries.
|
|
<P>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#javax.management.Query.MINUS">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="PLUS"><!-- --></A><H3>
|
|
PLUS</H3>
|
|
<PRE>
|
|
public static final int <B>PLUS</B></PRE>
|
|
<DL>
|
|
<DD>A code representing the <A HREF="Query.html#plus(javax.management.ValueExp, javax.management.ValueExp)"><CODE>plus(javax.management.ValueExp, javax.management.ValueExp)</CODE></A> expression. This
|
|
is chiefly of interest for the serialized form of queries.
|
|
<P>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#javax.management.Query.PLUS">Constant Field Values</A></DL>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="TIMES"><!-- --></A><H3>
|
|
TIMES</H3>
|
|
<PRE>
|
|
public static final int <B>TIMES</B></PRE>
|
|
<DL>
|
|
<DD>A code representing the <A HREF="Query.html#times(javax.management.ValueExp, javax.management.ValueExp)"><CODE>times(javax.management.ValueExp, javax.management.ValueExp)</CODE></A> expression. This
|
|
is chiefly of interest for the serialized form of queries.
|
|
<P>
|
|
<DL>
|
|
<DT><B>See Also:</B><DD><A HREF="../../constant-values.html#javax.management.Query.TIMES">Constant Field Values</A></DL>
|
|
</DL>
|
|
|
|
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
|
|
|
<A NAME="constructor_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Constructor Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="Query()"><!-- --></A><H3>
|
|
Query</H3>
|
|
<PRE>
|
|
public <B>Query</B>()</PRE>
|
|
<DL>
|
|
<DD>Basic constructor.
|
|
<P>
|
|
</DL>
|
|
|
|
<!-- ============ METHOD DETAIL ========== -->
|
|
|
|
<A NAME="method_detail"><!-- --></A>
|
|
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
|
|
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
|
|
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
|
|
<B>Method Detail</B></FONT></TH>
|
|
</TR>
|
|
</TABLE>
|
|
|
|
<A NAME="and(javax.management.QueryExp, javax.management.QueryExp)"><!-- --></A><H3>
|
|
and</H3>
|
|
<PRE>
|
|
public static <A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A> <B>and</B>(<A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A> q1,
|
|
<A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A> q2)</PRE>
|
|
<DL>
|
|
<DD>Returns a query expression that is the conjunction of two other query
|
|
expressions.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>q1</CODE> - A query expression.<DD><CODE>q2</CODE> - Another query expression.
|
|
<DT><B>Returns:</B><DD>The conjunction of the two arguments.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="anySubString(javax.management.AttributeValueExp, javax.management.StringValueExp)"><!-- --></A><H3>
|
|
anySubString</H3>
|
|
<PRE>
|
|
public static <A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A> <B>anySubString</B>(<A HREF="AttributeValueExp.html" title="class in javax.management">AttributeValueExp</A> a,
|
|
<A HREF="StringValueExp.html" title="class in javax.management">StringValueExp</A> s)</PRE>
|
|
<DL>
|
|
<DD>Returns a query expression that represents a matching constraint on
|
|
a string argument. The value must contain the given string value.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>a</CODE> - An attribute expression.<DD><CODE>s</CODE> - A string value expression representing the substring.
|
|
<DT><B>Returns:</B><DD>The constraint that a matches s.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="attr(java.lang.String)"><!-- --></A><H3>
|
|
attr</H3>
|
|
<PRE>
|
|
public static <A HREF="AttributeValueExp.html" title="class in javax.management">AttributeValueExp</A> <B>attr</B>(java.lang.String name)</PRE>
|
|
<DL>
|
|
<DD><p>Returns a new attribute expression.</p>
|
|
|
|
<p>Evaluating this expression for a given
|
|
<code>objectName</code> includes performing <A HREF="MBeanServer.html#getAttribute(javax.management.ObjectName, java.lang.String)"><CODE>MBeanServer.getAttribute(objectName,
|
|
name)</CODE></A>.</p>
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>name</CODE> - The name of the attribute.
|
|
<DT><B>Returns:</B><DD>An attribute expression for the attribute named name.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="attr(java.lang.String, java.lang.String)"><!-- --></A><H3>
|
|
attr</H3>
|
|
<PRE>
|
|
public static <A HREF="AttributeValueExp.html" title="class in javax.management">AttributeValueExp</A> <B>attr</B>(java.lang.String className,
|
|
java.lang.String name)</PRE>
|
|
<DL>
|
|
<DD><p>Returns a new qualified attribute expression.</p>
|
|
|
|
<p>Evaluating this expression for a given
|
|
<code>objectName</code> includes performing <A HREF="MBeanServer.html#getObjectInstance(javax.management.ObjectName)"><CODE>MBeanServer.getObjectInstance(objectName)</CODE></A> and <A HREF="MBeanServer.html#getAttribute(javax.management.ObjectName, java.lang.String)"><CODE>MBeanServer.getAttribute(objectName,
|
|
name)</CODE></A>.</p>
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>className</CODE> - The name of the class possessing the attribute.<DD><CODE>name</CODE> - The name of the attribute.
|
|
<DT><B>Returns:</B><DD>An attribute expression for the attribute named name.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="between(javax.management.ValueExp, javax.management.ValueExp, javax.management.ValueExp)"><!-- --></A><H3>
|
|
between</H3>
|
|
<PRE>
|
|
public static <A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A> <B>between</B>(<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> v1,
|
|
<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> v2,
|
|
<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> v3)</PRE>
|
|
<DL>
|
|
<DD>Returns a query expression that represents the constraint that one
|
|
value is between two other values.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>v1</CODE> - A value expression that is "between" v2 and v3.<DD><CODE>v2</CODE> - Value expression that represents a boundary of the constraint.<DD><CODE>v3</CODE> - Value expression that represents a boundary of the constraint.
|
|
<DT><B>Returns:</B><DD>The constraint that v1 lies between v2 and v3.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="classattr()"><!-- --></A><H3>
|
|
classattr</H3>
|
|
<PRE>
|
|
public static <A HREF="AttributeValueExp.html" title="class in javax.management">AttributeValueExp</A> <B>classattr</B>()</PRE>
|
|
<DL>
|
|
<DD><p>Returns a new class attribute expression which can be used in any
|
|
Query call that expects a ValueExp.</p>
|
|
|
|
<p>Evaluating this expression for a given
|
|
<code>objectName</code> includes performing <A HREF="MBeanServer.html#getObjectInstance(javax.management.ObjectName)"><CODE>MBeanServer.getObjectInstance(objectName)</CODE></A>.</p>
|
|
<P>
|
|
<DD><DL>
|
|
|
|
<DT><B>Returns:</B><DD>A class attribute expression.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="div(javax.management.ValueExp, javax.management.ValueExp)"><!-- --></A><H3>
|
|
div</H3>
|
|
<PRE>
|
|
public static <A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> <B>div</B>(<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> value1,
|
|
<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> value2)</PRE>
|
|
<DL>
|
|
<DD>Returns a binary expression representing the quotient of two numeric
|
|
values.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value1</CODE> - The first '/' operand.<DD><CODE>value2</CODE> - The second '/' operand.
|
|
<DT><B>Returns:</B><DD>A ValueExp representing the quotient of two arguments.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="eq(javax.management.ValueExp, javax.management.ValueExp)"><!-- --></A><H3>
|
|
eq</H3>
|
|
<PRE>
|
|
public static <A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A> <B>eq</B>(<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> v1,
|
|
<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> v2)</PRE>
|
|
<DL>
|
|
<DD>Returns a query expression that represents an equality constraint on
|
|
two values.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>v1</CODE> - A value expression.<DD><CODE>v2</CODE> - Another value expression.
|
|
<DT><B>Returns:</B><DD>A "equal to" constraint on the arguments.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="finalSubString(javax.management.AttributeValueExp, javax.management.StringValueExp)"><!-- --></A><H3>
|
|
finalSubString</H3>
|
|
<PRE>
|
|
public static <A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A> <B>finalSubString</B>(<A HREF="AttributeValueExp.html" title="class in javax.management">AttributeValueExp</A> a,
|
|
<A HREF="StringValueExp.html" title="class in javax.management">StringValueExp</A> s)</PRE>
|
|
<DL>
|
|
<DD>Returns a query expression that represents a matching constraint on
|
|
a string argument. The value must contain the given string value.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>a</CODE> - An attribute expression.<DD><CODE>s</CODE> - A string value expression representing the end of the string value.
|
|
<DT><B>Returns:</B><DD>The constraint that a matches s.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="geq(javax.management.ValueExp, javax.management.ValueExp)"><!-- --></A><H3>
|
|
geq</H3>
|
|
<PRE>
|
|
public static <A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A> <B>geq</B>(<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> v1,
|
|
<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> v2)</PRE>
|
|
<DL>
|
|
<DD>Returns a query expression that represents a "greater than or equal
|
|
to" constraint on two values.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>v1</CODE> - A value expression.<DD><CODE>v2</CODE> - Another value expression.
|
|
<DT><B>Returns:</B><DD>A "greater than or equal to" constraint on the arguments.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="gt(javax.management.ValueExp, javax.management.ValueExp)"><!-- --></A><H3>
|
|
gt</H3>
|
|
<PRE>
|
|
public static <A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A> <B>gt</B>(<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> v1,
|
|
<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> v2)</PRE>
|
|
<DL>
|
|
<DD>Returns a query expression that represents a "greater than" constraint on
|
|
two values.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>v1</CODE> - A value expression.<DD><CODE>v2</CODE> - Another value expression.
|
|
<DT><B>Returns:</B><DD>A "greater than" constraint on the arguments.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="in(javax.management.ValueExp, javax.management.ValueExp[])"><!-- --></A><H3>
|
|
in</H3>
|
|
<PRE>
|
|
public static <A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A> <B>in</B>(<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> val,
|
|
<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A>[] valueList)</PRE>
|
|
<DL>
|
|
<DD>Returns an expression constraining a value to be one of an explicit list.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>val</CODE> - A value to be constrained.<DD><CODE>valueList</CODE> - An array of ValueExps.
|
|
<DT><B>Returns:</B><DD>A QueryExp that represents the constraint.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="initialSubString(javax.management.AttributeValueExp, javax.management.StringValueExp)"><!-- --></A><H3>
|
|
initialSubString</H3>
|
|
<PRE>
|
|
public static <A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A> <B>initialSubString</B>(<A HREF="AttributeValueExp.html" title="class in javax.management">AttributeValueExp</A> a,
|
|
<A HREF="StringValueExp.html" title="class in javax.management">StringValueExp</A> s)</PRE>
|
|
<DL>
|
|
<DD>Returns a query expression that represents a matching constraint on
|
|
a string argument. The value must start with the given string value.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>a</CODE> - An attribute expression.<DD><CODE>s</CODE> - A string value expression representing the beginning of the string value.
|
|
<DT><B>Returns:</B><DD>The constraint that a matches s.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="leq(javax.management.ValueExp, javax.management.ValueExp)"><!-- --></A><H3>
|
|
leq</H3>
|
|
<PRE>
|
|
public static <A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A> <B>leq</B>(<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> v1,
|
|
<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> v2)</PRE>
|
|
<DL>
|
|
<DD>Returns a query expression that represents a "less than or equal to"
|
|
constraint on two values.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>v1</CODE> - A value expression.<DD><CODE>v2</CODE> - Another value expression.
|
|
<DT><B>Returns:</B><DD>A "less than or equal to" constraint on the arguments.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="lt(javax.management.ValueExp, javax.management.ValueExp)"><!-- --></A><H3>
|
|
lt</H3>
|
|
<PRE>
|
|
public static <A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A> <B>lt</B>(<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> v1,
|
|
<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> v2)</PRE>
|
|
<DL>
|
|
<DD>Returns a query expression that represents a "less than" constraint on
|
|
two values.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>v1</CODE> - A value expression.<DD><CODE>v2</CODE> - Another value expression.
|
|
<DT><B>Returns:</B><DD>A "less than" constraint on the arguments.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="match(javax.management.AttributeValueExp, javax.management.StringValueExp)"><!-- --></A><H3>
|
|
match</H3>
|
|
<PRE>
|
|
public static <A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A> <B>match</B>(<A HREF="AttributeValueExp.html" title="class in javax.management">AttributeValueExp</A> a,
|
|
<A HREF="StringValueExp.html" title="class in javax.management">StringValueExp</A> s)</PRE>
|
|
<DL>
|
|
<DD>Returns a query expression that represents a matching constraint on
|
|
a string argument. The matching syntax is consistent with file globbing:
|
|
Supports "?", "*", "[", each of which may be escaped with "\";
|
|
Character classes may use "!" for negation and "-" for range.
|
|
(* for any character sequence ? for a single arbitrary character
|
|
[...] for a character sequence).
|
|
For example: a*b?c would match a string starting with the character a, followed
|
|
by any number of characters, followed by a b, any single character, and a c.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>a</CODE> - An attribute expression<DD><CODE>s</CODE> - A string value expression representing a matching constraint
|
|
<DT><B>Returns:</B><DD>A query expression that represents the matching constraint on the
|
|
string argument.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="minus(javax.management.ValueExp, javax.management.ValueExp)"><!-- --></A><H3>
|
|
minus</H3>
|
|
<PRE>
|
|
public static <A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> <B>minus</B>(<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> value1,
|
|
<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> value2)</PRE>
|
|
<DL>
|
|
<DD>Returns a binary expression representing the difference between two numeric
|
|
values.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value1</CODE> - The first '-' operand.<DD><CODE>value2</CODE> - The second '-' operand.
|
|
<DT><B>Returns:</B><DD>A ValueExp representing the difference between two arguments.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="not(javax.management.QueryExp)"><!-- --></A><H3>
|
|
not</H3>
|
|
<PRE>
|
|
public static <A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A> <B>not</B>(<A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A> queryExp)</PRE>
|
|
<DL>
|
|
<DD>Returns a constraint that is the negation of its argument.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>queryExp</CODE> - The constraint to negate.
|
|
<DT><B>Returns:</B><DD>A negated constraint.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="or(javax.management.QueryExp, javax.management.QueryExp)"><!-- --></A><H3>
|
|
or</H3>
|
|
<PRE>
|
|
public static <A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A> <B>or</B>(<A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A> q1,
|
|
<A HREF="QueryExp.html" title="interface in javax.management">QueryExp</A> q2)</PRE>
|
|
<DL>
|
|
<DD>Returns a query expression that is the disjunction of two other query
|
|
expressions.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>q1</CODE> - A query expression.<DD><CODE>q2</CODE> - Another query expression.
|
|
<DT><B>Returns:</B><DD>The disjunction of the two arguments.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="plus(javax.management.ValueExp, javax.management.ValueExp)"><!-- --></A><H3>
|
|
plus</H3>
|
|
<PRE>
|
|
public static <A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> <B>plus</B>(<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> value1,
|
|
<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> value2)</PRE>
|
|
<DL>
|
|
<DD>Returns a binary expression representing the sum of two numeric values,
|
|
or the concatenation of two string values.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value1</CODE> - The first '+' operand.<DD><CODE>value2</CODE> - The second '+' operand.
|
|
<DT><B>Returns:</B><DD>A ValueExp representing the sum or concatenation of the two
|
|
arguments.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="times(javax.management.ValueExp, javax.management.ValueExp)"><!-- --></A><H3>
|
|
times</H3>
|
|
<PRE>
|
|
public static <A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> <B>times</B>(<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> value1,
|
|
<A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> value2)</PRE>
|
|
<DL>
|
|
<DD>Returns a binary expression representing the product of two numeric values.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>value1</CODE> - The first '*' operand.<DD><CODE>value2</CODE> - The second '*' operand.
|
|
<DT><B>Returns:</B><DD>A ValueExp representing the product.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="value(boolean)"><!-- --></A><H3>
|
|
value</H3>
|
|
<PRE>
|
|
public static <A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> <B>value</B>(boolean val)</PRE>
|
|
<DL>
|
|
<DD>Returns a boolean value expression that can be used in any Query call
|
|
that expects a ValueExp.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>val</CODE> - A boolean value.
|
|
<DT><B>Returns:</B><DD>A ValueExp object containing the argument.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="value(double)"><!-- --></A><H3>
|
|
value</H3>
|
|
<PRE>
|
|
public static <A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> <B>value</B>(double val)</PRE>
|
|
<DL>
|
|
<DD>Returns a numeric value expression that can be used in any Query call
|
|
that expects a ValueExp.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>val</CODE> - A double value.
|
|
<DT><B>Returns:</B><DD>A ValueExp object containing the argument.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="value(float)"><!-- --></A><H3>
|
|
value</H3>
|
|
<PRE>
|
|
public static <A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> <B>value</B>(float val)</PRE>
|
|
<DL>
|
|
<DD>Returns a numeric value expression that can be used in any Query call
|
|
that expects a ValueExp.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>val</CODE> - A float value.
|
|
<DT><B>Returns:</B><DD>A ValueExp object containing the argument.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="value(int)"><!-- --></A><H3>
|
|
value</H3>
|
|
<PRE>
|
|
public static <A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> <B>value</B>(int val)</PRE>
|
|
<DL>
|
|
<DD>Returns a numeric value expression that can be used in any Query call
|
|
that expects a ValueExp.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>val</CODE> - An int value.
|
|
<DT><B>Returns:</B><DD>A ValueExp object containing the argument.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="value(long)"><!-- --></A><H3>
|
|
value</H3>
|
|
<PRE>
|
|
public static <A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> <B>value</B>(long val)</PRE>
|
|
<DL>
|
|
<DD>Returns a numeric value expression that can be used in any Query call
|
|
that expects a ValueExp.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>val</CODE> - A long value.
|
|
<DT><B>Returns:</B><DD>A ValueExp object containing the argument.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="value(java.lang.Number)"><!-- --></A><H3>
|
|
value</H3>
|
|
<PRE>
|
|
public static <A HREF="ValueExp.html" title="interface in javax.management">ValueExp</A> <B>value</B>(java.lang.Number val)</PRE>
|
|
<DL>
|
|
<DD>Returns a numeric value expression that can be used in any Query call
|
|
that expects a ValueExp.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>val</CODE> - An instance of Number.
|
|
<DT><B>Returns:</B><DD>A ValueExp object containing the argument.</DL>
|
|
</DD>
|
|
</DL>
|
|
<HR>
|
|
|
|
<A NAME="value(java.lang.String)"><!-- --></A><H3>
|
|
value</H3>
|
|
<PRE>
|
|
public static <A HREF="StringValueExp.html" title="class in javax.management">StringValueExp</A> <B>value</B>(java.lang.String val)</PRE>
|
|
<DL>
|
|
<DD>Returns a new string expression.
|
|
<P>
|
|
<DD><DL>
|
|
<DT><B>Parameters:</B><DD><CODE>val</CODE> - The string value.
|
|
<DT><B>Returns:</B><DD>A ValueExp object containing the string argument.</DL>
|
|
</DD>
|
|
</DL>
|
|
<!-- ========= END OF CLASS DATA ========= -->
|
|
<HR>
|
|
|
|
|
|
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
|
<A NAME="navbar_bottom"><!-- --></A>
|
|
<A HREF="Query.html#skip-navbar_bottom" title="Skip navigation links"></A>
|
|
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
|
|
<TR>
|
|
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
|
|
<A NAME="navbar_bottom_firstrow"><!-- --></A>
|
|
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
|
|
<TR ALIGN="center" VALIGN="top">
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
|
|
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
|
|
</TR>
|
|
</TABLE>
|
|
</TD>
|
|
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
|
|
Sonic Management API</EM>
|
|
</TD>
|
|
</TR>
|
|
|
|
<TR>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="PersistentMBean.html" title="interface in javax.management"><B>PREV CLASS</B></A>
|
|
<A HREF="QueryEval.html" title="class in javax.management"><B>NEXT CLASS</B></A></FONT></TD>
|
|
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
|
|
<A HREF="../../index.html@javax%252Fmanagement%252FQuery.html" target="_top"><B>FRAMES</B></A>
|
|
<A HREF="Query.html" target="_top"><B>NO FRAMES</B></A>
|
|
<SCRIPT type="text/javascript">
|
|
<!--
|
|
if(window==top) {
|
|
document.writeln('<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>');
|
|
}
|
|
//-->
|
|
</SCRIPT>
|
|
<NOSCRIPT>
|
|
<A HREF="../../allclasses-noframe.html"><B>All Classes</B></A>
|
|
</NOSCRIPT>
|
|
|
|
|
|
</FONT></TD>
|
|
</TR>
|
|
<TR>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
SUMMARY: NESTED | <A HREF="Query.html#field_summary">FIELD</A> | <A HREF="Query.html#constructor_summary">CONSTR</A> | <A HREF="Query.html#method_summary">METHOD</A></FONT></TD>
|
|
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
|
|
DETAIL: <A HREF="Query.html#field_detail">FIELD</A> | <A HREF="Query.html#constructor_detail">CONSTR</A> | <A HREF="Query.html#method_detail">METHOD</A></FONT></TD>
|
|
</TR>
|
|
</TABLE>
|
|
<A NAME="skip-navbar_bottom"></A>
|
|
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
|
|
|
<HR>
|
|
<font size="-1">Copyright © 2001-2011
|
|
<a href="http://www.progress.com" target="_top"> Progress Software Corporation</a>. All Rights Reserved.
|
|
<br>HTML formatted on 12-Aug-2011.</font>
|
|
</BODY>
|
|
</HTML>
|