Class Streamer.Row

  • Enclosing class:
    Streamer

    public static class Streamer.Row
    extends java.lang.Object
    Inner class representing each row of the ResultSet as it flows down the stream. This implementation assumes you know what type each of the columns should be, and their order
    • Constructor Summary

      Constructors 
      Constructor Description
      Row​(java.sql.ResultSet rs, java.lang.String[] columnNames)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object[] getCols()  
      java.lang.String[] getColumnNames()  
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Row

        public Row​(java.sql.ResultSet rs,
                   java.lang.String[] columnNames)
            throws java.sql.SQLException
        Throws:
        java.sql.SQLException
    • Method Detail

      • getColumnNames

        public java.lang.String[] getColumnNames()
      • getCols

        public java.lang.Object[] getCols()