Interface DataReader

    • Method Detail

      • read

        boolean read()
        Moves to the next record, if any exist. This must be called to move to the first record.
        Returns:
        true if the reader successfully moved to a new record, or false if no more records are present.
      • close

        void close()
        Close the reader and any associated resources, such as database connections or files.
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface Closeable