<commit_before>package net.yadaframework.web;
import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import net.yadaframework.persistence.YadaSql;

/**
 * Mapped by Spring automatically from the request
 * @see http://www.datatables.net/manual/server-side
 */
public class YadaDatatablesRequest {
	@SuppressWarnings("unused")
	private final transient Logger log = LoggerFactory.getLogger(getClass());
	
	// Draw counter. This is used by DataTables to ensure that the Ajax returns from server-side processing requests are drawn in sequence by DataTables 
	int draw;
	// Paging first record indicator. This is the start point in the current data set (0 index based - i.e. 0 is the first record).
	int start;
	// Number of records that the table can display in the current draw. It is expected that the number of records returned will be equal to this number, unless the server has fewer records to return. Note that this can be -1 to indicate that all records should be returned
	int length;
	List<YadaDatatablesColumn> columns = null;
	// Global search. To be applied to all columns which have searchable as true
	YadaDatatablesColumnSearch search = new YadaDatatablesColumnSearch();
	// array defining how many columns are being ordered upon - i.e. if the array length is 1, then a single column sort is being performed, otherwise a multi-column sort is being performed.
	List<YadaDatatablesOrder> order;
	Map<String, String> extraParam;
	
	// Output values
	long recordsTotal;
	long recordsFiltered;
	
	// Query builder to use for additional JPL filtering
	private YadaSql yadaSql = YadaSql.instance();

	/**
	 * 
	 * @return Draw counter. This is used by DataTables to ensure that the Ajax returns from server-side processing requests are drawn in sequence by DataTables 
	 */
	public int getDraw() {
		return draw;
	}
	
	public void setDraw(int draw) {
		this.draw = draw;
	}
	
	/**
	 * 
	 * @return Paging first record indicator. This is the start point in the current data set (0 index based - i.e. 0 is the first record).
	 */
	public int getStart() {
		return start;
	}
	
	public void setStart(int start) {<commit_msg>Bug Fix<commit_after>package net.yadaframework.web;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import net.yadaframework.persistence.YadaSql;

/**
 * Mapped by Spring automatically from the request
 * @see http://www.datatables.net/manual/server-side
 */
public class YadaDatatablesRequest {
	@SuppressWarnings("unused")
	private final transient Logger log = LoggerFactory.getLogger(getClass());
	
	// Draw counter. This is used by DataTables to ensure that the Ajax returns from server-side processing requests are drawn in sequence by DataTables 
	int draw;
	// Paging first record indicator. This is the start point in the current data set (0 index based - i.e. 0 is the first record).
	int start;
	// Number of records that the table can display in the current draw. It is expected that the number of records returned will be equal to this number, unless the server has fewer records to return. Note that this can be -1 to indicate that all records should be returned
	int length;
	List<YadaDatatablesColumn> columns = null;
	// Global search. To be applied to all columns which have searchable as true
	YadaDatatablesColumnSearch search = new YadaDatatablesColumnSearch();
	// array defining how many columns are being ordered upon - i.e. if the array length is 1, then a single column sort is being performed, otherwise a multi-column sort is being performed.
	List<YadaDatatablesOrder> order;
	Map<String, String> extraParam = new HashMap<>();
	
	// Output values
	long recordsTotal;
	long recordsFiltered;
	
	// Query builder to use for additional JPL filtering
	private YadaSql yadaSql = YadaSql.instance();

	/**
	 * 
	 * @return Draw counter. This is used by DataTables to ensure that the Ajax returns from server-side processing requests are drawn in sequence by DataTables 
	 */
	public int getDraw() {
		return draw;
	}
	
	public void setDraw(int draw) {
		this.draw = draw;
	}
	
	/**
	 * 
	 * @return Paging first record indicator. This is the start point in the current data set (0 index based - i.e. 0 is the first record).
	 */
	public int getStart() {
		return start;
	}
	
	public void setStart(int start) {
{'fraction_non_alphanumeric': 0.0729594163246694, 'fraction_numerical': 0.00364797081623347, 'mean_word_length': 3.9016759776536314, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5218491', 'n_tokens_mistral': 1258, 'n_tokens_neox': 1199, 'n_words': 553}