Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
impala::BufferedBlockMgr::BufferDescriptor Struct Reference

Descriptor for a single memory buffer in the pool. More...

Inheritance diagram for impala::BufferedBlockMgr::BufferDescriptor:
Collaboration diagram for impala::BufferedBlockMgr::BufferDescriptor:

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...
 
Blockblock
 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...
 

Detailed Description

Descriptor for a single memory buffer in the pool.

Definition at line 395 of file buffered-block-mgr.h.

Constructor & Destructor Documentation

impala::BufferedBlockMgr::BufferDescriptor::BufferDescriptor ( uint8_t *  buf,
int64_t  len 
)
inline

Definition at line 408 of file buffered-block-mgr.h.

Member Function Documentation

template<typename T>
T* impala::InternalQueue< T >::Node::Next ( ) const
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().

template<typename T>
T* impala::InternalQueue< T >::Node::Prev ( ) const
inlineinherited

Member Data Documentation

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().


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