riak-1.2.0.0: 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
LanguageHaskell2010

Network.Riak.Request

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 RpbPingReq #

Fields :

Instances

Instances details
Eq RpbPingReq 
Instance details

Defined in Proto.Riak

Ord RpbPingReq 
Instance details

Defined in Proto.Riak

Show RpbPingReq 
Instance details

Defined in Proto.Riak

NFData RpbPingReq 
Instance details

Defined in Proto.Riak

Methods

rnf :: RpbPingReq -> () #

Message RpbPingReq 
Instance details

Defined in Proto.Riak

Request RpbPingReq Source # 
Instance details

Defined in Network.Riak.Tag

Tagged RpbPingReq Source # 
Instance details

Defined in Network.Riak.Tag

ping :: RpbPingReq Source #

Create a ping request.

data RpbGetClientIdReq #

Fields :

Instances

Instances details
Eq RpbGetClientIdReq 
Instance details

Defined in Proto.Riak

Ord RpbGetClientIdReq 
Instance details

Defined in Proto.Riak

Show RpbGetClientIdReq 
Instance details

Defined in Proto.Riak

NFData RpbGetClientIdReq 
Instance details

Defined in Proto.Riak

Methods

rnf :: RpbGetClientIdReq -> () #

Message RpbGetClientIdReq 
Instance details

Defined in Proto.Riak

Request RpbGetClientIdReq Source # 
Instance details

Defined in Network.Riak.Tag

Tagged RpbGetClientIdReq Source # 
Instance details

Defined in Network.Riak.Tag

Exchange RpbGetClientIdReq RpbGetClientIdResp Source # 
Instance details

Defined in Network.Riak.Tag

getClientID :: RpbGetClientIdReq Source #

Create a client-ID request.

data RpbGetServerInfoReq #

Fields :

Instances

Instances details
Eq RpbGetServerInfoReq 
Instance details

Defined in Proto.Riak

Ord RpbGetServerInfoReq 
Instance details

Defined in Proto.Riak

Show RpbGetServerInfoReq 
Instance details

Defined in Proto.Riak

NFData RpbGetServerInfoReq 
Instance details

Defined in Proto.Riak

Methods

rnf :: RpbGetServerInfoReq -> () #

Message RpbGetServerInfoReq 
Instance details

Defined in Proto.Riak

Request RpbGetServerInfoReq Source # 
Instance details

Defined in Network.Riak.Tag

Tagged RpbGetServerInfoReq Source # 
Instance details

Defined in Network.Riak.Tag

Exchange RpbGetServerInfoReq RpbGetServerInfoResp Source # 
Instance details

Defined in Network.Riak.Tag

getServerInfo :: RpbGetServerInfoReq Source #

Create a server-info request.

Data management

data RpbGetReq #

Fields :

  • bucket :: Lens' RpbGetReq Data.ByteString.ByteString
  • key :: Lens' RpbGetReq Data.ByteString.ByteString
  • r :: Lens' RpbGetReq Data.Word.Word32
  • maybe'r :: Lens' RpbGetReq (Prelude.Maybe Data.Word.Word32)
  • pr :: Lens' RpbGetReq Data.Word.Word32
  • maybe'pr :: Lens' RpbGetReq (Prelude.Maybe Data.Word.Word32)
  • basicQuorum :: Lens' RpbGetReq Prelude.Bool
  • maybe'basicQuorum :: Lens' RpbGetReq (Prelude.Maybe Prelude.Bool)
  • notfoundOk :: Lens' RpbGetReq Prelude.Bool
  • maybe'notfoundOk :: Lens' RpbGetReq (Prelude.Maybe Prelude.Bool)
  • ifModified :: Lens' RpbGetReq Data.ByteString.ByteString
  • maybe'ifModified :: Lens' RpbGetReq (Prelude.Maybe Data.ByteString.ByteString)
  • head :: Lens' RpbGetReq Prelude.Bool
  • maybe'head :: Lens' RpbGetReq (Prelude.Maybe Prelude.Bool)
  • deletedvclock :: Lens' RpbGetReq Prelude.Bool
  • maybe'deletedvclock :: Lens' RpbGetReq (Prelude.Maybe Prelude.Bool)
  • timeout :: Lens' RpbGetReq Data.Word.Word32
  • maybe'timeout :: Lens' RpbGetReq (Prelude.Maybe Data.Word.Word32)
  • sloppyQuorum :: Lens' RpbGetReq Prelude.Bool
  • maybe'sloppyQuorum :: Lens' RpbGetReq (Prelude.Maybe Prelude.Bool)
  • nVal :: Lens' RpbGetReq Data.Word.Word32
  • maybe'nVal :: Lens' RpbGetReq (Prelude.Maybe Data.Word.Word32)
  • type' :: Lens' RpbGetReq Data.ByteString.ByteString
  • maybe'type' :: Lens' RpbGetReq (Prelude.Maybe Data.ByteString.ByteString)

Instances

Instances details
Eq RpbGetReq 
Instance details

Defined in Proto.Riak

Ord RpbGetReq 
Instance details

Defined in Proto.Riak

Show RpbGetReq 
Instance details

Defined in Proto.Riak

NFData RpbGetReq 
Instance details

Defined in Proto.Riak

Methods

rnf :: RpbGetReq -> () #

Message RpbGetReq 
Instance details

