javax.xml.registry
Interface DeclarativeQueryManager
- All Superinterfaces:
- QueryManager
- public interface DeclarativeQueryManager
- extends QueryManager
This interface provides the ability to execute declarative queries (e.g. SQL)
createQuery
public Query createQuery(int queryType,
java.lang.String queryString)
throws InvalidRequestException,
JAXRException
- Creates a Query object given a queryType (e.g. SQL) and a String
that represents a query in the syntax appropriate for queryType.
Must throw and InvalidRequestException if the sqlQuery is not valid.
- Capability Level: 0 (optional)
- See Also:
Query.QUERY_TYPE_SQL
,
Query.QUERY_TYPE_XQUERY
executeQuery
public BulkResponse executeQuery(Query query)
throws JAXRException
- Execute a query as specified by query paramater.
- Capability Level: 0 (optional)