<commit_before>package de.fernunihagen.dna.jkn.scalephant.network;

import java.nio.ByteOrder;

public class NetworkConst {
	
	/**
	 *  The port for client requests
	 */
	public final static int NETWORK_PORT = 50505;
	
	/**
	 *  The amount of threads to handle client connections
	 */
	public final static int SERVER_CONNECTION_THREADS = 10;
	
	/**
	 * The version of the network protocol
	 */
	public static final byte PROTOCOL_VERSION = 0x01;
	
	/**
	 * Byte order for network communication
	 */
	public static final ByteOrder NETWORK_BYTEORDER = ByteOrder.BIG_ENDIAN;
	
	/**
	 * Request type insert tuple
	 */
	public static final byte REQUEST_TYPE_INSERT_TUPLE = 0x00;
	
	/**
	 * Request type delete tuple
	 */
	public static final byte REQUEST_TYPE_DELETE_TUPLE = 0x01;
	
	/**
	 * Request type delete table
	 */
	public static final byte REQUEST_TYPE_DELETE_TABLE = 0x02;
	
	/**
	 * Request type list tables
	 */
	public static final byte REQUEST_TYPE_LIST_TABLES = 0x03;
	
	/**
	 * Request type disconnect
	 */
	public static final byte REQUEST_TYPE_DISCONNECT = 0x04;
	
	/**
	 * Request type query
	 */
	public static final byte REQUEST_TYPE_QUERY = 0x05;
	
	
	/**
	 * Query type key
	 */
	public static final byte REQUEST_QUERY_KEY = 0x01;
	
	/**
	 * Query type bounding box
	 */
	public static final byte REQUEST_QUERY_BBOX = 0x02;
	
	
	/**
	 * Response type success
	 */
	public static final byte RESPONSE_SUCCESS = 0x00;
	
	/**
	 * Response type with body
	 */
	public static final byte RESPONSE_SUCCESS_WITH_BODY = 0x01;
	
	/**
	 * Response type error
	 */
	public static final byte RESPONSE_ERROR = 0x02;
	
	/**
	 * Response type error with body
	 */
	public static final byte RESPONSE_ERROR_WITH_BODY = 0x03;
	
	/**
	 * Response of the list tables request
	 */
	public static final byte RESPONSE_LIST_TABLES = 0x04;
}<commit_msg>Introduced single tuple result<commit_after>package de.fernunihagen.dna.jkn.scalephant.network;

import java.nio.ByteOrder;

public class NetworkConst {
	
	/**
	 *  The port for client requests
	 */
	public final static int NETWORK_PORT = 50505;
	
	/**
	 *  The amount of threads to handle client connections
	 */
	public final static int SERVER_CONNECTION_THREADS = 10;
	
	/**
	 * The version of the network protocol
	 */
	public static final byte PROTOCOL_VERSION = 0x01;
	
	/**
	 * Byte order for network communication
	 */
	public static final ByteOrder NETWORK_BYTEORDER = ByteOrder.BIG_ENDIAN;
	
	/**
	 * Request type insert tuple
	 */
	public static final byte REQUEST_TYPE_INSERT_TUPLE = 0x00;
	
	/**
	 * Request type delete tuple
	 */
	public static final byte REQUEST_TYPE_DELETE_TUPLE = 0x01;
	
	/**
	 * Request type delete table
	 */
	public static final byte REQUEST_TYPE_DELETE_TABLE = 0x02;
	
	/**
	 * Request type list tables
	 */
	public static final byte REQUEST_TYPE_LIST_TABLES = 0x03;
	
	/**
	 * Request type disconnect
	 */
	public static final byte REQUEST_TYPE_DISCONNECT = 0x04;
	
	/**
	 * Request type query
	 */
	public static final byte REQUEST_TYPE_QUERY = 0x05;
	
	
	/**
	 * Query type key
	 */
	public static final byte REQUEST_QUERY_KEY = 0x01;
	
	/**
	 * Query type bounding box
	 */
	public static final byte REQUEST_QUERY_BBOX = 0x02;
	
	
	/**
	 * Response type success
	 */
	public static final byte RESPONSE_SUCCESS = 0x00;
	
	/**
	 * Response type with body
	 */
	public static final byte RESPONSE_SUCCESS_WITH_BODY = 0x01;
	
	/**
	 * Response type error
	 */
	public static final byte RESPONSE_ERROR = 0x02;
	
	/**
	 * Response type error with body
	 */
	public static final byte RESPONSE_ERROR_WITH_BODY = 0x03;
	
	/**
	 * Response of the list tables request
	 */
	public static final byte RESPONSE_LIST_TABLES = 0x04;
	
	/**
	 * Response that contains a single tuple
	 */
	public static final byte RESPONSE_SINGLE_TUPLE = 0x05;
}
{'fraction_non_alphanumeric': 0.08130081300813008, 'fraction_numerical': 0.026488329399423027, 'mean_word_length': 3.2097130242825607, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, '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': '5833864', 'n_tokens_mistral': 1412, 'n_tokens_neox': 1173, 'n_words': 381}