Defined in Proto.Riak

Request RpbGetReq Source # 
Instance details

Defined in Network.Riak.Tag

Tagged RpbGetReq Source # 
Instance details

Defined in Network.Riak.Tag

Exchange RpbGetReq RpbGetResp Source # 
Instance details

Defined in Network.Riak.Tag

HasField RpbGetReq "basicQuorum" Bool 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "basicQuorum" -> (Bool -> f Bool) -> RpbGetReq -> f RpbGetReq #

HasField RpbGetReq "bucket" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "bucket" -> (ByteString -> f ByteString) -> RpbGetReq -> f RpbGetReq #

HasField RpbGetReq "deletedvclock" Bool 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "deletedvclock" -> (Bool -> f Bool) -> RpbGetReq -> f RpbGetReq #

HasField RpbGetReq "head" Bool 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "head" -> (Bool -> f Bool) -> RpbGetReq -> f RpbGetReq #

HasField RpbGetReq "ifModified" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "ifModified" -> (ByteString -> f ByteString) -> RpbGetReq -> f RpbGetReq #

HasField RpbGetReq "key" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "key" -> (ByteString -> f ByteString) -> RpbGetReq -> f RpbGetReq #

HasField RpbGetReq "nVal" Word32 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "nVal" -> (Word32 -> f Word32) -> RpbGetReq -> f RpbGetReq #

HasField RpbGetReq "notfoundOk" Bool 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "notfoundOk" -> (Bool -> f Bool) -> RpbGetReq -> f RpbGetReq #

HasField RpbGetReq "pr" Word32 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "pr" -> (Word32 -> f Word32) -> RpbGetReq -> f RpbGetReq #

HasField RpbGetReq "r" Word32 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "r" -> (Word32 -> f Word32) -> RpbGetReq -> f RpbGetReq #

HasField RpbGetReq "sloppyQuorum" Bool 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "sloppyQuorum" -> (Bool -> f Bool) -> RpbGetReq -> f RpbGetReq #

HasField RpbGetReq "timeout" Word32 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "timeout" -> (Word32 -> f Word32) -> RpbGetReq -> f RpbGetReq #

HasField RpbGetReq "type'" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "type'" -> (ByteString -> f ByteString) -> RpbGetReq -> f RpbGetReq #

HasField RpbGetReq "maybe'basicQuorum" (Maybe Bool) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'basicQuorum" -> (Maybe Bool -> f (Maybe Bool)) -> RpbGetReq -> f RpbGetReq #

HasField RpbGetReq "maybe'deletedvclock" (Maybe Bool) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'deletedvclock" -> (Maybe Bool -> f (Maybe Bool)) -> RpbGetReq -> f RpbGetReq #

HasField RpbGetReq "maybe'head" (Maybe Bool) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'head" -> (Maybe Bool -> f (Maybe Bool)) -> RpbGetReq -> f RpbGetReq #

HasField RpbGetReq "maybe'ifModified" (Maybe ByteString) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'ifModified" -> (Maybe ByteString -> f (Maybe ByteString)) -> RpbGetReq -> f RpbGetReq #

HasField RpbGetReq "maybe'nVal" (Maybe Word32) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'nVal" -> (Maybe Word32 -> f (Maybe Word32)) -> RpbGetReq -> f RpbGetReq #

HasField RpbGetReq "maybe'notfoundOk" (Maybe Bool) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'notfoundOk" -> (Maybe Bool -> f (Maybe Bool)) -> RpbGetReq -> f RpbGetReq #

HasField RpbGetReq "maybe'pr" (Maybe Word32) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'pr" -> (Maybe Word32 -> f (Maybe Word32)) -> RpbGetReq -> f RpbGetReq #

HasField RpbGetReq "maybe'r" (Maybe Word32) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'r" -> (Maybe Word32 -> f (Maybe Word32)) -> RpbGetReq -> f RpbGetReq #

HasField RpbGetReq "maybe'sloppyQuorum" (Maybe Bool) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'sloppyQuorum" -> (Maybe Bool -> f (Maybe Bool)) -> RpbGetReq -> f RpbGetReq #

HasField RpbGetReq "maybe'timeout" (Maybe Word32) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'timeout" -> (Maybe Word32 -> f (Maybe Word32)) -> RpbGetReq -> f RpbGetReq #

HasField RpbGetReq "maybe'type'" (Maybe ByteString) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'type'" -> (Maybe ByteString -> f (Maybe ByteString)) -> RpbGetReq -> f RpbGetReq #

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

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

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

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

data RpbIndexReq #

Fields :

  • bucket :: Lens' RpbIndexReq Data.ByteString.ByteString
  • index :: Lens' RpbIndexReq Data.ByteString.ByteString
  • qtype :: Lens' RpbIndexReq RpbIndexReq'IndexQueryType
  • key :: Lens' RpbIndexReq Data.ByteString.ByteString
  • maybe'key :: Lens' RpbIndexReq (Prelude.Maybe Data.ByteString.ByteString)
  • rangeMin :: Lens' RpbIndexReq Data.ByteString.ByteString
  • maybe'rangeMin :: Lens' RpbIndexReq (Prelude.Maybe Data.ByteString.ByteString)
  • rangeMax :: Lens' RpbIndexReq Data.ByteString.ByteString
  • maybe'rangeMax :: Lens' RpbIndexReq (Prelude.Maybe Data.ByteString.ByteString)
  • returnTerms :: Lens' RpbIndexReq Prelude.Bool
  • maybe'returnTerms :: Lens' RpbIndexReq (Prelude.Maybe Prelude.Bool)
  • stream :: Lens' RpbIndexReq Prelude.Bool
  • maybe'stream :: Lens' RpbIndexReq (Prelude.Maybe Prelude.Bool)
  • maxResults :: Lens' RpbIndexReq Data.Word.Word32
  • maybe'maxResults :: Lens' RpbIndexReq (Prelude.Maybe Data.Word.Word32)
  • continuation :: Lens' RpbIndexReq Data.ByteString.ByteString
  • maybe'continuation :: Lens' RpbIndexReq (Prelude.Maybe Data.ByteString.ByteString)
  • timeout :: Lens' RpbIndexReq Data.Word.Word32
  • maybe'timeout :: Lens' RpbIndexReq (Prelude.Maybe Data.Word.Word32)
  • type' :: Lens' RpbIndexReq Data.ByteString.ByteString
  • maybe'type' :: Lens' RpbIndexReq (Prelude.Maybe Data.ByteString.ByteString)
  • termRegex :: Lens' RpbIndexReq Data.ByteString.ByteString
  • maybe'termRegex :: Lens' RpbIndexReq (Prelude.Maybe Data.ByteString.ByteString)
  • paginationSort :: Lens' RpbIndexReq Prelude.Bool
  • maybe'paginationSort :: Lens' RpbIndexReq (Prelude.Maybe Prelude.Bool)
  • coverContext :: Lens' RpbIndexReq Data.ByteString.ByteString
  • maybe'coverContext :: Lens' RpbIndexReq (Prelude.Maybe Data.ByteString.ByteString)
  • returnBody :: Lens' RpbIndexReq Prelude.Bool
  • maybe'returnBody :: Lens' RpbIndexReq (Prelude.Maybe Prelude.Bool)

Instances

Instances details
Eq RpbIndexReq 
Instance details

Defined in Proto.Riak

Ord RpbIndexReq 
Instance details

Defined in Proto.Riak

Show RpbIndexReq 
Instance details

Defined in Proto.Riak

NFData RpbIndexReq 
Instance details

Defined in Proto.Riak

Methods

rnf :: RpbIndexReq -> () #

Message RpbIndexReq 
Instance details

Defined in Proto.Riak

Request RpbIndexReq Source # 
Instance details

Defined in Network.Riak.Tag

Tagged RpbIndexReq Source # 
Instance details

Defined in Network.Riak.Tag

Exchange RpbIndexReq RpbIndexResp Source # 
Instance details

Defined in Network.Riak.Tag

HasField RpbIndexReq "bucket" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "bucket" -> (ByteString -> f ByteString) -> RpbIndexReq -> f RpbIndexReq #

HasField RpbIndexReq "continuation" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "continuation" -> (ByteString -> f ByteString) -> RpbIndexReq -> f RpbIndexReq #

HasField RpbIndexReq "coverContext" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "coverContext" -> (ByteString -> f ByteString) -> RpbIndexReq -> f RpbIndexReq #

HasField RpbIndexReq "index" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "index" -> (ByteString -> f ByteString) -> RpbIndexReq -> f RpbIndexReq #

HasField RpbIndexReq "key" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "key" -> (ByteString -> f ByteString) -> RpbIndexReq -> f RpbIndexReq #

HasField RpbIndexReq "maxResults" Word32 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maxResults" -> (Word32 -> f Word32) -> RpbIndexReq -> f RpbIndexReq #

HasField RpbIndexReq "paginationSort" Bool 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "paginationSort" -> (Bool -> f Bool) -> RpbIndexReq -> f RpbIndexReq #

HasField RpbIndexReq "qtype" RpbIndexReq'IndexQueryType 
Instance details

Defined in Proto.Riak

HasField RpbIndexReq "rangeMax" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "rangeMax" -> (ByteString -> f ByteString) -> RpbIndexReq -> f RpbIndexReq #

HasField RpbIndexReq "rangeMin" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "rangeMin" -> (ByteString -> f ByteString) -> RpbIndexReq -> f RpbIndexReq #

HasField RpbIndexReq "returnBody" Bool 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "returnBody" -> (Bool -> f Bool) -> RpbIndexReq -> f RpbIndexReq #

HasField RpbIndexReq "returnTerms" Bool 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "returnTerms" -> (Bool -> f Bool) -> RpbIndexReq -> f RpbIndexReq #

HasField RpbIndexReq "stream" Bool 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "stream" -> (Bool -> f Bool) -> RpbIndexReq -> f RpbIndexReq #

HasField RpbIndexReq "termRegex" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "termRegex" -> (ByteString -> f ByteString) -> RpbIndexReq -> f RpbIndexReq #

HasField RpbIndexReq "timeout" Word32 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "timeout" -> (Word32 -> f Word32) -> RpbIndexReq -> f RpbIndexReq #

HasField RpbIndexReq "type'" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "type'" -> (ByteString -> f ByteString) -> RpbIndexReq -> f RpbIndexReq #

HasField RpbIndexReq "maybe'continuation" (Maybe ByteString) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'continuation" -> (Maybe ByteString -> f (Maybe ByteString)) -> RpbIndexReq -> f RpbIndexReq #

HasField RpbIndexReq "maybe'coverContext" (Maybe ByteString) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'coverContext" -> (Maybe ByteString -> f (Maybe ByteString)) -> RpbIndexReq -> f RpbIndexReq #

HasField RpbIndexReq "maybe'key" (Maybe ByteString) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'key" -> (Maybe ByteString -> f (Maybe ByteString)) -> RpbIndexReq -> f RpbIndexReq #

HasField RpbIndexReq "maybe'maxResults" (Maybe Word32) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'maxResults" -> (Maybe Word32 -> f (Maybe Word32)) -> RpbIndexReq -> f RpbIndexReq #

HasField RpbIndexReq "maybe'paginationSort" (Maybe Bool) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'paginationSort" -> (Maybe Bool -> f (Maybe Bool)) -> RpbIndexReq -> f RpbIndexReq #

HasField RpbIndexReq "maybe'rangeMax" (Maybe ByteString) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'rangeMax" -> (Maybe ByteString -> f (Maybe ByteString)) -> RpbIndexReq -> f RpbIndexReq #

HasField RpbIndexReq "maybe'rangeMin" (Maybe ByteString) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'rangeMin" -> (Maybe ByteString -> f (Maybe ByteString)) -> RpbIndexReq -> f RpbIndexReq #

HasField RpbIndexReq "maybe'returnBody" (Maybe Bool) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'returnBody" -> (Maybe Bool -> f (Maybe Bool)) -> RpbIndexReq -> f RpbIndexReq #

HasField RpbIndexReq "maybe'returnTerms" (Maybe Bool) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'returnTerms" -> (Maybe Bool -> f (Maybe Bool)) -> RpbIndexReq -> f RpbIndexReq #

HasField RpbIndexReq "maybe'stream" (Maybe Bool) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'stream" -> (Maybe Bool -> f (Maybe Bool)) -> RpbIndexReq -> f RpbIndexReq #

HasField RpbIndexReq "maybe'termRegex" (Maybe ByteString) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'termRegex" -> (Maybe ByteString -> f (Maybe ByteString)) -> RpbIndexReq -> f RpbIndexReq #

HasField RpbIndexReq "maybe'timeout" (Maybe Word32) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'timeout" -> (Maybe Word32 -> f (Maybe Word32)) -> RpbIndexReq -> f RpbIndexReq #

HasField RpbIndexReq "maybe'type'" (Maybe ByteString) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'type'" -> (Maybe ByteString -> f (Maybe ByteString)) -> RpbIndexReq -> f RpbIndexReq #

data RpbPutReq #

Fields :

  • bucket :: Lens' RpbPutReq Data.ByteString.ByteString
  • key :: Lens' RpbPutReq Data.ByteString.ByteString
  • maybe'key :: Lens' RpbPutReq (Prelude.Maybe Data.ByteString.ByteString)
  • vclock :: Lens' RpbPutReq Data.ByteString.ByteString
  • maybe'vclock :: Lens' RpbPutReq (Prelude.Maybe Data.ByteString.ByteString)
  • content :: Lens' RpbPutReq RpbContent
  • w :: Lens' RpbPutReq Data.Word.Word32
  • maybe'w :: Lens' RpbPutReq (Prelude.Maybe Data.Word.Word32)
  • dw :: Lens' RpbPutReq Data.Word.Word32
  • maybe'dw :: Lens' RpbPutReq (Prelude.Maybe Data.Word.Word32)
  • returnBody :: Lens' RpbPutReq Prelude.Bool
  • maybe'returnBody :: Lens' RpbPutReq (Prelude.Maybe Prelude.Bool)
  • pw :: Lens' RpbPutReq Data.Word.Word32
  • maybe'pw :: Lens' RpbPutReq (Prelude.Maybe Data.Word.Word32)
  • ifNotModified :: Lens' RpbPutReq Prelude.Bool
  • maybe'ifNotModified :: Lens' RpbPutReq (Prelude.Maybe Prelude.Bool)
  • ifNoneMatch :: Lens' RpbPutReq Prelude.Bool
  • maybe'ifNoneMatch :: Lens' RpbPutReq (Prelude.Maybe Prelude.Bool)
  • returnHead :: Lens' RpbPutReq Prelude.Bool
  • maybe'returnHead :: Lens' RpbPutReq (Prelude.Maybe Prelude.Bool)
  • timeout :: Lens' RpbPutReq Data.Word.Word32
  • maybe'timeout :: Lens' RpbPutReq (Prelude.Maybe Data.Word.Word32)
  • asis :: Lens' RpbPutReq Prelude.Bool
  • maybe'asis :: Lens' RpbPutReq (Prelude.Maybe Prelude.Bool)
  • sloppyQuorum :: Lens' RpbPutReq Prelude.Bool
  • maybe'sloppyQuorum :: Lens' RpbPutReq (Prelude.Maybe Prelude.Bool)
  • nVal :: Lens' RpbPutReq Data.Word.Word32
  • maybe'nVal :: Lens' RpbPutReq (Prelude.Maybe Data.Word.Word32)
  • type' :: Lens' RpbPutReq Data.ByteString.ByteString
  • maybe'type' :: Lens' RpbPutReq (Prelude.Maybe Data.ByteString.ByteString)

Instances

Instances details
Eq RpbPutReq 
Instance details

Defined in Proto.Riak

Ord RpbPutReq 
Instance details

Defined in Proto.Riak

Show RpbPutReq 
Instance details

Defined in Proto.Riak

NFData RpbPutReq 
Instance details

Defined in Proto.Riak

Methods

rnf :: RpbPutReq -> () #

Message RpbPutReq 
Instance details

Defined in Proto.Riak

Request RpbPutReq Source # 
Instance details

Defined in Network.Riak.Tag

Tagged RpbPutReq Source # 
Instance details

Defined in Network.Riak.Tag

Exchange RpbPutReq RpbPutResp Source # 
Instance details

Defined in Network.Riak.Tag

HasField RpbPutReq "asis" Bool 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "asis" -> (Bool -> f Bool) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "bucket" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "bucket" -> (ByteString -> f ByteString) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "content" RpbContent 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "content" -> (RpbContent -> f RpbContent) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "dw" Word32 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "dw" -> (Word32 -> f Word32) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "ifNoneMatch" Bool 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "ifNoneMatch" -> (Bool -> f Bool) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "ifNotModified" Bool 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "ifNotModified" -> (Bool -> f Bool) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "key" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "key" -> (ByteString -> f ByteString) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "nVal" Word32 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "nVal" -> (Word32 -> f Word32) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "pw" Word32 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "pw" -> (Word32 -> f Word32) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "returnBody" Bool 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "returnBody" -> (Bool -> f Bool) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "returnHead" Bool 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "returnHead" -> (Bool -> f Bool) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "sloppyQuorum" Bool 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "sloppyQuorum" -> (Bool -> f Bool) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "timeout" Word32 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "timeout" -> (Word32 -> f Word32) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "type'" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "type'" -> (ByteString -> f ByteString) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "vclock" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "vclock" -> (ByteString -> f ByteString) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "w" Word32 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "w" -> (Word32 -> f Word32) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "maybe'asis" (Maybe Bool) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'asis" -> (Maybe Bool -> f (Maybe Bool)) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "maybe'dw" (Maybe Word32) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'dw" -> (Maybe Word32 -> f (Maybe Word32)) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "maybe'ifNoneMatch" (Maybe Bool) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'ifNoneMatch" -> (Maybe Bool -> f (Maybe Bool)) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "maybe'ifNotModified" (Maybe Bool) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'ifNotModified" -> (Maybe Bool -> f (Maybe Bool)) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "maybe'key" (Maybe ByteString) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'key" -> (Maybe ByteString -> f (Maybe ByteString)) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "maybe'nVal" (Maybe Word32) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'nVal" -> (Maybe Word32 -> f (Maybe Word32)) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "maybe'pw" (Maybe Word32) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'pw" -> (Maybe Word32 -> f (Maybe Word32)) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "maybe'returnBody" (Maybe Bool) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'returnBody" -> (Maybe Bool -> f (Maybe Bool)) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "maybe'returnHead" (Maybe Bool) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'returnHead" -> (Maybe Bool -> f (Maybe Bool)) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "maybe'sloppyQuorum" (Maybe Bool) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'sloppyQuorum" -> (Maybe Bool -> f (Maybe Bool)) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "maybe'timeout" (Maybe Word32) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'timeout" -> (Maybe Word32 -> f (Maybe Word32)) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "maybe'type'" (Maybe ByteString) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'type'" -> (Maybe ByteString -> f (Maybe ByteString)) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "maybe'vclock" (Maybe ByteString) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'vclock" -> (Maybe ByteString -> f (Maybe ByteString)) -> RpbPutReq -> f RpbPutReq #

HasField RpbPutReq "maybe'w" (Maybe Word32) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'w" -> (Maybe Word32 -> f (Maybe Word32)) -> RpbPutReq -> f RpbPutReq #

put :: Maybe BucketType -> Bucket -> Key -> Maybe VClock -> RpbContent -> W -> DW -> Bool -> RpbPutReq 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 RpbDelReq #

Fields :

  • bucket :: Lens' RpbDelReq Data.ByteString.ByteString
  • key :: Lens' RpbDelReq Data.ByteString.ByteString
  • rw :: Lens' RpbDelReq Data.Word.Word32
  • maybe'rw :: Lens' RpbDelReq (Prelude.Maybe Data.Word.Word32)
  • vclock :: Lens' RpbDelReq Data.ByteString.ByteString
  • maybe'vclock :: Lens' RpbDelReq (Prelude.Maybe Data.ByteString.ByteString)
  • r :: Lens' RpbDelReq Data.Word.Word32
  • maybe'r :: Lens' RpbDelReq (Prelude.Maybe Data.Word.Word32)
  • w :: Lens' RpbDelReq Data.Word.Word32
  • maybe'w :: Lens' RpbDelReq (Prelude.Maybe Data.Word.Word32)
  • pr :: Lens' RpbDelReq Data.Word.Word32
  • maybe'pr :: Lens' RpbDelReq (Prelude.Maybe Data.Word.Word32)
  • pw :: Lens' RpbDelReq Data.Word.Word32
  • maybe'pw :: Lens' RpbDelReq (Prelude.Maybe Data.Word.Word32)
  • dw :: Lens' RpbDelReq Data.Word.Word32
  • maybe'dw :: Lens' RpbDelReq (Prelude.Maybe Data.Word.Word32)
  • timeout :: Lens' RpbDelReq Data.Word.Word32
  • maybe'timeout :: Lens' RpbDelReq (Prelude.Maybe Data.Word.Word32)
  • sloppyQuorum :: Lens' RpbDelReq Prelude.Bool
  • maybe'sloppyQuorum :: Lens' RpbDelReq (Prelude.Maybe Prelude.Bool)
  • nVal :: Lens' RpbDelReq Data.Word.Word32
  • maybe'nVal :: Lens' RpbDelReq (Prelude.Maybe Data.Word.Word32)
  • type' :: Lens' RpbDelReq Data.ByteString.ByteString
  • maybe'type' :: Lens' RpbDelReq (Prelude.Maybe Data.ByteString.ByteString)

