code: private static void fillColumnWithRepeatingValue(Object[] vals, int fieldIdx, Object repeatingValue, int childCount) {
  
  		if (fieldIdx == -1) {
  			// set value as an object
  			Arrays.fill(vals, 0, childCount, repeatingValue);
  		} else {
  			// set value as a field of Row
  			Row[] rows = (Row[]) vals;
  			for (int i = 0; i < childCount; i++) {
  				rows[i].setField(fieldIdx, repeatingValue);
  			}
  		}
  	}
docs: Sets a repeating value to all objects or row fields of the passed vals array.
  
  @param vals The array of objects or Rows.
  @param fieldIdx If the objs array is an array of Row, the index of the field that needs to be filled.
  Otherwise a -1 must be passed and the data is directly filled into the array.
  @param repeatingValue The value that is set.
  @param childCount The number of times the value is set.