format/src/main/java/com/github/sadikovi/riff/FileWriter.java
/**
   * Update each instance of statistics with value of internal row.
   * @param stats list of statistics
   * @param td type description for a row
   * @param row row to use for updates, should match type description
   */
Update each instance of statistics with value of internal row.
@param stats list of statistics
@param td type description for a row
@param row row to use for updates, should match type description
Update each instance of statistics with value of internal row . @param stats list of statistics @param td type description for a row @param row row to use for updates should match type description
private static void updateStatistics(Statistics[] stats, TypeDescription td, InternalRow row) {
    for (int i = 0; i < stats.length; i++) {
      stats[i].update(row, td.atPosition(i).origSQLPos());
    }
  }
private static void updateStatistics ( Statistics [ ] stats , TypeDescription td , InternalRow row ) { for ( int i = 0 ; i < stats . length ; i ++ ) { stats [ i ] . update ( row , td . atPosition ( i ) . origSQLPos ( ) ) ; } }
Update each instance of statistics with value of internal row.
Update each instance of statistics with value of internal row .
// ordinal is original sql position in struct type for internal row, not index of type spec