riak-1.1.2.6: A Haskell client for the Riak decentralized data store

Copyright(c) 2011 MailRank Inc.
LicenseApache
MaintainerMark Hibberd <mark@hibberd.id.au>, Nathan Hunter <nhunter@janrain.com>
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell98

Network.Riak.Request

Contents

Description

Smart constructors for Riak types. These functions correctly URL-escape bucket, key, and link names. You should thus use them in preference to the raw data constructors.

Synopsis

Connection management

data PingRequest #

Instances
Eq PingRequest 
Instance details

Defined in Network.Riak.Protocol.PingRequest

Data PingRequest 
Instance details

Defined in Network.Riak.Protocol.PingRequest

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PingRequest -> c PingRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PingRequest #

toConstr :: PingRequest -> Constr #

dataTypeOf :: PingRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PingRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PingRequest) #

gmapT :: (forall b. Data b => b -> b) -> PingRequest -> PingRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PingRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PingRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> PingRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PingRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PingRequest -> m PingRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PingRequest -> m PingRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PingRequest -> m PingRequest #

Ord PingRequest 
Instance details

Defined in Network.Riak.Protocol.PingRequest

Show PingRequest 
Instance details

Defined in Network.Riak.Protocol.PingRequest

Generic PingRequest 
Instance details

Defined in Network.Riak.Protocol.PingRequest

Associated Types

type Rep PingRequest :: Type -> Type #

GPB PingRequest 
Instance details

Defined in Network.Riak.Protocol.PingRequest

Wire PingRequest 
Instance details

Defined in Network.Riak.Protocol.PingRequest

TextMsg PingRequest 
Instance details

Defined in Network.Riak.Protocol.PingRequest

TextType PingRequest 
Instance details

Defined in Network.Riak.Protocol.PingRequest

Methods

tellT :: String -> PingRequest -> Output #

getT :: Stream s Identity Char => String -> Parsec s () PingRequest #

ReflectDescriptor PingRequest 
Instance details

Defined in Network.Riak.Protocol.PingRequest

Mergeable PingRequest 
Instance details

Defined in Network.Riak.Protocol.PingRequest

Default PingRequest 
Instance details

Defined in Network.Riak.Protocol.PingRequest

Request PingRequest Source # 
Instance details

Defined in Network.Riak.Tag

Tagged PingRequest Source # 
Instance details

Defined in Network.Riak.Tag

MessageAPI msg' (msg' -> PingRequest) PingRequest 
Instance details

Defined in Network.Riak.Protocol.PingRequest

Methods

getVal :: msg' -> (msg' -> PingRequest) -> PingRequest #

isSet :: msg' -> (msg' -> PingRequest) -> Bool #

type Rep PingRequest 
Instance details

Defined in Network.Riak.Protocol.PingRequest

type Rep PingRequest = D1 (MetaData "PingRequest" "Network.Riak.Protocol.PingRequest" "riak-protobuf-0.24.0.0-7JwUXguEL16DFQwjRdUSeY" False) (C1 (MetaCons "PingRequest" PrefixI False) (U1 :: Type -> Type))

ping :: PingRequest Source #

Create a ping request.

data GetClientIDRequest #

Instances
Eq GetClientIDRequest 
Instance details

Defined in Network.Riak.Protocol.GetClientIDRequest

Data GetClientIDRequest 
Instance details

Defined in Network.Riak.Protocol.GetClientIDRequest

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetClientIDRequest -> c GetClientIDRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetClientIDRequest #

toConstr :: GetClientIDRequest -> Constr #

dataTypeOf :: GetClientIDRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetClientIDRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetClientIDRequest) #

gmapT :: (forall b. Data b => b -> b) -> GetClientIDRequest -> GetClientIDRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetClientIDRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetClientIDRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetClientIDRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetClientIDRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetClientIDRequest -> m GetClientIDRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetClientIDRequest -> m GetClientIDRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetClientIDRequest -> m GetClientIDRequest #

Ord GetClientIDRequest 
Instance details

Defined in Network.Riak.Protocol.GetClientIDRequest

Show GetClientIDRequest 
Instance details

Defined in Network.Riak.Protocol.GetClientIDRequest

Generic GetClientIDRequest 
Instance details

Defined in Network.Riak.Protocol.GetClientIDRequest

Associated Types

type Rep GetClientIDRequest :: Type -> Type #

GPB GetClientIDRequest 
Instance details

Defined in Network.Riak.Protocol.GetClientIDRequest

Wire GetClientIDRequest 
Instance details

Defined in Network.Riak.Protocol.GetClientIDRequest

TextMsg GetClientIDRequest 
Instance details

Defined in Network.Riak.Protocol.GetClientIDRequest

TextType GetClientIDRequest 
Instance details

Defined in Network.Riak.Protocol.GetClientIDRequest

ReflectDescriptor GetClientIDRequest 
Instance details

Defined in Network.Riak.Protocol.GetClientIDRequest

Mergeable GetClientIDRequest 
Instance details

Defined in Network.Riak.Protocol.GetClientIDRequest

Default GetClientIDRequest 
Instance details

Defined in Network.Riak.Protocol.GetClientIDRequest

Request GetClientIDRequest Source # 
Instance details

Defined in Network.Riak.Tag

Tagged GetClientIDRequest Source # 
Instance details

Defined in Network.Riak.Tag

Exchange GetClientIDRequest GetClientIDResponse Source # 
Instance details

Defined in Network.Riak.Tag

MessageAPI msg' (msg' -> GetClientIDRequest) GetClientIDRequest 
Instance details

Defined in Network.Riak.Protocol.GetClientIDRequest

Methods

getVal :: msg' -> (msg' -> GetClientIDRequest) -> GetClientIDRequest #

isSet :: msg' -> (msg' -> GetClientIDRequest) -> Bool #

type Rep GetClientIDRequest 
Instance details

Defined in Network.Riak.Protocol.GetClientIDRequest

type Rep GetClientIDRequest = D1 (MetaData "GetClientIDRequest" "Network.Riak.Protocol.GetClientIDRequest" "riak-protobuf-0.24.0.0-7JwUXguEL16DFQwjRdUSeY" False) (C1 (MetaCons "GetClientIDRequest" PrefixI False) (U1 :: Type -> Type))

getClientID :: GetClientIDRequest Source #

Create a client-ID request.

data GetServerInfoRequest #

Instances
Eq GetServerInfoRequest 
Instance details

Defined in Network.Riak.Protocol.GetServerInfoRequest

Data GetServerInfoRequest 
Instance details

Defined in Network.Riak.Protocol.GetServerInfoRequest

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetServerInfoRequest -> c GetServerInfoRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetServerInfoRequest #

toConstr :: GetServerInfoRequest -> Constr #

dataTypeOf :: GetServerInfoRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetServerInfoRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetServerInfoRequest) #

gmapT :: (forall b. Data b => b -> b) -> GetServerInfoRequest -> GetServerInfoRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetServerInfoRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetServerInfoRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetServerInfoRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetServerInfoRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetServerInfoRequest -> m GetServerInfoRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetServerInfoRequest -> m GetServerInfoRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetServerInfoRequest -> m GetServerInfoRequest #

Ord GetServerInfoRequest 
Instance details

Defined in Network.Riak.Protocol.GetServerInfoRequest

Show GetServerInfoRequest 
Instance details

Defined in Network.Riak.Protocol.GetServerInfoRequest

Generic GetServerInfoRequest 
Instance details

Defined in Network.Riak.Protocol.GetServerInfoRequest

Associated Types

type Rep GetServerInfoRequest :: Type -> Type #

GPB GetServerInfoRequest 
Instance details

Defined in Network.Riak.Protocol.GetServerInfoRequest

Wire GetServerInfoRequest 
Instance details

Defined in Network.Riak.Protocol.GetServerInfoRequest

TextMsg GetServerInfoRequest 
Instance details

Defined in Network.Riak.Protocol.GetServerInfoRequest

TextType GetServerInfoRequest 
Instance details

Defined in Network.Riak.Protocol.GetServerInfoRequest

ReflectDescriptor GetServerInfoRequest 
Instance details

Defined in Network.Riak.Protocol.GetServerInfoRequest

Mergeable GetServerInfoRequest 
Instance details

Defined in Network.Riak.Protocol.GetServerInfoRequest

Default GetServerInfoRequest 
Instance details

Defined in Network.Riak.Protocol.GetServerInfoRequest

Request GetServerInfoRequest Source # 
Instance details

Defined in Network.Riak.Tag

Tagged GetServerInfoRequest Source # 
Instance details

Defined in Network.Riak.Tag

Exchange GetServerInfoRequest ServerInfo Source # 
Instance details

Defined in Network.Riak.Tag

MessageAPI msg' (msg' -> GetServerInfoRequest) GetServerInfoRequest 
Instance details

Defined in Network.Riak.Protocol.GetServerInfoRequest

Methods

getVal :: msg' -> (msg' -> GetServerInfoRequest) -> GetServerInfoRequest #

isSet :: msg' -> (msg' -> GetServerInfoRequest) -> Bool #

type Rep GetServerInfoRequest 
Instance details

Defined in Network.Riak.Protocol.GetServerInfoRequest

type Rep GetServerInfoRequest = D1 (MetaData "GetServerInfoRequest" "Network.Riak.Protocol.GetServerInfoRequest" "riak-protobuf-0.24.0.0-7JwUXguEL16DFQwjRdUSeY" False) (C1 (MetaCons "GetServerInfoRequest" PrefixI False) (U1 :: Type -> Type))

getServerInfo :: GetServerInfoRequest Source #

Create a server-info request.

Data management

data GetRequest #

Instances
Eq GetRequest 
Instance details

Defined in Network.Riak.Protocol.GetRequest

Data GetRequest 
Instance details

Defined in Network.Riak.Protocol.GetRequest

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetRequest -> c GetRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetRequest #

toConstr :: GetRequest -> Constr #

dataTypeOf :: GetRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetRequest) #

gmapT :: (forall b. Data b => b -> b) -> GetRequest -> GetRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetRequest -> m GetRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetRequest -> m GetRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetRequest -> m GetRequest #

Ord GetRequest 
Instance details

Defined in Network.Riak.Protocol.GetRequest

Show GetRequest 
Instance details

Defined in Network.Riak.Protocol.GetRequest

Generic GetRequest 
Instance details

Defined in Network.Riak.Protocol.GetRequest

Associated Types

type Rep GetRequest :: Type -> Type #

GPB GetRequest 
Instance details

Defined in Network.Riak.Protocol.GetRequest

Wire GetRequest 
Instance details

Defined in Network.Riak.Protocol.GetRequest

TextMsg GetRequest 
Instance details

Defined in Network.Riak.Protocol.GetRequest

Methods

textPut :: GetRequest -> Output #

textGet :: Stream s Identity Char => Parsec s () GetRequest #

TextType GetRequest 
Instance details

Defined in Network.Riak.Protocol.GetRequest

Methods

tellT :: String -> GetRequest -> Output #

getT :: Stream s Identity Char => String -> Parsec s () GetRequest #

ReflectDescriptor GetRequest 
Instance details

Defined in Network.Riak.Protocol.GetRequest

Mergeable GetRequest 
Instance details

Defined in Network.Riak.Protocol.GetRequest

Default GetRequest 
Instance details

Defined in Network.Riak.Protocol.GetRequest

Request GetRequest Source # 
Instance details

Defined in Network.Riak.Tag

Tagged GetRequest Source # 
Instance details

Defined in Network.Riak.Tag

Exchange GetRequest GetResponse Source # 
Instance details

Defined in Network.Riak.Tag

MessageAPI msg' (msg' -> GetRequest) GetRequest 
Instance details

Defined in Network.Riak.Protocol.GetRequest

Methods

getVal :: msg' -> (msg' -> GetRequest) -> GetRequest #

isSet :: msg' -> (msg' -> GetRequest) -> Bool #

type Rep GetRequest 
Instance details

Defined in Network.Riak.Protocol.GetRequest

type Rep GetRequest = D1 (MetaData "GetRequest" "Network.Riak.Protocol.GetRequest" "riak-protobuf-0.24.0.0-7JwUXguEL16DFQwjRdUSeY" False) (C1 (MetaCons "GetRequest" PrefixI True) (((S1 (MetaSel (Just "bucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ByteString) :*: (S1 (MetaSel (Just "key") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ByteString) :*: S1 (MetaSel (Just "r") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Word32)))) :*: (S1 (MetaSel (Just "pr") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Word32)) :*: (S1 (MetaSel (Just "basic_quorum") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "notfound_ok") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 (MetaSel (Just "if_modified") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ByteString)) :*: (S1 (MetaSel (Just "head") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "deletedvclock") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))) :*: ((S1 (MetaSel (Just "timeout") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Word32)) :*: S1 (MetaSel (Just "sloppy_quorum") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "n_val") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Word32)) :*: S1 (MetaSel (Just "type'") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ByteString)))))))

get :: Maybe BucketType -> Bucket -> Key -> R -> GetRequest Source #

Create a get request. The bucket and key names are URL-escaped.

getByIndex :: Bucket -> IndexQuery -> IndexRequest Source #

Create a secondary index request. Bucket, key and index names and values are URL-escaped.

data IndexRequest #

Instances
Eq IndexRequest 
Instance details

Defined in Network.Riak.Protocol.IndexRequest

Data IndexRequest 
Instance details

Defined in Network.Riak.Protocol.IndexRequest

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> IndexRequest -> c IndexRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c IndexRequest #

toConstr :: IndexRequest -> Constr #

dataTypeOf :: IndexRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c IndexRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c IndexRequest) #

gmapT :: (forall b. Data b => b -> b) -> IndexRequest -> IndexRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> IndexRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> IndexRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> IndexRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> IndexRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> IndexRequest -> m IndexRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> IndexRequest -> m IndexRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> IndexRequest -> m IndexRequest #

Ord IndexRequest 
Instance details

Defined in Network.Riak.Protocol.IndexRequest

Show IndexRequest 
Instance details

Defined in Network.Riak.Protocol.IndexRequest

Generic IndexRequest 
Instance details

Defined in Network.Riak.Protocol.IndexRequest

Associated Types

type Rep IndexRequest :: Type -> Type #

GPB IndexRequest 
Instance details

Defined in Network.Riak.Protocol.IndexRequest

Wire IndexRequest 
Instance details

Defined in Network.Riak.Protocol.IndexRequest

TextMsg IndexRequest 
Instance details

Defined in Network.Riak.Protocol.IndexRequest

TextType IndexRequest 
Instance details

Defined in Network.Riak.Protocol.IndexRequest

Methods

tellT :: String -> IndexRequest -> Output #

getT :: Stream s Identity Char => String -> Parsec s () IndexRequest #

ReflectDescriptor IndexRequest 
Instance details

Defined in Network.Riak.Protocol.IndexRequest

Mergeable IndexRequest 
Instance details

Defined in Network.Riak.Protocol.IndexRequest

Default IndexRequest 
Instance details

Defined in Network.Riak.Protocol.IndexRequest

Request IndexRequest Source # 
Instance details

Defined in Network.Riak.Tag

Tagged IndexRequest Source # 
Instance details

Defined in Network.Riak.Tag

Exchange IndexRequest IndexResponse Source # 
Instance details

Defined in Network.Riak.Tag

MessageAPI msg' (msg' -> IndexRequest) IndexRequest 
Instance details

Defined in Network.Riak.Protocol.IndexRequest

Methods

getVal :: msg' -> (msg' -> IndexRequest) -> IndexRequest #

isSet :: msg' -> (msg' -> IndexRequest) -> Bool #

type Rep IndexRequest 
Instance details

Defined in Network.Riak.Protocol.IndexRequest

type Rep IndexRequest = D1 (MetaData "IndexRequest" "Network.Riak.Protocol.IndexRequest" "riak-protobuf-0.24.0.0-7JwUXguEL16DFQwjRdUSeY" False) (C1 (MetaCons "IndexRequest" PrefixI True) (((S1 (MetaSel (Just "bucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ByteString) :*: (S1 (MetaSel (Just "index") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ByteString) :*: S1 (MetaSel (Just "qtype") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 IndexQueryType))) :*: ((S1 (MetaSel (Just "key") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ByteString)) :*: S1 (MetaSel (Just "range_min") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ByteString))) :*: (S1 (MetaSel (Just "range_max") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ByteString)) :*: S1 (MetaSel (Just "return_terms") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))))) :*: ((S1 (MetaSel (Just "stream") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "max_results") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Word32)) :*: S1 (MetaSel (Just "continuation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ByteString)))) :*: ((S1 (MetaSel (Just "timeout") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Word32)) :*: S1 (MetaSel (Just "type'") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ByteString))) :*: (S1 (MetaSel (Just "term_regex") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ByteString)) :*: S1 (MetaSel (Just "pagination_sort") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))))

data PutRequest #

Instances
Eq PutRequest 
Instance details

Defined in Network.Riak.Protocol.PutRequest

Data PutRequest 
Instance details

Defined in Network.Riak.Protocol.PutRequest

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> PutRequest -> c PutRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c PutRequest #

toConstr :: PutRequest -> Constr #

dataTypeOf :: PutRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c PutRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c PutRequest) #

gmapT :: (forall b. Data b => b -> b) -> PutRequest -> PutRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> PutRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> PutRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> PutRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> PutRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> PutRequest -> m PutRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> PutRequest -> m PutRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> PutRequest -> m PutRequest #

Ord PutRequest 
Instance details

Defined in Network.Riak.Protocol.PutRequest

Show PutRequest 
Instance details

Defined in Network.Riak.Protocol.PutRequest

Generic PutRequest 
Instance details

Defined in Network.Riak.Protocol.PutRequest

Associated Types

type Rep PutRequest :: Type -> Type #

GPB PutRequest 
Instance details

Defined in Network.Riak.Protocol.PutRequest

Wire PutRequest 
Instance details

Defined in Network.Riak.Protocol.PutRequest

TextMsg PutRequest 
Instance details

Defined in Network.Riak.Protocol.PutRequest

Methods

textPut :: PutRequest -> Output #

textGet :: Stream s Identity Char => Parsec s () PutRequest #

TextType PutRequest 
Instance details

Defined in Network.Riak.Protocol.PutRequest

Methods

tellT :: String -> PutRequest -> Output #

getT :: Stream s Identity Char => String -> Parsec s () PutRequest #

ReflectDescriptor PutRequest 
Instance details

Defined in Network.Riak.Protocol.PutRequest

Mergeable PutRequest 
Instance details

Defined in Network.Riak.Protocol.PutRequest

Default PutRequest 
Instance details

Defined in Network.Riak.Protocol.PutRequest

Request PutRequest Source # 
Instance details

Defined in Network.Riak.Tag

Tagged PutRequest Source # 
Instance details

Defined in Network.Riak.Tag

Exchange PutRequest PutResponse Source # 
Instance details

Defined in Network.Riak.Tag

MessageAPI msg' (msg' -> PutRequest) PutRequest 
Instance details

Defined in Network.Riak.Protocol.PutRequest

Methods

getVal :: msg' -> (msg' -> PutRequest) -> PutRequest #

isSet :: msg' -> (msg' -> PutRequest) -> Bool #

type Rep PutRequest 
Instance details

Defined in Network.Riak.Protocol.PutRequest

type Rep PutRequest = D1 (MetaData "PutRequest" "Network.Riak.Protocol.PutRequest" "riak-protobuf-0.24.0.0-7JwUXguEL16DFQwjRdUSeY" False) (C1 (MetaCons "PutRequest" PrefixI True) ((((S1 (MetaSel (Just "bucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ByteString) :*: S1 (MetaSel (Just "key") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ByteString))) :*: (S1 (MetaSel (Just "vclock") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ByteString)) :*: S1 (MetaSel (Just "content") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Content))) :*: ((S1 (MetaSel (Just "w") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Word32)) :*: S1 (MetaSel (Just "dw") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Word32))) :*: (S1 (MetaSel (Just "return_body") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "pw") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Word32))))) :*: (((S1 (MetaSel (Just "if_not_modified") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "if_none_match") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "return_head") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "timeout") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Word32)))) :*: ((S1 (MetaSel (Just "asis") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "sloppy_quorum") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "n_val") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Word32)) :*: S1 (MetaSel (Just "type'") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ByteString)))))))

put :: Maybe BucketType -> Bucket -> Key -> Maybe VClock -> Content -> W -> DW -> Bool -> PutRequest Source #

Create a put request. The bucket and key names are URL-escaped. Any Link values inside the Content are assumed to have been constructed with the link function, and hence not escaped.

data DeleteRequest #

Instances
Eq DeleteRequest 
Instance details

Defined in Network.Riak.Protocol.DeleteRequest

Data DeleteRequest 
Instance details

Defined in Network.Riak.Protocol.DeleteRequest

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteRequest -> c DeleteRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteRequest #

toConstr :: DeleteRequest -> Constr #

dataTypeOf :: DeleteRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DeleteRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteRequest) #

gmapT :: (forall b. Data b => b -> b) -> DeleteRequest -> DeleteRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteRequest -> m DeleteRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteRequest -> m DeleteRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteRequest -> m DeleteRequest #

Ord DeleteRequest 
Instance details

Defined in Network.Riak.Protocol.DeleteRequest

Show DeleteRequest 
Instance details

Defined in Network.Riak.Protocol.DeleteRequest

Generic DeleteRequest 
Instance details

Defined in Network.Riak.Protocol.DeleteRequest

Associated Types

type Rep DeleteRequest :: Type -> Type #

GPB DeleteRequest 
Instance details

Defined in Network.Riak.Protocol.DeleteRequest

Wire DeleteRequest 
Instance details

Defined in Network.Riak.Protocol.DeleteRequest

TextMsg DeleteRequest 
Instance details

Defined in Network.Riak.Protocol.DeleteRequest

TextType DeleteRequest 
Instance details

Defined in Network.Riak.Protocol.DeleteRequest

Methods

tellT :: String -> DeleteRequest -> Output #

getT :: Stream s Identity Char => String -> Parsec s () DeleteRequest #

ReflectDescriptor DeleteRequest 
Instance details

Defined in Network.Riak.Protocol.DeleteRequest

Mergeable DeleteRequest 
Instance details

Defined in Network.Riak.Protocol.DeleteRequest

Default DeleteRequest 
Instance details

Defined in Network.Riak.Protocol.DeleteRequest

Request DeleteRequest Source # 
Instance details

Defined in Network.Riak.Tag

Tagged DeleteRequest Source # 
Instance details

Defined in Network.Riak.Tag

MessageAPI msg' (msg' -> DeleteRequest) DeleteRequest 
Instance details

Defined in Network.Riak.Protocol.DeleteRequest

Methods

getVal :: msg' -> (msg' -> DeleteRequest) -> DeleteRequest #

isSet :: msg' -> (msg' -> DeleteRequest) -> Bool #

type Rep DeleteRequest 
Instance details

Defined in Network.Riak.Protocol.DeleteRequest

type Rep DeleteRequest = D1 (MetaData "DeleteRequest" "Network.Riak.Protocol.DeleteRequest" "riak-protobuf-0.24.0.0-7JwUXguEL16DFQwjRdUSeY" False) (C1 (MetaCons "DeleteRequest" PrefixI True) (((S1 (MetaSel (Just "bucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ByteString) :*: (S1 (MetaSel (Just "key") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ByteString) :*: S1 (MetaSel (Just "rw") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Word32)))) :*: (S1 (MetaSel (Just "vclock") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ByteString)) :*: (S1 (MetaSel (Just "r") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Word32)) :*: S1 (MetaSel (Just "w") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Word32))))) :*: ((S1 (MetaSel (Just "pr") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Word32)) :*: (S1 (MetaSel (Just "pw") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Word32)) :*: S1 (MetaSel (Just "dw") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Word32)))) :*: ((S1 (MetaSel (Just "timeout") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Word32)) :*: S1 (MetaSel (Just "sloppy_quorum") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 (MetaSel (Just "n_val") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Word32)) :*: S1 (MetaSel (Just "type'") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ByteString)))))))

delete :: Maybe BucketType -> Bucket -> Key -> RW -> DeleteRequest Source #

Create a delete request. The bucket and key names are URL-escaped.

Metadata

data Link #

link :: Bucket -> Key -> Tag -> Link Source #

Create a link. The bucket and key names are URL-escaped.

data ListBucketsRequest #

Instances
Eq ListBucketsRequest 
Instance details

Defined in Network.Riak.Protocol.ListBucketsRequest

Data ListBucketsRequest 
Instance details

Defined in Network.Riak.Protocol.ListBucketsRequest

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListBucketsRequest -> c ListBucketsRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListBucketsRequest #

toConstr :: ListBucketsRequest -> Constr #

dataTypeOf :: ListBucketsRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListBucketsRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListBucketsRequest) #

gmapT :: (forall b. Data b => b -> b) -> ListBucketsRequest -> ListBucketsRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListBucketsRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListBucketsRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListBucketsRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListBucketsRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListBucketsRequest -> m ListBucketsRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListBucketsRequest -> m ListBucketsRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListBucketsRequest -> m ListBucketsRequest #

Ord ListBucketsRequest 
Instance details

Defined in Network.Riak.Protocol.ListBucketsRequest

Show ListBucketsRequest 
Instance details

Defined in Network.Riak.Protocol.ListBucketsRequest

Generic ListBucketsRequest 
Instance details

Defined in Network.Riak.Protocol.ListBucketsRequest

Associated Types

type Rep ListBucketsRequest :: Type -> Type #

GPB ListBucketsRequest 
Instance details

Defined in Network.Riak.Protocol.ListBucketsRequest

Wire ListBucketsRequest 
Instance details

Defined in Network.Riak.Protocol.ListBucketsRequest

TextMsg ListBucketsRequest 
Instance details

Defined in Network.Riak.Protocol.ListBucketsRequest

TextType ListBucketsRequest 
Instance details

Defined in Network.Riak.Protocol.ListBucketsRequest

ReflectDescriptor ListBucketsRequest 
Instance details

Defined in Network.Riak.Protocol.ListBucketsRequest

Mergeable ListBucketsRequest 
Instance details

Defined in Network.Riak.Protocol.ListBucketsRequest

Default ListBucketsRequest 
Instance details

Defined in Network.Riak.Protocol.ListBucketsRequest

Request ListBucketsRequest Source # 
Instance details

Defined in Network.Riak.Tag

Tagged ListBucketsRequest Source # 
Instance details

Defined in Network.Riak.Tag

Exchange ListBucketsRequest ListBucketsResponse Source # 
Instance details

Defined in Network.Riak.Tag

MessageAPI msg' (msg' -> ListBucketsRequest) ListBucketsRequest 
Instance details

Defined in Network.Riak.Protocol.ListBucketsRequest

Methods

getVal :: msg' -> (msg' -> ListBucketsRequest) -> ListBucketsRequest #

isSet :: msg' -> (msg' -> ListBucketsRequest) -> Bool #

type Rep ListBucketsRequest 
Instance details

Defined in Network.Riak.Protocol.ListBucketsRequest

type Rep ListBucketsRequest = D1 (MetaData "ListBucketsRequest" "Network.Riak.Protocol.ListBucketsRequest" "riak-protobuf-0.24.0.0-7JwUXguEL16DFQwjRdUSeY" False) (C1 (MetaCons "ListBucketsRequest" PrefixI True) (S1 (MetaSel (Just "timeout") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Word32)) :*: (S1 (MetaSel (Just "stream") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 (MetaSel (Just "type'") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ByteString)))))

listBuckets :: Maybe BucketType -> ListBucketsRequest Source #

Create a list-buckets request.

data ListKeysRequest #

Instances
Eq ListKeysRequest 
Instance details

Defined in Network.Riak.Protocol.ListKeysRequest

Data ListKeysRequest 
Instance details

Defined in Network.Riak.Protocol.ListKeysRequest

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListKeysRequest -> c ListKeysRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListKeysRequest #

toConstr :: ListKeysRequest -> Constr #

dataTypeOf :: ListKeysRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListKeysRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListKeysRequest) #

gmapT :: (forall b. Data b => b -> b) -> ListKeysRequest -> ListKeysRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListKeysRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListKeysRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListKeysRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListKeysRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListKeysRequest -> m ListKeysRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListKeysRequest -> m ListKeysRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListKeysRequest -> m ListKeysRequest #

Ord ListKeysRequest 
Instance details

Defined in Network.Riak.Protocol.ListKeysRequest

Show ListKeysRequest 
Instance details

Defined in Network.Riak.Protocol.ListKeysRequest

Generic ListKeysRequest 
Instance details

Defined in Network.Riak.Protocol.ListKeysRequest

Associated Types

type Rep ListKeysRequest :: Type -> Type #

GPB ListKeysRequest 
Instance details

Defined in Network.Riak.Protocol.ListKeysRequest

Wire ListKeysRequest 
Instance details

Defined in Network.Riak.Protocol.ListKeysRequest

TextMsg ListKeysRequest 
Instance details

Defined in Network.Riak.Protocol.ListKeysRequest

TextType ListKeysRequest 
Instance details

Defined in Network.Riak.Protocol.ListKeysRequest

ReflectDescriptor ListKeysRequest 
Instance details

Defined in Network.Riak.Protocol.ListKeysRequest

Mergeable ListKeysRequest 
Instance details

Defined in Network.Riak.Protocol.ListKeysRequest

Default ListKeysRequest 
Instance details

Defined in Network.Riak.Protocol.ListKeysRequest

Request ListKeysRequest Source # 
Instance details

Defined in Network.Riak.Tag

Tagged ListKeysRequest Source # 
Instance details

Defined in Network.Riak.Tag

MessageAPI msg' (msg' -> ListKeysRequest) ListKeysRequest 
Instance details

Defined in Network.Riak.Protocol.ListKeysRequest

Methods

getVal :: msg' -> (msg' -> ListKeysRequest) -> ListKeysRequest #

isSet :: msg' -> (msg' -> ListKeysRequest) -> Bool #

