cassandra-thrift 0.7.2.1 → 0.7.4
raw patch · 2 files changed
+8/−4 lines, 2 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
+ Database.Cassandra.Thrift.Cassandra_Types: THREE :: ConsistencyLevel
+ Database.Cassandra.Thrift.Cassandra_Types: TWO :: ConsistencyLevel
Files
Database/Cassandra/Thrift/Cassandra_Types.hs view
@@ -21,7 +21,7 @@ import Data.Int import Data.Word import Prelude ((==), String, Eq, Show, Ord, Maybe(..), (&&), (||), return, IO, Enum, fromIntegral, fromEnum, toEnum, Bool(..), (++), ($), Double, (-), length)-data ConsistencyLevel = ONE|QUORUM|LOCAL_QUORUM|EACH_QUORUM|ALL|ANY deriving (Show,Eq, Typeable, Ord)+data ConsistencyLevel = ONE|QUORUM|LOCAL_QUORUM|EACH_QUORUM|ALL|ANY|TWO|THREE deriving (Show,Eq, Typeable, Ord) instance Enum ConsistencyLevel where fromEnum t = case t of ONE -> 1@@ -30,6 +30,8 @@ EACH_QUORUM -> 4 ALL -> 5 ANY -> 6+ TWO -> 7+ THREE -> 8 toEnum t = case t of 1 -> ONE 2 -> QUORUM@@ -37,6 +39,8 @@ 4 -> EACH_QUORUM 5 -> ALL 6 -> ANY+ 7 -> TWO+ 8 -> THREE _ -> throw ThriftException data IndexOperator = EQ|GTE|GT|LTE|LT deriving (Show,Eq, Typeable, Ord) instance Enum IndexOperator where
cassandra-thrift.cabal view
@@ -1,14 +1,14 @@ Name: cassandra-thrift -Version: 0.7.2.1+Version: 0.7.4 License: OtherLicense License-File: LICENSE-Cabal-version: >= 1.4+Cabal-version: >= 1.6 Author: Thrift v.0.5.0 Maintainer: kirk@glyphsoftware.com Stability: alpha Synopsis: thrift bindings to the cassandra database Description:- The Cassandra (v.0.7.2) database bindings, generated using the Thrift (v.0.5.0) compliler, Released under the Apache 2.0 license. + The Cassandra (v.0.7.4) database bindings, generated using the Thrift (v.0.5.0) compliler, Released under the Apache 2.0 license. Category: Database Build-type: Simple