You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
DEPRECATED: This package is no longer maintained because the
database/sql API wasn't a good fit for Cassandra. An actively devloped,
full featured Cassandra client can be found here: https://github.com/tux21b/gocql
The gocqldriver package provides a database/sql driver for CQL, the Cassandra
query language.
This package requires a recent version of Cassandra (≥ 1.2) that supports
CQL 3.0 and the new native protocol. The native protocol is still considered
beta and must be enabled manually in Cassandra 1.2 by setting
"start_native_transport" to true in conf/cassandra.yaml.
Note: gocqldriver requires the tip version of Go, as some changes in the
database/sql have not made it into 1.0.x yet. There is
a fork that backports these changes
to Go 1.0.3.
Please see gocql_test.go for some more advanced examples.
Features
Modern Cassandra client that is based on Cassandra's new native protocol
Compatible with Go's database/sql package
Built-In support for UUIDs (version 1 and 4)
Optional frame compression (using snappy)
License
Copyright (c) 2012 The gocql Authors. All rights reserved.
Use of this source code is governed by a BSD-style
license that can be found in the LICENSE file.
About
The gocqldriver package provides a "database/sql" driver for CQL, the Cassandra query language.