Instances

Instances details
Eq RpbDelReq 
Instance details

Defined in Proto.Riak

Ord RpbDelReq 
Instance details

Defined in Proto.Riak

Show RpbDelReq 
Instance details

Defined in Proto.Riak

NFData RpbDelReq 
Instance details

Defined in Proto.Riak

Methods

rnf :: RpbDelReq -> () #

Message RpbDelReq 
Instance details

Defined in Proto.Riak

Request RpbDelReq Source # 
Instance details

Defined in Network.Riak.Tag

Tagged RpbDelReq Source # 
Instance details

Defined in Network.Riak.Tag

HasField RpbDelReq "bucket" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "bucket" -> (ByteString -> f ByteString) -> RpbDelReq -> f RpbDelReq #

HasField RpbDelReq "dw" Word32 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "dw" -> (Word32 -> f Word32) -> RpbDelReq -> f RpbDelReq #

HasField RpbDelReq "key" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "key" -> (ByteString -> f ByteString) -> RpbDelReq -> f RpbDelReq #

HasField RpbDelReq "nVal" Word32 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "nVal" -> (Word32 -> f Word32) -> RpbDelReq -> f RpbDelReq #

HasField RpbDelReq "pr" Word32 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "pr" -> (Word32 -> f Word32) -> RpbDelReq -> f RpbDelReq #

HasField RpbDelReq "pw" Word32 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "pw" -> (Word32 -> f Word32) -> RpbDelReq -> f RpbDelReq #

HasField RpbDelReq "r" Word32 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "r" -> (Word32 -> f Word32) -> RpbDelReq -> f RpbDelReq #

HasField RpbDelReq "rw" Word32 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "rw" -> (Word32 -> f Word32) -> RpbDelReq -> f RpbDelReq #

HasField RpbDelReq "sloppyQuorum" Bool 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "sloppyQuorum" -> (Bool -> f Bool) -> RpbDelReq -> f RpbDelReq #

HasField RpbDelReq "timeout" Word32 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "timeout" -> (Word32 -> f Word32) -> RpbDelReq -> f RpbDelReq #

HasField RpbDelReq "type'" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "type'" -> (ByteString -> f ByteString) -> RpbDelReq -> f RpbDelReq #

HasField RpbDelReq "vclock" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "vclock" -> (ByteString -> f ByteString) -> RpbDelReq -> f RpbDelReq #

HasField RpbDelReq "w" Word32 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "w" -> (Word32 -> f Word32) -> RpbDelReq -> f RpbDelReq #

HasField RpbDelReq "maybe'dw" (Maybe Word32) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'dw" -> (Maybe Word32 -> f (Maybe Word32)) -> RpbDelReq -> f RpbDelReq #

HasField RpbDelReq "maybe'nVal" (Maybe Word32) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'nVal" -> (Maybe Word32 -> f (Maybe Word32)) -> RpbDelReq -> f RpbDelReq #

HasField RpbDelReq "maybe'pr" (Maybe Word32) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'pr" -> (Maybe Word32 -> f (Maybe Word32)) -> RpbDelReq -> f RpbDelReq #

HasField RpbDelReq "maybe'pw" (Maybe Word32) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'pw" -> (Maybe Word32 -> f (Maybe Word32)) -> RpbDelReq -> f RpbDelReq #

HasField RpbDelReq "maybe'r" (Maybe Word32) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'r" -> (Maybe Word32 -> f (Maybe Word32)) -> RpbDelReq -> f RpbDelReq #

HasField RpbDelReq "maybe'rw" (Maybe Word32) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'rw" -> (Maybe Word32 -> f (Maybe Word32)) -> RpbDelReq -> f RpbDelReq #

HasField RpbDelReq "maybe'sloppyQuorum" (Maybe Bool) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'sloppyQuorum" -> (Maybe Bool -> f (Maybe Bool)) -> RpbDelReq -> f RpbDelReq #

HasField RpbDelReq "maybe'timeout" (Maybe Word32) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'timeout" -> (Maybe Word32 -> f (Maybe Word32)) -> RpbDelReq -> f RpbDelReq #

HasField RpbDelReq "maybe'type'" (Maybe ByteString) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'type'" -> (Maybe ByteString -> f (Maybe ByteString)) -> RpbDelReq -> f RpbDelReq #

HasField RpbDelReq "maybe'vclock" (Maybe ByteString) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'vclock" -> (Maybe ByteString -> f (Maybe ByteString)) -> RpbDelReq -> f RpbDelReq #

