Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Descriptor for a single memory buffer in the pool. More...
Public Member Functions | |
BufferDescriptor (uint8_t *buf, int64_t len) | |
T * | Next () const |
Returns the Next/Prev node or NULL if this is the end/front. More... | |
T * | Prev () const |
Public Attributes | |
uint8_t * | buffer |
Start of the buffer. More... | |
int64_t | len |
Length of the buffer. More... | |
Block * | block |
Block that this buffer is assigned to. May be NULL. More... | |
std::list< BufferDescriptor * > ::iterator | all_buffers_it |
Iterator into all_io_buffers_ for this buffer. More... | |
Descriptor for a single memory buffer in the pool.
Definition at line 395 of file buffered-block-mgr.h.
|
inline |
Definition at line 408 of file buffered-block-mgr.h.
|
inlineinherited |
Returns the Next/Prev node or NULL if this is the end/front.
Definition at line 48 of file internal-queue.h.
References impala::InternalQueue< T >::lock_, impala::InternalQueue< T >::Node::next, and impala::InternalQueue< T >::Node::parent_queue.
Referenced by impala::TEST(), and impala::BufferedBlockMgr::Validate().
|
inlineinherited |
Definition at line 52 of file internal-queue.h.
References impala::InternalQueue< T >::lock_, impala::InternalQueue< T >::Node::parent_queue, and impala::InternalQueue< T >::Node::prev.
Referenced by impala::TEST().
std::list<BufferDescriptor*>::iterator impala::BufferedBlockMgr::BufferDescriptor::all_buffers_it |
Iterator into all_io_buffers_ for this buffer.
Definition at line 406 of file buffered-block-mgr.h.
Referenced by impala::BufferedBlockMgr::ConsumeMemory(), and impala::BufferedBlockMgr::Validate().
Block* impala::BufferedBlockMgr::BufferDescriptor::block |
Block that this buffer is assigned to. May be NULL.
Definition at line 403 of file buffered-block-mgr.h.
Referenced by impala::BufferedBlockMgr::ConsumeMemory(), impala::BufferedBlockMgr::DeleteBlock(), impala::BufferedBlockMgr::FindBufferForBlock(), impala::BufferedBlockMgr::GetNewBlock(), impala::BufferedBlockMgr::TransferBuffer(), impala::BufferedBlockMgr::Validate(), and impala::BufferedBlockMgr::WriteComplete().
uint8_t* impala::BufferedBlockMgr::BufferDescriptor::buffer |
Start of the buffer.
Definition at line 397 of file buffered-block-mgr.h.
Referenced by impala::BufferedBlockMgr::Block::Allocate(), impala::BufferedBlockMgr::Block::buffer(), impala::BufferedBlockMgr::ConsumeMemory(), impala::BufferedBlockMgr::DeleteBlock(), and impala::BufferedBlockMgr::~BufferedBlockMgr().
int64_t impala::BufferedBlockMgr::BufferDescriptor::len |
Length of the buffer.
Definition at line 400 of file buffered-block-mgr.h.
Referenced by impala::BufferedBlockMgr::Block::buffer_len(), impala::BufferedBlockMgr::Block::BytesRemaining(), impala::BufferedBlockMgr::DeleteBlock(), impala::BufferedBlockMgr::Block::is_max_size(), impala::BufferedBlockMgr::Client::PinBuffer(), impala::BufferedBlockMgr::TransferBuffer(), impala::BufferedBlockMgr::UnpinBlock(), impala::BufferedBlockMgr::Client::UnpinBuffer(), impala::BufferedBlockMgr::Validate(), impala::BufferedBlockMgr::WriteComplete(), impala::BufferedBlockMgr::WriteUnpinnedBlock(), and impala::BufferedBlockMgr::~BufferedBlockMgr().