format/src/main/java/com/github/sadikovi/riff/FileWriter.java
/**
   * Create new array of statistics for a stripe.
   * @return statistics
   */
Create new array of statistics for a stripe.
@return statistics
Create new array of statistics for a stripe . @return statistics
private static Statistics[] createStatistics(TypeDescription td) {
    Statistics[] stats = new Statistics[td.fields().length];
    for (int i = 0; i < td.fields().length; i++) {
      stats[i] = Statistics.sqlTypeToStatistics(td.fields()[i].dataType());
    }
    return stats;
  }
private static Statistics [ ] createStatistics ( TypeDescription td ) { Statistics [ ] stats = new Statistics [ td . fields ( ) . length ] ; for ( int i = 0 ; i < td . fields ( ) . length ; i ++ ) { stats [ i ] = Statistics . sqlTypeToStatistics ( td . fields ( ) [ i ] . dataType ( ) ) ; } return stats ; }
Create new array of statistics for a stripe.
Create new array of statistics for a stripe .