Package com.qfs.chunk

Interface ITable

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isNull​(int row, int column)
      Returns whether the value stored at the given row and column is null or not.
      Object read​(int row, int column)
      Reads the Object value stored in the table at the intersection of the given row and column.
      boolean readBoolean​(int row, int column)
      Reads the boolean primitive value stored in the table at the intersection of the given row and column.
      double readDouble​(int row, int column)
      Reads the double primitive value stored in the table at the intersection of the given row and column.
      float readFloat​(int row, int column)
      Reads the float primitive value stored in the table at the intersection of the given row and column.
      int readInt​(int row, int column)
      Reads the int primitive value stored in the table at the intersection of the given row and column.
      long readLong​(int row, int column)
      Reads the long primitive value stored in the table at the intersection of the given row and column.
    • Method Detail

      • isNull

        boolean isNull​(int row,
                       int column)
        Returns whether the value stored at the given row and column is null or not. Before reading primitive values, when it is not certain that the data is not null, this method must be called first to check nullity.
        Parameters:
        row - index of the row to check
        column - index of the column to check
        Returns:
        true if the column value is null, false otherwise
      • read

        Object read​(int row,
                    int column)
        Reads the Object value stored in the table at the intersection of the given row and column.
        Parameters:
        row - index of the row to read
        column - index of the column to read
        Returns:
        Object value
      • readBoolean

        boolean readBoolean​(int row,
                            int column)
        Reads the boolean primitive value stored in the table at the intersection of the given row and column.
        Parameters:
        row - index of the row to read
        column - index of the column to read
        Returns:
        boolean value
      • readInt

        int readInt​(int row,
                    int column)
        Reads the int primitive value stored in the table at the intersection of the given row and column.
        Parameters:
        row - index of the row to read
        column - index of the column to read
        Returns:
        int value
      • readLong

        long readLong​(int row,
                      int column)
        Reads the long primitive value stored in the table at the intersection of the given row and column.
        Parameters:
        row - index of the row to read
        column - index of the column to read
        Returns:
        long value
      • readDouble

        double readDouble​(int row,
                          int column)
        Reads the double primitive value stored in the table at the intersection of the given row and column.
        Parameters:
        row - index of the row to read
        column - index of the column to read
        Returns:
        double value
      • readFloat

        float readFloat​(int row,
                        int column)
        Reads the float primitive value stored in the table at the intersection of the given row and column.
        Parameters:
        row - index of the row to read
        column - index of the column to read
        Returns:
        float value