wire-api-0.1.0
Safe HaskellSafe-Inferred
LanguageGHC2021

Wire.API.Routes.MultiTablePaging.State

Synopsis

Documentation

data MultiTablePagingState (name :: Symbol) tables Source #

The state of a multi-table paginated query. It is made of a reference to the table currently being paginated, as well as an opaque token returned by Cassandra.

Constructors

MultiTablePagingState 

Fields

Instances

Instances details
ToParamSchema TeamMembersPagingState Source # 
Instance details

Defined in Wire.API.Team.Member

(PagingTable tables, KnownSymbol name) => FromJSON (MultiTablePagingState name tables) Source # 
Instance details

Defined in Wire.API.Routes.MultiTablePaging.State

(PagingTable tables, KnownSymbol name) => ToJSON (MultiTablePagingState name tables) Source # 
Instance details

Defined in Wire.API.Routes.MultiTablePaging.State

Show tables => Show (MultiTablePagingState name tables) Source # 
Instance details

Defined in Wire.API.Routes.MultiTablePaging.State

Methods

showsPrec :: Int -> MultiTablePagingState name tables -> ShowS #

show :: MultiTablePagingState name tables -> String #

showList :: [MultiTablePagingState name tables] -> ShowS #

Eq tables => Eq (MultiTablePagingState name tables) Source # 
Instance details

Defined in Wire.API.Routes.MultiTablePaging.State

Methods

(==) :: MultiTablePagingState name tables -> MultiTablePagingState name tables -> Bool #

(/=) :: MultiTablePagingState name tables -> MultiTablePagingState name tables -> Bool #

PagingTable tables => FromHttpApiData (MultiTablePagingState name tables) Source # 
Instance details

Defined in Wire.API.Routes.MultiTablePaging.State

PagingTable tables => ToHttpApiData (MultiTablePagingState name tables) Source # 
Instance details

Defined in Wire.API.Routes.MultiTablePaging.State

(KnownSymbol name, Typeable tables, PagingTable tables) => ToSchema (MultiTablePagingState name tables) Source # 
Instance details

Defined in Wire.API.Routes.MultiTablePaging.State

(PagingTable tables, KnownSymbol name) => ToSchema (MultiTablePagingState name tables) Source # 
Instance details

Defined in Wire.API.Routes.MultiTablePaging.State

class PagingTable t where Source #

A class for values that can be encoded with a single byte. Used to add a byte of extra information to the paging state in order to recover the table information from a paging token.