Class XROP

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean absolute​(int pos)
      Returns false.
      void close()
      Closes the underlying statement.
      boolean getExecutionResult()
      Gets the result of executing the underlying JDBC statement.
      java.lang.Object getOut​(int position)  
      java.lang.Object getOut​(java.lang.String name)  
      ResultObjectProvider getResultObject()
      Gets the current result set, wraps it with a ResultSetResult, then wraps again with appropriate ROP based on the result set mapping.
      int getUpdateCount()
      Gets the update count, provided the current result of the statement is not a result set.
      void handleCheckedException​(java.lang.Exception e)
      Any checked exceptions that are thrown will be passed to this method.
      boolean hasMoreResults()
      Affirms if more result sets are available.
      boolean next()
      Throws exception.
      void open()
      Opens this provider by executing the underlying Statment.
      void reset()
      Throws exception.
      int size()
      Returns -1.
      boolean supportsRandomAccess()
      Does not support random access.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • open

        public void open()
                  throws java.lang.Exception
        Opens this provider by executing the underlying Statment. The result of execution is memorized.
        Specified by:
        open in interface ResultObjectProvider
        Throws:
        java.lang.Exception
      • close

        public void close()
                   throws java.lang.Exception
        Closes the underlying statement.
        Specified by:
        close in interface Closeable
        Specified by:
        close in interface ResultObjectProvider
        Throws:
        java.lang.Exception
      • hasMoreResults

        public boolean hasMoreResults()
        Affirms if more result sets are available.
        : The side effect is to advance to the statement's next result.
        Specified by:
        hasMoreResults in interface BatchedResultObjectProvider
      • getUpdateCount

        public int getUpdateCount()
        Gets the update count, provided the current result of the statement is not a result set.
        Specified by:
        getUpdateCount in interface BatchedResultObjectProvider
        Returns:
        an integer value whose semantics is same as Statement.getUpdateCount().
      • next

        public boolean next()
                     throws java.lang.Exception
        Throws exception.
        Specified by:
        next in interface ResultObjectProvider
        Throws:
        java.lang.Exception
      • absolute

        public boolean absolute​(int pos)
                         throws java.lang.Exception
        Returns false.
        Specified by:
        absolute in interface ResultObjectProvider
        Throws:
        java.lang.Exception
      • size

        public int size()
                 throws java.lang.Exception
        Returns -1.
        Specified by:
        size in interface ResultObjectProvider
        Throws:
        java.lang.Exception
      • reset

        public void reset()
                   throws java.lang.Exception
        Throws exception.
        Specified by:
        reset in interface ResultObjectProvider
        Throws:
        java.lang.Exception
      • handleCheckedException

        public void handleCheckedException​(java.lang.Exception e)
        Description copied from interface: ResultObjectProvider
        Any checked exceptions that are thrown will be passed to this method. The provider should re-throw the exception as an appropriate unchecked exception.
        Specified by:
        handleCheckedException in interface ResultObjectProvider