Interface DataRecord

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getBoolean​(int columnIndex)
      Gets a boolean value for the specified column.
      int getColumnCount()
      Gets the number of columns (fields) in the data.
      int getColumnIndex​(String columnName)
      Gets the zero based column index for a column name.
      String getColumnName​(int columnIndex)
      Gets the name of the column at the specified index.
      Class<?> getColumnType​(int columnIndex)
      Get the data type for the specified column.
      double getDouble​(int columnIndex)
      Gets a double value for the specified column.
      float getFloat​(int columnIndex)
      Gets a float value for the specified column.
      int getInt​(int columnIndex)
      Gets an integer value for the specified column.
      long getLong​(int columnIndex)
      Gets a long value for the specified column.
      Object getObject​(int columnIndex)
      Gets an Object representation for the value at the specified column.
      String getString​(int columnIndex)
      Gets a string value for the specified column.
      boolean isNull​(int columnIndex)
      Determines whether the value is null (missing) for the specified column.
    • Method Detail

      • getColumnIndex

        int getColumnIndex​(String columnName)
        Gets the zero based column index for a column name.
        Parameters:
        columnName - The name of the column.
        Returns:
        A zero based index for the column.
      • getColumnName

        String getColumnName​(int columnIndex)
        Gets the name of the column at the specified index.
        Parameters:
        columnIndex - The zero based index of the column.
        Returns:
        The name of the column at the specified index.
      • getColumnType

        Class<?> getColumnType​(int columnIndex)
        Get the data type for the specified column. @param columnIndex the zero based index of the column @return
      • getColumnCount

        int getColumnCount()
        Gets the number of columns (fields) in the data.
        Returns:
        The column (field) count.
      • isNull

        boolean isNull​(int columnIndex)
        Determines whether the value is null (missing) for the specified column.
        Parameters:
        columnIndex -
        Returns:
        true if the value is null (missing), false otherwise.
      • getObject

        Object getObject​(int columnIndex)
        Gets an Object representation for the value at the specified column.
        Parameters:
        columnIndex -
        Returns:
        The value at the specified column, or null if the value is missing.
      • getString

        String getString​(int columnIndex)
        Gets a string value for the specified column.
        Parameters:
        columnIndex -
        Returns:
        The string at the specified column index.
      • getBoolean

        boolean getBoolean​(int columnIndex)
        Gets a boolean value for the specified column.
        Parameters:
        columnIndex - The zero based column index.
        Returns:
        The boolean value at the specified index.
      • getInt

        int getInt​(int columnIndex)
        Gets an integer value for the specified column.
        Parameters:
        columnIndex - The zero based column index.
        Returns:
        The integer value at the specified index.
      • getLong

        long getLong​(int columnIndex)
        Gets a long value for the specified column.
        Parameters:
        columnIndex - The zero based column index.
        Returns:
        The long value at the specified index.
      • getDouble

        double getDouble​(int columnIndex)
        Gets a double value for the specified column.
        Parameters:
        columnIndex - The zero based column index.
        Returns:
        The double value at the specified index.
      • getFloat

        float getFloat​(int columnIndex)
        Gets a float value for the specified column.
        Parameters:
        columnIndex - The zero based column index.
        Returns:
        The float value at the specified index.