-
public interface Query
The Query interface encapsulates a query in a declarative query language. Currently a Query can be an SQL query or an ebXML Filter Query only. In future support for other query languages such as XQL query may be added. The query must conform to a fixed schema as defined by the JAXR specification.- Author:
- Farrukh S. Najmi
-
-
Field Summary
Fields Modifier and Type Field and Description static int
QUERY_TYPE_EBXML_FILTER_QUERY
An OASIS ebXML Registry XML Filter Query type.static int
QUERY_TYPE_SQL
An SQL query type.static int
QUERY_TYPE_XQUERY
A W3C XQuery type.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description int
getType()
Gets the type of Query (for example, QUERY_TYPE_SQL).String
toString()
Returns the String representing the query.
-
-
-
Field Detail
-
QUERY_TYPE_SQL
static final int QUERY_TYPE_SQL
An SQL query type.- See Also:
- Constant Field Values
-
QUERY_TYPE_XQUERY
static final int QUERY_TYPE_XQUERY
A W3C XQuery type.- See Also:
- Constant Field Values
-
QUERY_TYPE_EBXML_FILTER_QUERY
static final int QUERY_TYPE_EBXML_FILTER_QUERY
An OASIS ebXML Registry XML Filter Query type.- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
int getType() throws JAXRException
Gets the type of Query (for example, QUERY_TYPE_SQL).- Capability Level: 1
- Returns:
- the type of query
- Throws:
JAXRException
- If the JAXR provider encounters an internal error- See Also:
QUERY_TYPE_SQL
,QUERY_TYPE_XQUERY
,QUERY_TYPE_EBXML_FILTER_QUERY
-
-
Document created the 11/06/2005, last modified the 18/08/2025
Source of the printed document:https://www.gaudry.be/en/java-api-javaee-rf-javax/xml/registry/query.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author of this site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.