-
Updated
Oct 31, 2021 - Go
Apache Cassandra
Apache Cassandra is a free, open source, distributed, wide column store, NoSQL database management system designed to handle large amounts of data across many commodity servers, providing high availability with no single point of failure.
Here are 1,578 public repositories matching this topic...
-
Updated
Oct 31, 2021 - C++
-
Updated
Oct 28, 2021 - Python
-
Updated
Apr 24, 2020 - Jsonnet
-
Updated
Oct 31, 2021 - JavaScript
-
Updated
Oct 31, 2021 - PHP
Hey Crew,
Nice job on gocql, I'm a fan...
For my production services, I could use notification events (via callback or channel) when the gocql client disconnects and reconnects to/from Cassandra. This is useful for higher-level application logic (ie: invoke alarms, stop reading from a durable message queue, etc).
After looking through the code, it looks like the connection information is not p
The .forall pattern is a great way to create an optional filter for a field that could be defined or not:
case class Person(name: String, age: Int)
val nameOpt: Option[String] = Some("Joe")
run { query[Person].filter(p => lift(nameOpt).forall(_ == p.name)) }
// SELECT p.name, p.age FROM Person p WHERE ? IS NULL OR ? = p.name
// (i.e. when nameOpt := None then the `WHERE ? IS NULL`-
Updated
Oct 21, 2021 - Java
-
Updated
Aug 11, 2021 - JavaScript
-
Updated
Aug 16, 2021 - Scala
-
Updated
Oct 6, 2021 - Python
-
Updated
Oct 1, 2021 - Shell
-
Updated
Mar 26, 2021 - Java
-
Updated
Oct 27, 2021 - Scala
-
Updated
Oct 8, 2021 - Go
-
Updated
May 7, 2021 - JavaScript
-
Updated
Aug 13, 2019 - Scala
-
Updated
Mar 5, 2020 - Python
-
Updated
May 27, 2020 - Java
-
Updated
Oct 3, 2021 - C#
In the starter class we System.out for "logging" since logback hasn't been enabled yet in this context. This is fine except it makes it a little difficult to grok for Starter related logs.
Add a helper method to prepend levels to the messages to make it easier to identify errors versus info.
-
Updated
Oct 27, 2021 - C#
Created by Apache Software Foundation
Released July 2008
- Repository
- apache/cassandra
- Website
- cassandra.apache.org
- Wikipedia
- Wikipedia
In Chapter 5. Schema and Data Modeling first there is paragraph:
and then example: