Vertica::VTAllocator Class Reference

List of all members.

Public Member Functions

virtual void * alloc (size_t size)=0

Detailed Description

VTAllocator is a pool based allocator that is provided to simplify memory management for UDF implementors.


Member Function Documentation

virtual void* Vertica::VTAllocator::alloc ( size_t  size  )  [pure virtual]

Allocate size_t bytes of memory on a pool. This memory is guaranteed to persist beyond the destroy call but might have been destroyed when the dtor is run.