Class SimpleCursor

    • Constructor Summary

      Constructors 
      Constructor Description
      SimpleCursor​(java.sql.ResultSet rs)  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      void close()
      forces the release of any resources that might be associated with this object.
      void finalize()  
      boolean hasNext()  
      java.lang.Object next()  
      protected abstract java.lang.Object objectFromResultSet​(java.sql.ResultSet rs)  
      void remove()  
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SimpleCursor

        public SimpleCursor​(java.sql.ResultSet rs)
    • Method Detail

      • hasNext

        public boolean hasNext()
                        throws java.sql.SQLException
        Specified by:
        hasNext in interface UIterator
        Throws:
        java.sql.SQLException
      • next

        public java.lang.Object next()
                              throws java.sql.SQLException
        Specified by:
        next in interface UIterator
        Throws:
        java.sql.SQLException
      • remove

        public void remove()
        Specified by:
        remove in interface UIterator
      • close

        public void close()
                   throws java.lang.Exception
        Description copied from interface: ClosableResource
        forces the release of any resources that might be associated with this object.
        Specified by:
        close in interface ClosableResource
        Specified by:
        close in interface UIterator
        Throws:
        java.lang.Exception
      • finalize

        public void finalize()
                      throws java.lang.Exception
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Exception
      • objectFromResultSet

        protected abstract java.lang.Object objectFromResultSet​(java.sql.ResultSet rs)
                                                         throws java.sql.SQLException
        Throws:
        java.sql.SQLException