December 23rd, 2013

I have started a new open source project that is a Scala wrapper for CQL  specifically its a wrapper of the DataStax java-driver.

Test cases are a good entry point so lets start here

class ScalaCassandraSpec extends Specification {
    "Meta objects" should {
      "be able to store & retrieve their binary state" in {
      //we use a Thrift object here for portability of the data stored
      val tMeta = new TMeta()
      //setting up some randomness so we can confirm what we are writing is what we get back
      val metaUUID = UUID.randomUUID()
      val dataum = Random.alphanumeric.take(1000000).mkString
      tMeta.setDatum(dataum) //Saved to C*