Interface Data

  • All Known Implementing Classes:
    MemoryData, RewindableData

    public interface Data
    Data represents a set of rows containing data
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.Object get​(int index)
      get the data at a certain column
      boolean next()
      goto the next (or first) row
    • Method Detail

      • next

        boolean next()
              throws java.sql.SQLException
        goto the next (or first) row
        Returns:
        true if row exits, false if not
        Throws:
        java.sql.SQLException
      • get

        java.lang.Object get​(int index)
                      throws java.sql.SQLException
        get the data at a certain column
        Parameters:
        index - the column to get
        Throws:
        java.sql.SQLException