Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
Utility class to build an in-memory buffer. More...
#include <buffer-builder.h>
Public Member Functions | |
BufferBuilder (uint8_t *dst_buffer, int dst_len) | |
BufferBuilder (char *dst_buffer, int dst_len) | |
void | Append (const void *buffer, int len) |
template<typename T > | |
void | Append (const T &v) |
int | capacity () const |
int | size () const |
Private Attributes | |
uint8_t * | buffer_ |
int | capacity_ |
int | size_ |
Utility class to build an in-memory buffer.
Definition at line 25 of file buffer-builder.h.
|
inline |
Definition at line 27 of file buffer-builder.h.
|
inline |
Definition at line 31 of file buffer-builder.h.
|
inline |
Definition at line 36 of file buffer-builder.h.
References buffer_, capacity_, and size_.
Referenced by Append(), and impala::HdfsParquetTableWriter::BaseColumnWriter::FinalizeCurrentPage().
|
inline |
Definition at line 43 of file buffer-builder.h.
References Append().
|
inline |
Definition at line 47 of file buffer-builder.h.
References capacity_.
Referenced by impala::HdfsParquetTableWriter::BaseColumnWriter::FinalizeCurrentPage().
|
inline |
Definition at line 48 of file buffer-builder.h.
References size_.
Referenced by impala::HdfsParquetTableWriter::BaseColumnWriter::FinalizeCurrentPage().
|
private |
Definition at line 51 of file buffer-builder.h.
Referenced by Append().
|
private |
Definition at line 52 of file buffer-builder.h.
Referenced by Append(), and capacity().
|
private |
Definition at line 53 of file buffer-builder.h.