Interface MemoryResultSet

    • Field Detail

      • serialVersionUID

        static final long serialVersionUID
        Generated ID for serialisation.
        See Also:
        Constant Field Values
    • Method Detail

      • getColumnCount

        int getColumnCount()
        Gets the amount of columns of this memory result set.
        Returns:
        The amount of columns of this memory result set.
      • getRowCount

        int getRowCount()
        Gets the amount of rows of this memory result set.
        Returns:
        The amount of rows of this memory result set.
      • getColumnLabel

        String getColumnLabel​(int column)
        Gets the label for the designated column. The column has to be >= 0 and <getColumnCount().
        Parameters:
        column - The column for which to get the label.
        Returns:
        The label of the designated column.
      • getColumnType

        ProcessConstants.AdeptDataType getColumnType​(int column)
        Gets the data type for the designated column. The column has to be >= 0 and <getColumnCount().
        Parameters:
        column - The column for which to get the data type.
        Returns:
        The data type of the designated column.
      • getValues

        Serializable[] getValues​(int row)
        Gets the values for the designated rows. The row has to be >= 0 and < getRowCount(). The values in the array are of the Java-type corresponding to the ProcessConstants.AdeptDataType of the corresponding column. null represents a usual null.
        Parameters:
        row - The row for which to get the values.
        Returns:
        The values for the designated row.
        The values will be coupled to this MemoryResultSet, so do not close them; clone them if required longer than this MemoryResultSet.