<commit_before>/*
 * Takes any object and stores it with the key
 *
 */
package com.ligadata.keyvaluestore

import scala.collection.mutable.ArrayBuffer
import scala.collection.mutable.HashMap
import com.ligadata.keyvaluestore.cassandra.KeyValueCassandra
import java.lang.Comparable

case class KeyNotFoundException(e: String) extends Throwable(e)

class ByteArray extends ArrayBuffer[Byte]

class Key extends ByteArray
/*
with Comparable[Key]
{
	def compareTo(other : Key) : Int =
	{
		return (this.hashCode - other.hashCode)
	}
}
*/
class Value extends ByteArray

class PropertyMap extends HashMap[String, String]

trait IStorage
{
	def Key : Key
	def Value : Value
	def Construct(Key: Key, Value: Value)
}

trait DataStoreOperations
{<commit_msg>Made KeyNotFoundException as Exception instead of Throwable<commit_after>/*
 * Takes any object and stores it with the key
 *
 */
package com.ligadata.keyvaluestore

import scala.collection.mutable.ArrayBuffer
import scala.collection.mutable.HashMap
import com.ligadata.keyvaluestore.cassandra.KeyValueCassandra
import java.lang.Comparable

case class KeyNotFoundException(e: String) extends Exception(e)

class ByteArray extends ArrayBuffer[Byte]

class Key extends ByteArray
/*
with Comparable[Key]
{
	def compareTo(other : Key) : Int =
	{
		return (this.hashCode - other.hashCode)
	}
}
*/
class Value extends ByteArray

class PropertyMap extends HashMap[String, String]

trait IStorage
{
	def Key : Key
	def Value : Value
	def Construct(Key: Key, Value: Value)
}

trait DataStoreOperations
{
{'fraction_non_alphanumeric': 0.08171206225680934, 'fraction_numerical': 0.0, 'mean_word_length': 5.098814229249012, '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': '1567949', 'n_tokens_mistral': 474, 'n_tokens_neox': 480, 'n_words': 140}