logo
首页技术栈工具库讨论
cassy

cassy

The objective is to completely isolate away the thrift layer, providing a more idiomatic and naruall Haskell experience working with Cassandra. Be sure to check out the README on Github for some more explanation and Release Notes, which is helpful in talking about what this library can do. Certain parts of the API was inspired by pycassa (Python client) and hscassandra (on Hackage). Please see the Github repository for more detailed documentation, release notes and examples. A brief explanation of modules: Database.Cassandra.Basic: Contains a low level, simple implementation of Cassandra interaction using the thrift API underneath. Database.Cassandra.Marshall: Intended to be the main high level module that you should use, Marshall allows you to pick the serialization strategy you would like to use at each function call. We recommend using casSafeCopy due to its support for evolving data types, although casJSON maybe another popular choice. Database.Cassandra.JSON: (Now deprecated; use Marshall instead) A higher level API that operates on values with ToJSON and FromJSON isntances from the aeson library. This module has in part been inspired by Bryan O'Sullivan's riak client for Haskell. Database.Cassandra.Pool: Handles a pool of connections to multiple servers in a cluster, splitting the load among them. Database.Cassandra.Pack: Handles column types that Cassandra recognizes and adds support for Composite Columns. Database.Cassandra.Types: A common set of types used everywhere. Potential TODOs include: Support for counters and batch mutators Support for database admin operations
由 
bruceshi2021-01-13 收录
--
推荐
不推荐
更多信息
GitHub iconSoostone/cassy43
HACKAGE
carbal install cassy
查看
标签
根据用户添加的标签生成
暂无标签