protected void update(Object[] values) {
        int len = values != null ? values.length : 0;
        for (int i = 0, size = this.values.length; i < size; i++) {
            if (i < len) {
                this.values[i].update(values[i]); // NOSONAR
            } else {
                this.values[i].resetToNullOrEmpty();
            }
        }
    }
Creates a record object to wrap given values.

@param columnsIndex index of columns ord numbers
@param values  non-null array of values
@return record
clickhouse-data/src/main/java/com/clickhouse/data/ClickHouseSimpleRecord.java