Class NQQuery

java.lang.Object
com.netlang.queue.NQQuery

public class NQQuery extends Object
The SQLQuery class
  • Constructor Details

    • NQQuery

      public NQQuery(NQManager con, com.netlang.queue.impl.QConnection qcon, NQQueue queue, com.netlang.queue.impl.QQueue qqueue, com.netlang.session.NetlangSession session, String handleid, String handleid2, String resourceid, String agentid) throws com.net4z.APIException
      Initializes a newly created SQLQuery
      Throws:
      com.net4z.APIException
  • Method Details

    • open

      public void open() throws com.net4z.APIException
      Open file
      Throws:
      com.net4z.APIException
    • close

      public void close() throws com.net4z.APIException
      Throws:
      com.net4z.APIException
    • next

      public NQMessage next() throws com.net4z.APIException
      Throws:
      com.net4z.APIException
    • first

      public NQMessage first() throws com.net4z.APIException
      Throws:
      com.net4z.APIException
    • hasMore

      public boolean hasMore() throws com.net4z.APIException
      Throws:
      com.net4z.APIException