troy
troy copied to clipboard
Type-safe and Schema-safe Scala wrapper for Cassandra driver
The plan is to add Cassandra itself as a compile time dependency, where we call the Java code that is responsible to validate and type check the query (properly happens...
Although the speed of `scala-parser-combinators` is not a challenge for Troy (since typically queries are small, one or few lines), Troy still would benifit from Fast parse's [tracing feature](http://www.lihaoyi.com/fastparse/#UseCases). This...
Continuation for https://github.com/tabdulradi/troy/issues/26 Currently we have Travis setup, and Bintray setup. Bintray only accepts non-snapshots, so we need - [ ] OSS.JFrog account - [ ] Modify SBT config to...
I get the following error: ```bash [error] /home/citrullin/git/scala-troy/src/main/scala/model/PageImpressionByYearMonth.scala:19: Can't find schema file /schema/ [error] val getByYearMonth = withSchema { ``` Let's take a look into the code. ```scala package model...
Need to tap into Cassandra's mechanism for grouping modifications to multiple partitions into a single statement.
Making some basic calls, I'm getting exceptions when I compile: ``` [error] ApiKey.scala:19: exception during macro expansion: java.lang.StackOverflowError [error] def create: (ApiKey) => Future[ApiKey] = withSchema { [error] ^ {...
This is a meta-issue, to track supported CQL features. > P = Parser (AST and parser), does it event parse? > S = Schema Engine, does troy understand it >...
https://cassandra.apache.org/doc/latest/cql/functions.html?highlight=aggregate#user-defined-aggregates http://docs.datastax.com/en/cql/3.3/cql/cql_reference/cqlCreateAggregate.html
http://docs.datastax.com/en/cql/3.3/cql/cql_using/useQueryStdAggregate.html - [ ] min - [ ] max - [ ] avg - [ ] sum - [ ] count (not to be confused with `SELECT COUNT(*)`