C++ SDK Documentation  23.3.0
Vertica::UDFileOperator Class Referenceabstract
Collaboration diagram for Vertica::UDFileOperator:
Collaboration graph

Public Member Functions

virtual size_t append (const void *buf, size_t count)=0
 
void appendWithRetry (const void *buffer, size_t size)
 
virtual void doHurryUp ()
 
virtual bool eof ()
 
virtual void fsync ()
 
virtual off_t getOffset () const =0
 
virtual void * mmap (void *addr, size_t length, int prot, int flags, off_t offset)
 
virtual void munmap (void *addr, size_t length)
 
virtual size_t read (void *buf, size_t count)=0
 
virtual off_t seek (off_t offset, int whence)=0
 

Member Function Documentation

void Vertica::UDFileOperator::appendWithRetry ( const void *  buffer,
size_t  size 
)

A wrapper around the append(). Attempt to write the specified data to disk. Retry in cases that didn't succeed in writing all data, but that stand a decent chance of succeeding on a retry. Throws on error.