Autonomy Software C++ 24.5.1
Welcome to the Autonomy Software repository of the Mars Rover Design Team (MRDT) at Missouri University of Science and Technology (Missouri S&T)! API reference contains the source code and other resources for the development of the autonomy software for our Mars rover. The Autonomy Software project aims to compete in the University Rover Challenge (URC) by demonstrating advanced autonomous capabilities and robust navigation algorithms.
Loading...
Searching...
No Matches
duckdb::SimpleBufferedData Class Reference
Inheritance diagram for duckdb::SimpleBufferedData:
Collaboration diagram for duckdb::SimpleBufferedData:

Public Member Functions

 SimpleBufferedData (ClientContext &context)
 
void Append (const DataChunk &chunk)
 
void BlockSink (const InterruptState &blocked_sink)
 
bool BufferIsFull ()
 
void UnblockSinks () override
 
StreamExecutionResult ExecuteTaskInternal (StreamQueryResult &result, ClientContextLock &context_lock) override
 
unique_ptr< DataChunkScan () override
 
idx_t BufferSize () const
 
- Public Member Functions inherited from duckdb::BufferedData
 BufferedData (Type type, ClientContext &context)
 
StreamExecutionResult ReplenishBuffer (StreamQueryResult &result, ClientContextLock &context_lock)
 
shared_ptr< ClientContextGetContext ()
 
bool Closed () const
 
void Close ()
 
template<class TARGET >
TARGETCast ()
 
template<class TARGET >
const TARGETCast () const
 

Static Public Attributes

static constexpr const BufferedData::Type TYPE = BufferedData::Type::SIMPLE
 

Private Attributes

queue< InterruptStateblocked_sinks
 Our handles to reschedule the blocked sink tasks.
 
queue< unique_ptr< DataChunk > > buffered_chunks
 The queue of chunks.
 
atomic< idx_tbuffered_count
 The current capacity of the buffer (tuples)
 
idx_t buffer_size
 The amount of tuples we should buffer.
 

Additional Inherited Members

- Protected Types inherited from duckdb::BufferedData
enum class  Type { SIMPLE , BATCHED }
 
- Protected Attributes inherited from duckdb::BufferedData
Type type
 
weak_ptr< ClientContextcontext
 This is weak to avoid a cyclical reference.
 
idx_t total_buffer_size
 The maximum amount of memory we should keep buffered.
 
mutex glock
 Protect against populate/fetch race condition.
 

Member Function Documentation

◆ UnblockSinks()

void duckdb::SimpleBufferedData::UnblockSinks ( )
overridevirtual

Implements duckdb::BufferedData.

◆ ExecuteTaskInternal()

StreamExecutionResult duckdb::SimpleBufferedData::ExecuteTaskInternal ( StreamQueryResult result,
ClientContextLock context_lock 
)
overridevirtual

Implements duckdb::BufferedData.

◆ Scan()

unique_ptr< DataChunk > duckdb::SimpleBufferedData::Scan ( )
overridevirtual

Implements duckdb::BufferedData.

◆ BufferSize()

idx_t duckdb::SimpleBufferedData::BufferSize ( ) const
inline
41255 {
41256 return buffer_size;
41257 }
idx_t buffer_size
The amount of tuples we should buffer.
Definition duckdb.hpp:41267

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