public static List < String > getColumnLabels ( ResultSet resultSet ) { return Lists . transform ( Lists . newArrayList ( resultSet . getColumnTypes ( ) ) , new Function < ColumnType , String > ( ) { public String apply ( ColumnType input ) { return input . getLabelName ( ) ; } } ) ; }
Gets the column labels for the result set .