HasField RpbDelReq "maybe'w" (Maybe Word32) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'w" -> (Maybe Word32 -> f (Maybe Word32)) -> RpbDelReq -> f RpbDelReq #

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

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

Metadata

data RpbLink #

Fields :

  • bucket :: Lens' RpbLink Data.ByteString.ByteString
  • maybe'bucket :: Lens' RpbLink (Prelude.Maybe Data.ByteString.ByteString)
  • key :: Lens' RpbLink Data.ByteString.ByteString
  • maybe'key :: Lens' RpbLink (Prelude.Maybe Data.ByteString.ByteString)
  • tag :: Lens' RpbLink Data.ByteString.ByteString
  • maybe'tag :: Lens' RpbLink (Prelude.Maybe Data.ByteString.ByteString)

Instances

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

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

data RpbListBucketsReq #

Fields :

  • timeout :: Lens' RpbListBucketsReq Data.Word.Word32
  • maybe'timeout :: Lens' RpbListBucketsReq (Prelude.Maybe Data.Word.Word32)
  • stream :: Lens' RpbListBucketsReq Prelude.Bool
  • maybe'stream :: Lens' RpbListBucketsReq (Prelude.Maybe Prelude.Bool)
  • type' :: Lens' RpbListBucketsReq Data.ByteString.ByteString
  • maybe'type' :: Lens' RpbListBucketsReq (Prelude.Maybe Data.ByteString.ByteString)

Instances

Instances details
Eq RpbListBucketsReq 
Instance details

Defined in Proto.Riak

Ord RpbListBucketsReq 
Instance details

Defined in Proto.Riak

Show RpbListBucketsReq 
Instance details

Defined in Proto.Riak

NFData RpbListBucketsReq 
Instance details

Defined in Proto.Riak

Methods

rnf :: RpbListBucketsReq -> () #

Message RpbListBucketsReq 
Instance details

Defined in Proto.Riak

Request RpbListBucketsReq Source # 
Instance details

Defined in Network.Riak.Tag

Tagged RpbListBucketsReq Source # 
Instance details

Defined in Network.Riak.Tag

Exchange RpbListBucketsReq RpbListBucketsResp Source # 
Instance details

Defined in Network.Riak.Tag

HasField RpbListBucketsReq "stream" Bool 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "stream" -> (Bool -> f Bool) -> RpbListBucketsReq -> f RpbListBucketsReq #

HasField RpbListBucketsReq "timeout" Word32 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "timeout" -> (Word32 -> f Word32) -> RpbListBucketsReq -> f RpbListBucketsReq #

HasField RpbListBucketsReq "type'" ByteString 
Instance details

Defined in Proto.Riak

HasField RpbListBucketsReq "maybe'stream" (Maybe Bool) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'stream" -> (Maybe Bool -> f (Maybe Bool)) -> RpbListBucketsReq -> f RpbListBucketsReq #

HasField RpbListBucketsReq "maybe'timeout" (Maybe Word32) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'timeout" -> (Maybe Word32 -> f (Maybe Word32)) -> RpbListBucketsReq -> f RpbListBucketsReq #

HasField RpbListBucketsReq "maybe'type'" (Maybe ByteString) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'type'" -> (Maybe ByteString -> f (Maybe ByteString)) -> RpbListBucketsReq -> f RpbListBucketsReq #

listBuckets :: Maybe BucketType -> RpbListBucketsReq Source #

Create a list-buckets request.

data RpbListKeysReq #

Fields :

  • bucket :: Lens' RpbListKeysReq Data.ByteString.ByteString
  • timeout :: Lens' RpbListKeysReq Data.Word.Word32
  • maybe'timeout :: Lens' RpbListKeysReq (Prelude.Maybe Data.Word.Word32)
  • type' :: Lens' RpbListKeysReq Data.ByteString.ByteString
  • maybe'type' :: Lens' RpbListKeysReq (Prelude.Maybe Data.ByteString.ByteString)

Instances

Instances details
Eq RpbListKeysReq 
Instance details

Defined in Proto.Riak

Ord RpbListKeysReq 
Instance details

Defined in Proto.Riak

Show RpbListKeysReq 
Instance details

Defined in Proto.Riak

NFData RpbListKeysReq 
Instance details

Defined in Proto.Riak

Methods

rnf :: RpbListKeysReq -> () #

Message RpbListKeysReq 
Instance details

Defined in Proto.Riak

Request RpbListKeysReq Source # 
Instance details

Defined in Network.Riak.Tag

Tagged RpbListKeysReq Source # 
Instance details

Defined in Network.Riak.Tag

HasField RpbListKeysReq "bucket" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "bucket" -> (ByteString -> f ByteString) -> RpbListKeysReq -> f RpbListKeysReq #

HasField RpbListKeysReq "timeout" Word32 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "timeout" -> (Word32 -> f Word32) -> RpbListKeysReq -> f RpbListKeysReq #

HasField RpbListKeysReq "type'" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "type'" -> (ByteString -> f ByteString) -> RpbListKeysReq -> f RpbListKeysReq #

HasField RpbListKeysReq "maybe'timeout" (Maybe Word32) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'timeout" -> (Maybe Word32 -> f (Maybe Word32)) -> RpbListKeysReq -> f RpbListKeysReq #

