Class ijResultSetResult

  • All Implemented Interfaces:
    ijResult

    public class ijResultSetResult
    extends ijResultImpl
    This impl is intended to be used with a resultset, where the execution of the statement is already complete.
    • Field Detail

      • resultSet

        private java.sql.ResultSet resultSet
      • statement

        private java.sql.Statement statement
      • displayColumns

        private int[] displayColumns
      • columnWidths

        private int[] columnWidths
    • Constructor Detail

      • ijResultSetResult

        public ijResultSetResult​(java.sql.ResultSet r)
                          throws java.sql.SQLException
        Create a ijResultImpl that represents a result set.
        Throws:
        java.sql.SQLException
      • ijResultSetResult

        public ijResultSetResult​(java.sql.ResultSet r,
                                 int[] display,
                                 int[] widths)
                          throws java.sql.SQLException
        Create a ijResultImpl that represents a result set, only displaying a subset of the columns, using specified column widths.
        Parameters:
        r - The result set to display
        display - Which column numbers to display, or null to display all columns.
        widths - The widths of the columns specified in 'display', or null to display using default column sizes.
        Throws:
        java.sql.SQLException