ztsdb
Public Member Functions | Public Attributes | List of all members
zcore::ReqState Struct Reference

#include <interp_ctx.hpp>

Public Member Functions

 ReqState (Global::reqid_t reqid_p, Global::reqid_t sourceid_p)
 
void readData (const char *buf, size_t len)
 

Public Attributes

IncomingReqState state
 
Global::reqid_t reqid
 
Global::reqid_t sourceid
 
std::unique_ptr< const Ee
 
size_t codeLen
 
vector< char > codeBuf
 
size_t valstack_idx
 
vector< ValStatevalstack
 
std::chrono::system_clock::time_point timestamp
 

Detailed Description

This structure represents the state of an incoming request. The incoming request comes as a buffer in which an AST is encoded (already in normalized form). It is decoded and stored in 'e'. 'valstack' is used to decode and store the list of decoded values that form the bound variables (this list might be empty).

Member Data Documentation

◆ timestamp

std::chrono::system_clock::time_point zcore::ReqState::timestamp

so we can free request states that take too long to complete


The documentation for this struct was generated from the following files: