Class Records


  • public class Records
    extends Object
    • Constructor Detail

      • Records

        public Records​(int affectedRows,
                       List<Column> columns,
                       List<Row> records)
    • Method Detail

      • rows

        public Rows rows()
      • row

        public Row row​(int index)
      • count

        public int count()
      • toMatrix

        public Object[][] toMatrix()
      • toListOfMaps

        @Deprecated
        public List<Map<String,​Object>> toListOfMaps​(int n)
        Deprecated.
        This method is deprecated because it is bugged by design. Since a row is a Map, where the key is the column name and value is the effective data, it can't represent different columns having the same name.
        Parameters:
        n - limit the number of returned rows
        Returns:
        list of rows, a row being a Map where the key is the column name and value is the effective data
      • printable

        public String printable​(int limit)