type Rep ListKeysRequest 
Instance details

Defined in Network.Riak.Protocol.ListKeysRequest

type Rep ListKeysRequest = D1 (MetaData "ListKeysRequest" "Network.Riak.Protocol.ListKeysRequest" "riak-protobuf-0.24.0.0-7JwUXguEL16DFQwjRdUSeY" False) (C1 (MetaCons "ListKeysRequest" PrefixI True) (S1 (MetaSel (Just "bucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ByteString) :*: (S1 (MetaSel (Just "timeout") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Word32)) :*: S1 (MetaSel (Just "type'") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ByteString)))))

listKeys :: Maybe BucketType -> Bucket -> ListKeysRequest Source #

Create a list-keys request. The bucket type and name are URL-escaped.

data GetBucketRequest #

Instances
Eq GetBucketRequest 
Instance details

Defined in Network.Riak.Protocol.GetBucketRequest

Data GetBucketRequest 
Instance details

Defined in Network.Riak.Protocol.GetBucketRequest

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> GetBucketRequest -> c GetBucketRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c GetBucketRequest #

toConstr :: GetBucketRequest -> Constr #

dataTypeOf :: GetBucketRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c GetBucketRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c GetBucketRequest) #

gmapT :: (forall b. Data b => b -> b) -> GetBucketRequest -> GetBucketRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> GetBucketRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> GetBucketRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> GetBucketRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> GetBucketRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> GetBucketRequest -> m GetBucketRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> GetBucketRequest -> m GetBucketRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> GetBucketRequest -> m GetBucketRequest #

Ord GetBucketRequest 
Instance details

Defined in Network.Riak.Protocol.GetBucketRequest

Show GetBucketRequest 
Instance details

Defined in Network.Riak.Protocol.GetBucketRequest

Generic GetBucketRequest 
Instance details

Defined in Network.Riak.Protocol.GetBucketRequest

Associated Types

type Rep GetBucketRequest :: Type -> Type #

GPB GetBucketRequest 
Instance details

Defined in Network.Riak.Protocol.GetBucketRequest

Wire GetBucketRequest 
Instance details

Defined in Network.Riak.Protocol.GetBucketRequest

TextMsg GetBucketRequest 
Instance details

Defined in Network.Riak.Protocol.GetBucketRequest

TextType GetBucketRequest 
Instance details

Defined in Network.Riak.Protocol.GetBucketRequest

ReflectDescriptor GetBucketRequest 
Instance details

Defined in Network.Riak.Protocol.GetBucketRequest

Mergeable GetBucketRequest 
Instance details

Defined in Network.Riak.Protocol.GetBucketRequest

Default GetBucketRequest 
Instance details

Defined in Network.Riak.Protocol.GetBucketRequest

Request GetBucketRequest Source # 
Instance details

Defined in Network.Riak.Tag

Tagged GetBucketRequest Source # 
Instance details

Defined in Network.Riak.Tag

Exchange GetBucketRequest GetBucketResponse Source # 
Instance details

Defined in Network.Riak.Tag

MessageAPI msg' (msg' -> GetBucketRequest) GetBucketRequest 
Instance details

Defined in Network.Riak.Protocol.GetBucketRequest

Methods

getVal :: msg' -> (msg' -> GetBucketRequest) -> GetBucketRequest #

isSet :: msg' -> (msg' -> GetBucketRequest) -> Bool #

