|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.
Field Summary | |
---|---|
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 | |
---|---|
int |
getType()
Gets the type of Query (for example, QUERY_TYPE_SQL). |
String |
toString()
Returns the String representing the query. |
Field Detail |
---|
static final int QUERY_TYPE_SQL
static final int QUERY_TYPE_XQUERY
static final int QUERY_TYPE_EBXML_FILTER_QUERY
Method Detail |
---|
int getType() throws JAXRException
JAXRException
- If the JAXR provider encounters an internal errorQUERY_TYPE_SQL
,
QUERY_TYPE_XQUERY
,
QUERY_TYPE_EBXML_FILTER_QUERY
String toString()
toString
in class Object
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.