public FieldStatsOptions addField ( Field field ) { Assert . notNull ( field , "Field for statistics must not be 'null'." ) ; state . fields . add ( field ) ; return new FieldStatsOptions ( field , state ) ; }
Adds a field to the statistics to be requested .