type Rep GetBucketRequest 
Instance details

Defined in Network.Riak.Protocol.GetBucketRequest

type Rep GetBucketRequest = D1 (MetaData "GetBucketRequest" "Network.Riak.Protocol.GetBucketRequest" "riak-protobuf-0.24.0.0-7JwUXguEL16DFQwjRdUSeY" False) (C1 (MetaCons "GetBucketRequest" PrefixI True) (S1 (MetaSel (Just "bucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ByteString) :*: S1 (MetaSel (Just "type'") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ByteString))))

getBucket :: Maybe BucketType -> Bucket -> GetBucketRequest Source #

Create a get-bucket request. The bucket type and name are URL-escaped.

data SetBucketRequest #

Instances
Eq SetBucketRequest 
Instance details

Defined in Network.Riak.Protocol.SetBucketRequest

Data SetBucketRequest 
Instance details

Defined in Network.Riak.Protocol.SetBucketRequest

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SetBucketRequest -> c SetBucketRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SetBucketRequest #

toConstr :: SetBucketRequest -> Constr #

dataTypeOf :: SetBucketRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c SetBucketRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SetBucketRequest) #

gmapT :: (forall b. Data b => b -> b) -> SetBucketRequest -> SetBucketRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SetBucketRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SetBucketRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> SetBucketRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SetBucketRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SetBucketRequest -> m SetBucketRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SetBucketRequest -> m SetBucketRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SetBucketRequest -> m SetBucketRequest #

Ord SetBucketRequest 
Instance details

Defined in Network.Riak.Protocol.SetBucketRequest

Show SetBucketRequest 
Instance details

Defined in Network.Riak.Protocol.SetBucketRequest

Generic SetBucketRequest 
Instance details

Defined in Network.Riak.Protocol.SetBucketRequest

Associated Types

type Rep SetBucketRequest :: Type -> Type #

GPB SetBucketRequest 
Instance details

Defined in Network.Riak.Protocol.SetBucketRequest

Wire SetBucketRequest 
Instance details

Defined in Network.Riak.Protocol.SetBucketRequest

TextMsg SetBucketRequest 
Instance details

Defined in Network.Riak.Protocol.SetBucketRequest

TextType SetBucketRequest 
Instance details

Defined in Network.Riak.Protocol.SetBucketRequest

ReflectDescriptor SetBucketRequest 
Instance details

Defined in Network.Riak.Protocol.SetBucketRequest

Mergeable SetBucketRequest 
Instance details

Defined in Network.Riak.Protocol.SetBucketRequest

Default SetBucketRequest 
Instance details

Defined in Network.Riak.Protocol.SetBucketRequest

Request SetBucketRequest Source # 
Instance details

Defined in Network.Riak.Tag

Tagged SetBucketRequest Source # 
Instance details

Defined in Network.Riak.Tag

MessageAPI msg' (msg' -> SetBucketRequest) SetBucketRequest 
Instance details

Defined in Network.Riak.Protocol.SetBucketRequest

Methods

getVal :: msg' -> (msg' -> SetBucketRequest) -> SetBucketRequest #

isSet :: msg' -> (msg' -> SetBucketRequest) -> Bool #

