cql: Cassandra CQL binary protocol.

[ database, library ] [ Propose Tags ]

Implementation of Cassandra's CQL Binary Protocol Version 3 and Version 4.

It provides encoding and decoding functionality as well as representations of the various protocol related types.

Thus it can serve as a building block for writing Cassandra drivers, such as cql-io.

[Skip to Readme]


Automatic Flags

Use incompatible legacy encoding for varint and decimal.


Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS] 3.0.1, 3.0.2, 3.0.3, 3.0.4, 3.0.5, 3.0.6, 3.0.7, 3.1.0, 3.1.1, 4.0.0, 4.0.1, 4.0.2, 4.0.3, 4.0.4
Change log CHANGELOG
Dependencies base (>=4.9 && <5.0), bytestring (>=0.10), cereal (>=0.3), containers (>=0.5), Decimal (>=0.3), iproute (>=1.3), network (>=2.4), template-haskell, text (>=0.11), time (>=1.4), transformers (>=0.3), uuid (>=1.2.6), vector (>=0.10) [details]
License LicenseRef-OtherLicense
Copyright (C) 2014-2015 Toralf Wittner, Roman S. Borschel
Author Toralf Wittner, Roman S. Borschel
Maintainer Toralf Wittner <tw@dtex.org>, Roman S. Borschel <roman@pkaboo.org>
Category Database
Home page https://gitlab.com/twittner/cql/
Bug tracker https://gitlab.com/twittner/cql/issues
Source repo head: git clone https://gitlab.com/twittner/cql
Uploaded by romanb at 2022-04-24T09:09:19Z
Distributions LTSHaskell:4.0.4, NixOS:4.0.4, Stackage:4.0.4
Reverse Dependencies 2 direct, 1 indirect [details]
Downloads 12139 total (43 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-04-24 [all 1 reports]

Readme for cql-4.0.4

[back to package description]

CQL Binary Protocol Implementation

This Haskell library implements Cassandra's CQL Binary Protocol versions 3 and 4. It provides encoding and decoding functionality as well as representations of the various protocol related types.


If you want to contribute to this project please read the file CONTRIBUTING first.



Cassandra Logo License

Copyright © 2018 Apache Software Foundation

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0. Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.