Interface DatabaseSelect.Handler<T>

  • Type Parameters:
    T - the object type
    Enclosing class:
    DatabaseSelect<T>

    public static interface DatabaseSelect.Handler<T>
    An interface to a component that can generate an Object from the contents of a ResultSet
    • Method Detail

      • accept

        T accept​(java.sql.ResultSet rs)
          throws java.sql.SQLException
        Returns an object generated from the ResultSet
        Parameters:
        rs - the result set to create object from
        Returns:
        the newly created object
        Throws:
        java.sql.SQLException - if SQL exception raised