cassandra-thrift-0.6.6: thrift bindings to the cassandra database

Database.Cassandra.Thrift.Cassandra_Iface

Documentation

class Cassandra_Iface a whereSource

Methods

login :: a -> Maybe String -> Maybe AuthenticationRequest -> IO ()Source

get :: a -> Maybe String -> Maybe String -> Maybe ColumnPath -> Maybe ConsistencyLevel -> IO ColumnOrSuperColumnSource

get_slice :: a -> Maybe String -> Maybe String -> Maybe ColumnParent -> Maybe SlicePredicate -> Maybe ConsistencyLevel -> IO [ColumnOrSuperColumn]Source

multiget :: a -> Maybe String -> Maybe [String] -> Maybe ColumnPath -> Maybe ConsistencyLevel -> IO (Map String ColumnOrSuperColumn)Source

multiget_slice :: a -> Maybe String -> Maybe [String] -> Maybe ColumnParent -> Maybe SlicePredicate -> Maybe ConsistencyLevel -> IO (Map String [ColumnOrSuperColumn])Source

get_count :: a -> Maybe String -> Maybe String -> Maybe ColumnParent -> Maybe ConsistencyLevel -> IO IntSource

get_range_slice :: a -> Maybe String -> Maybe ColumnParent -> Maybe SlicePredicate -> Maybe String -> Maybe String -> Maybe Int -> Maybe ConsistencyLevel -> IO [KeySlice]Source

get_range_slices :: a -> Maybe String -> Maybe ColumnParent -> Maybe SlicePredicate -> Maybe KeyRange -> Maybe ConsistencyLevel -> IO [KeySlice]Source

insert :: a -> Maybe String -> Maybe String -> Maybe ColumnPath -> Maybe String -> Maybe Int64 -> Maybe ConsistencyLevel -> IO ()Source

batch_insert :: a -> Maybe String -> Maybe String -> Maybe (Map String [ColumnOrSuperColumn]) -> Maybe ConsistencyLevel -> IO ()Source

remove :: a -> Maybe String -> Maybe String -> Maybe ColumnPath -> Maybe Int64 -> Maybe ConsistencyLevel -> IO ()Source

batch_mutate :: a -> Maybe String -> Maybe (Map String (Map String [Mutation])) -> Maybe ConsistencyLevel -> IO ()Source

get_string_property :: a -> Maybe String -> IO StringSource

get_string_list_property :: a -> Maybe String -> IO [String]Source

describe_keyspaces :: a -> IO (Set String)Source

describe_cluster_name :: a -> IO StringSource

describe_version :: a -> IO StringSource

describe_ring :: a -> Maybe String -> IO [TokenRange]Source

describe_partitioner :: a -> IO StringSource

describe_keyspace :: a -> Maybe String -> IO (Map String (Map String String))Source

describe_splits :: a -> Maybe String -> Maybe String -> Maybe Int -> IO [String]Source