Class DeclarativeQueryManagerImpl

  • All Implemented Interfaces:
    javax.xml.registry.QueryManager

    public class DeclarativeQueryManagerImpl
    extends QueryManagerImpl
    This interface provides the ability to execute declarative queries (e.g. SQL)
    Author:
    Farrukh S. Najmi
    • Constructor Detail

      • DeclarativeQueryManagerImpl

        public DeclarativeQueryManagerImpl()
    • Method Detail

      • createQuery

        public javax.xml.registry.Query createQuery​(int queryType,
                                                    String queryString)
                                             throws javax.xml.registry.InvalidRequestException,
                                                    javax.xml.registry.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: 1
        Throws:
        javax.xml.registry.InvalidRequestException
        javax.xml.registry.JAXRException
        See Also:
        Query.QUERY_TYPE_SQL, Query.QUERY_TYPE_XQUERY
      • executeQuery

        public javax.xml.registry.BulkResponse executeQuery​(javax.xml.registry.Query query)
                                                     throws javax.xml.registry.JAXRException
        Execute a query as specified by query paramater.

        Capability Level: 1
        Throws:
        javax.xml.registry.JAXRException