type Rep SetBucketRequest 
Instance details

Defined in Network.Riak.Protocol.SetBucketRequest

type Rep SetBucketRequest = D1 (MetaData "SetBucketRequest" "Network.Riak.Protocol.SetBucketRequest" "riak-protobuf-0.24.0.0-7JwUXguEL16DFQwjRdUSeY" False) (C1 (MetaCons "SetBucketRequest" PrefixI True) (S1 (MetaSel (Just "bucket") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ByteString) :*: (S1 (MetaSel (Just "props") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 BucketProps) :*: S1 (MetaSel (Just "type'") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ByteString)))))

setBucket :: Maybe BucketType -> Bucket -> BucketProps -> SetBucketRequest Source #

Create a set-bucket request. The bucket type and name are URL-escaped.

getBucketType :: BucketType -> GetBucketTypeRequest Source #

Create a get-bucket-type request. The bucket type is URL-escaped.

Map/reduce

data MapReduceRequest #

Instances
Eq MapReduceRequest 
Instance details

Defined in Network.Riak.Protocol.MapReduceRequest

Data MapReduceRequest 
Instance details

Defined in Network.Riak.Protocol.MapReduceRequest

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MapReduceRequest -> c MapReduceRequest #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MapReduceRequest #

toConstr :: MapReduceRequest -> Constr #

dataTypeOf :: MapReduceRequest -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c MapReduceRequest) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MapReduceRequest) #

gmapT :: (forall b. Data b => b -> b) -> MapReduceRequest -> MapReduceRequest #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MapReduceRequest -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MapReduceRequest -> r #

gmapQ :: (forall d. Data d => d -> u) -> MapReduceRequest -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MapReduceRequest -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MapReduceRequest -> m MapReduceRequest #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MapReduceRequest -> m MapReduceRequest #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MapReduceRequest -> m MapReduceRequest #

Ord MapReduceRequest 
Instance details

Defined in Network.Riak.Protocol.MapReduceRequest

Show MapReduceRequest 
Instance details

Defined in Network.Riak.Protocol.MapReduceRequest

Generic MapReduceRequest 
Instance details

Defined in Network.Riak.Protocol.MapReduceRequest

Associated Types

type Rep MapReduceRequest :: Type -> Type #

GPB MapReduceRequest 
Instance details

Defined in Network.Riak.Protocol.MapReduceRequest

Wire MapReduceRequest 
Instance details

Defined in Network.Riak.Protocol.MapReduceRequest

TextMsg MapReduceRequest 
Instance details

Defined in Network.Riak.Protocol.MapReduceRequest

TextType MapReduceRequest 
Instance details

Defined in Network.Riak.Protocol.MapReduceRequest

ReflectDescriptor MapReduceRequest 
Instance details

Defined in Network.Riak.Protocol.MapReduceRequest

Mergeable MapReduceRequest 
Instance details

Defined in Network.Riak.Protocol.MapReduceRequest

Default MapReduceRequest 
Instance details

Defined in Network.Riak.Protocol.MapReduceRequest

Request MapReduceRequest Source # 
Instance details

Defined in Network.Riak.Tag

Tagged MapReduceRequest Source # 
Instance details

Defined in Network.Riak.Tag

Exchange MapReduceRequest MapReduce Source # 
Instance details

Defined in Network.Riak.Tag

MessageAPI msg' (msg' -> MapReduceRequest) MapReduceRequest 
Instance details

Defined in Network.Riak.Protocol.MapReduceRequest

Methods

getVal :: msg' -> (msg' -> MapReduceRequest) -> MapReduceRequest #

isSet :: msg' -> (msg' -> MapReduceRequest) -> Bool #

type Rep MapReduceRequest 
Instance details

Defined in Network.Riak.Protocol.MapReduceRequest

type Rep MapReduceRequest = D1 (MetaData "MapReduceRequest" "Network.Riak.Protocol.MapReduceRequest" "riak-protobuf-0.24.0.0-7JwUXguEL16DFQwjRdUSeY" False) (C1 (MetaCons "MapReduceRequest" PrefixI True) (S1 (MetaSel (Just "request") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ByteString) :*: S1 (MetaSel (Just "content_type") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 ByteString)))

mapReduce :: Job -> MapReduceRequest Source #

Create a map-reduce request.

Search

search :: SearchQuery -> Index -> SearchQueryRequest Source #

Create a search request