OmniSciDB  cde582ebc3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
foreign_storage::ChunkSizeValidator Class Reference

#include <ForeignStorageMgr.h>

+ Collaboration diagram for foreign_storage::ChunkSizeValidator:

Public Member Functions

 ChunkSizeValidator (const ChunkKey &chunk_key)
 
void validateChunkSize (const AbstractBuffer *buffer) const
 
void validateChunkSizes (const ChunkToBufferMap &buffers) const
 
void throwChunkSizeViolatedError (const int64_t actual_chunk_size, const int column_id=-1) const
 

Private Attributes

int column_id_
 
int64_t max_chunk_size_
 
std::shared_ptr
< Catalog_Namespace::Catalog
catalog_
 
const ColumnDescriptorcolumn_
 
const ForeignTableforeign_table_
 

Detailed Description

Definition at line 48 of file ForeignStorageMgr.h.

Constructor & Destructor Documentation

foreign_storage::ChunkSizeValidator::ChunkSizeValidator ( const ChunkKey chunk_key)

Member Function Documentation

void foreign_storage::ChunkSizeValidator::throwChunkSizeViolatedError ( const int64_t  actual_chunk_size,
const int  column_id = -1 
) const
void foreign_storage::ChunkSizeValidator::validateChunkSize ( const AbstractBuffer buffer) const

Referenced by foreign_storage::CachingForeignStorageMgr::fetchBuffer().

+ Here is the caller graph for this function:

void foreign_storage::ChunkSizeValidator::validateChunkSizes ( const ChunkToBufferMap buffers) const

Member Data Documentation

std::shared_ptr<Catalog_Namespace::Catalog> foreign_storage::ChunkSizeValidator::catalog_
private

Definition at line 62 of file ForeignStorageMgr.h.

const ColumnDescriptor* foreign_storage::ChunkSizeValidator::column_
private

Definition at line 63 of file ForeignStorageMgr.h.

int foreign_storage::ChunkSizeValidator::column_id_
private

Definition at line 60 of file ForeignStorageMgr.h.

const ForeignTable* foreign_storage::ChunkSizeValidator::foreign_table_
private

Definition at line 64 of file ForeignStorageMgr.h.

int64_t foreign_storage::ChunkSizeValidator::max_chunk_size_
private

Definition at line 61 of file ForeignStorageMgr.h.


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