HasField RpbListKeysReq "maybe'type'" (Maybe ByteString) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'type'" -> (Maybe ByteString -> f (Maybe ByteString)) -> RpbListKeysReq -> f RpbListKeysReq #

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

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

data RpbGetBucketReq #

Fields :

  • bucket :: Lens' RpbGetBucketReq Data.ByteString.ByteString
  • type' :: Lens' RpbGetBucketReq Data.ByteString.ByteString
  • maybe'type' :: Lens' RpbGetBucketReq (Prelude.Maybe Data.ByteString.ByteString)

Instances

Instances details
Eq RpbGetBucketReq 
Instance details

Defined in Proto.Riak

Ord RpbGetBucketReq 
Instance details

Defined in Proto.Riak

Show RpbGetBucketReq 
Instance details

Defined in Proto.Riak

NFData RpbGetBucketReq 
Instance details

Defined in Proto.Riak

Methods

rnf :: RpbGetBucketReq -> () #

Message RpbGetBucketReq 
Instance details

Defined in Proto.Riak

Request RpbGetBucketReq Source # 
Instance details

Defined in Network.Riak.Tag

Tagged RpbGetBucketReq Source # 
Instance details

Defined in Network.Riak.Tag

Exchange RpbGetBucketReq RpbGetBucketResp Source # 
Instance details

Defined in Network.Riak.Tag

HasField RpbGetBucketReq "bucket" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "bucket" -> (ByteString -> f ByteString) -> RpbGetBucketReq -> f RpbGetBucketReq #

HasField RpbGetBucketReq "type'" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "type'" -> (ByteString -> f ByteString) -> RpbGetBucketReq -> f RpbGetBucketReq #

HasField RpbGetBucketReq "maybe'type'" (Maybe ByteString) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'type'" -> (Maybe ByteString -> f (Maybe ByteString)) -> RpbGetBucketReq -> f RpbGetBucketReq #

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

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

data RpbSetBucketReq #

Fields :

  • bucket :: Lens' RpbSetBucketReq Data.ByteString.ByteString
  • props :: Lens' RpbSetBucketReq RpbBucketProps
  • type' :: Lens' RpbSetBucketReq Data.ByteString.ByteString
  • maybe'type' :: Lens' RpbSetBucketReq (Prelude.Maybe Data.ByteString.ByteString)

Instances

Instances details
Eq RpbSetBucketReq 
Instance details

Defined in Proto.Riak

Ord RpbSetBucketReq 
Instance details

Defined in Proto.Riak

Show RpbSetBucketReq 
Instance details

Defined in Proto.Riak

NFData RpbSetBucketReq 
Instance details

Defined in Proto.Riak

Methods

rnf :: RpbSetBucketReq -> () #

Message RpbSetBucketReq 
Instance details

Defined in Proto.Riak

Request RpbSetBucketReq Source # 
Instance details

Defined in Network.Riak.Tag

Tagged RpbSetBucketReq Source # 
Instance details

Defined in Network.Riak.Tag

HasField RpbSetBucketReq "bucket" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "bucket" -> (ByteString -> f ByteString) -> RpbSetBucketReq -> f RpbSetBucketReq #

HasField RpbSetBucketReq "props" RpbBucketProps 
Instance details

Defined in Proto.Riak

HasField RpbSetBucketReq "type'" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "type'" -> (ByteString -> f ByteString) -> RpbSetBucketReq -> f RpbSetBucketReq #

HasField RpbSetBucketReq "maybe'type'" (Maybe ByteString) 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "maybe'type'" -> (Maybe ByteString -> f (Maybe ByteString)) -> RpbSetBucketReq -> f RpbSetBucketReq #

setBucket :: Maybe BucketType -> Bucket -> RpbBucketProps -> RpbSetBucketReq Source #

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

getBucketType :: BucketType -> RpbGetBucketTypeReq Source #

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

Map/reduce

data RpbMapRedReq #

Fields :

  • request :: Lens' RpbMapRedReq Data.ByteString.ByteString
  • contentType :: Lens' RpbMapRedReq Data.ByteString.ByteString

Instances

Instances details
Eq RpbMapRedReq 
Instance details

Defined in Proto.Riak

Ord RpbMapRedReq 
Instance details

Defined in Proto.Riak

Show RpbMapRedReq 
Instance details

Defined in Proto.Riak

NFData RpbMapRedReq 
Instance details

Defined in Proto.Riak

Methods

rnf :: RpbMapRedReq -> () #

Message RpbMapRedReq 
Instance details

Defined in Proto.Riak

Request RpbMapRedReq Source # 
Instance details

Defined in Network.Riak.Tag

Tagged RpbMapRedReq Source # 
Instance details

Defined in Network.Riak.Tag

Exchange RpbMapRedReq RpbMapRedResp Source # 
Instance details

Defined in Network.Riak.Tag

HasField RpbMapRedReq "contentType" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "contentType" -> (ByteString -> f ByteString) -> RpbMapRedReq -> f RpbMapRedReq #

HasField RpbMapRedReq "request" ByteString 
Instance details

Defined in Proto.Riak

Methods

fieldOf :: Functor f => Proxy# "request" -> (ByteString -> f ByteString) -> RpbMapRedReq -> f RpbMapRedReq #

mapReduce :: Job -> RpbMapRedReq Source #

Create a map-reduce request.

Search

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

Create a search request