Interface SqlResult

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      float getFloat​(int index)
      Get the value of the specified column as a float.
      int getInt​(int index)
      Get the value of the specified column as an integer.
      Object getObject​(int index)
      Get the value of the specified column as an object.
      short getShort​(int index)
      Get the value of the specified column as a short.
      String getString​(int index)
      Get the value of the specified column as a string.
    • Method Detail

      • getShort

        short getShort​(int index)
                throws SQLException
        Get the value of the specified column as a short.
        Parameters:
        index - The index of the column, starting at 1
        Returns:
        The value, or 0 if the database contains null
        Throws:
        SQLException - If an error occurs
      • getInt

        int getInt​(int index)
            throws SQLException
        Get the value of the specified column as an integer.
        Parameters:
        index - The index of the column, starting at 1
        Returns:
        The value, or 0 if the database contains null
        Throws:
        SQLException - If an error occurs
      • getFloat

        float getFloat​(int index)
                throws SQLException
        Get the value of the specified column as a float.
        Parameters:
        index - The index of the column, starting at 1
        Returns:
        The value, or 0 if the database contains null
        Throws:
        SQLException - If an error occurs
      • getString

        String getString​(int index)
                  throws SQLException
        Get the value of the specified column as a string.
        Parameters:
        index - The index of the column, starting at 1
        Returns:
        The string value
        Throws:
        SQLException - If an error occurs
      • getObject

        Object getObject​(int index)
                  throws SQLException
        Get the value of the specified column as an object.
        Parameters:
        index - The index of the column, starting at 1
        Returns:
        The string value
        Throws:
        SQLException - If an error occurs