Fastly Compute C++ SDK
Loading...
Searching...
No Matches
fastly::kv_store::ListBuilder Class Reference

#include <kv_store.h>

Public Member Functions

ListBuilder eventual_consistency () &&
ListBuilder cursor (const std::string &cursor) &&
 Change the cursor of the request.
ListBuilder limit (std::uint32_t limit) &&
 Set the maximum number of items included in the response.
ListBuilder prefix (const std::string &prefix) &&
 Set the prefix match for items to include in the resultset.
expected< ListPageexecute () &&
 Initiate and wait on a list of values in the KV Store.
ListResponse iter () &&
expected< PendingListHandleexecute_async () const
 Initiate async list of values in the KV Store.

Friends

class KVStore

Member Function Documentation

◆ cursor()

ListBuilder fastly::kv_store::ListBuilder::cursor ( const std::string & cursor) &&

Change the cursor of the request.

◆ eventual_consistency()

ListBuilder fastly::kv_store::ListBuilder::eventual_consistency ( ) &&

Rather than read data from the primary data source, which is slower but strongly consistent (strong, the default), instead read a local copy if available, which offers higher speed and may be a few seconds out of date (eventual).

◆ execute()

expected< ListPage > fastly::kv_store::ListBuilder::execute ( ) &&

Initiate and wait on a list of values in the KV Store.

◆ execute_async()

expected< PendingListHandle > fastly::kv_store::ListBuilder::execute_async ( ) const

Initiate async list of values in the KV Store.

◆ iter()

ListResponse fastly::kv_store::ListBuilder::iter ( ) &&

Produce a new ListResponse, which can be used as an iterator for chunked list operations.

◆ limit()

ListBuilder fastly::kv_store::ListBuilder::limit ( std::uint32_t limit) &&

Set the maximum number of items included in the response.

◆ prefix()

ListBuilder fastly::kv_store::ListBuilder::prefix ( const std::string & prefix) &&

Set the prefix match for items to include in the resultset.

◆ KVStore

friend class KVStore
friend

The documentation for this class was generated from the following file: