MVN

com.trebogeer.jcql : jcql

Maven & Gradle

Mar 12, 2016
5 stars

JCQL · JCQL is a tool allowing to generate boilerplate java code from existing cassandra schema. It is intended to be used with Cassandra 2.1+ due to support of UDTs (User Defined Types)/Tuples/Collections. Cassandra's UDTs/Tuples/Collections and an ability to introspect schema through java driver make it possible to automatically generate POJOs and corresponding mappers between database and java models. Properly generated java code saves development efforts and is less error-prone compared to hand coding. Accompanied with proper CI and deployment it can also guarantee consistency between database and java models at any point of application lifecycle from development to production rollout. JCQL does not rely on java reflection or annotations which means all discrepancies between actual cassandra schema and what client code expects it to be will be identified during compilation not at runtime in the middle of the night right after production release. No need to worry about Cassandra client code performance implications due to use of reflection.

<dependency>
    <groupId>com.trebogeer.jcql</groupId>
    <artifactId>jcql</artifactId>
    <version>0.8.7</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of com.trebogeer.jcql : jcql to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 0.8.7

All Versions

Choose a version of com.trebogeer.jcql : jcql to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
0.8.x
jcql-0.8.7
jcql-0.8.6
jcql-0.8.5
jcql-0.8.4
jcql-0.8.3
jcql-0.8.2
jcql-0.8.1
jcql-0.8.0

How to add a dependency to Maven

Add the following com.trebogeer.jcql : jcql maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>com.trebogeer.jcql</groupId>
    <artifactId>jcql</artifactId>
    <version>0.8.7</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following com.trebogeer.jcql : jcql gradle dependency to your build.gradle file:

implementation 'com.trebogeer.jcql:jcql:0.8.7'

Gradle Kotlin DSL: Add the following com.trebogeer.jcql : jcql gradle kotlin dependency to your build.gradle.kts file:

implementation("com.trebogeer.jcql:jcql:0.8.7")

How to add a dependency to SBT Scala

SBT Scala: Add the following com.trebogeer.jcql : jcql sbt scala dependency to your build.sbt file:

libraryDependencies += "com.trebogeer.jcql" % "jcql" % "0.8.7"

Advertisement