OmniSciDB  b24e664e58
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
JoinHashTableInterface Class Referenceabstract

#include <JoinHashTableInterface.h>

+ Inheritance diagram for JoinHashTableInterface:

Public Types

enum  HashType { HashType::OneToOne, HashType::OneToMany }
 

Public Member Functions

virtual int64_t getJoinHashBuffer (const ExecutorDeviceType device_type, const int device_id) const noexcept=0
 
virtual size_t getJoinHashBufferSize (const ExecutorDeviceType device_type, const int device_id) const noexcept=0
 
virtual std::string toString (const ExecutorDeviceType device_type, const int device_id, bool raw=false) const noexcept=0
 
virtual std::string toStringFlat64 (const ExecutorDeviceType device_type, const int device_id) const noexcept
 
virtual std::string toStringFlat32 (const ExecutorDeviceType device_type, const int device_id) const noexcept
 
virtual std::set
< DecodedJoinHashBufferEntry
decodeJoinHashBuffer (const ExecutorDeviceType device_type, const int device_id) const noexcept=0
 
virtual llvm::Value * codegenSlot (const CompilationOptions &, const size_t)=0
 
virtual HashJoinMatchingSet codegenMatchingSet (const CompilationOptions &, const size_t)=0
 
virtual int getInnerTableId () const noexcept=0
 
virtual int getInnerTableRteIdx () const noexcept=0
 
virtual HashType getHashType () const noexcept=0
 
virtual size_t offsetBufferOff () const noexcept=0
 
virtual size_t countBufferOff () const noexcept=0
 
virtual size_t payloadBufferOff () const noexcept=0
 

Detailed Description

Definition at line 76 of file JoinHashTableInterface.h.

Member Enumeration Documentation

Enumerator
OneToOne 
OneToMany 

Definition at line 107 of file JoinHashTableInterface.h.

107 { OneToOne, OneToMany };

Member Function Documentation

virtual HashJoinMatchingSet JoinHashTableInterface::codegenMatchingSet ( const CompilationOptions ,
const size_t   
)
pure virtual

Implemented in JoinHashTable, and BaselineJoinHashTable.

virtual llvm::Value* JoinHashTableInterface::codegenSlot ( const CompilationOptions ,
const size_t   
)
pure virtual

Implemented in JoinHashTable, and BaselineJoinHashTable.

virtual size_t JoinHashTableInterface::countBufferOff ( ) const
pure virtualnoexcept

Implemented in JoinHashTable, and BaselineJoinHashTable.

virtual std::set<DecodedJoinHashBufferEntry> JoinHashTableInterface::decodeJoinHashBuffer ( const ExecutorDeviceType  device_type,
const int  device_id 
) const
pure virtualnoexcept

Implemented in JoinHashTable, and BaselineJoinHashTable.

virtual HashType JoinHashTableInterface::getHashType ( ) const
pure virtualnoexcept

Implemented in JoinHashTable, and BaselineJoinHashTable.

virtual int JoinHashTableInterface::getInnerTableId ( ) const
pure virtualnoexcept

Implemented in JoinHashTable, and BaselineJoinHashTable.

virtual int JoinHashTableInterface::getInnerTableRteIdx ( ) const
pure virtualnoexcept

Implemented in JoinHashTable, and BaselineJoinHashTable.

virtual int64_t JoinHashTableInterface::getJoinHashBuffer ( const ExecutorDeviceType  device_type,
const int  device_id 
) const
pure virtualnoexcept

Implemented in JoinHashTable, and BaselineJoinHashTable.

virtual size_t JoinHashTableInterface::getJoinHashBufferSize ( const ExecutorDeviceType  device_type,
const int  device_id 
) const
pure virtualnoexcept

Implemented in JoinHashTable, and BaselineJoinHashTable.

virtual size_t JoinHashTableInterface::offsetBufferOff ( ) const
pure virtualnoexcept

Implemented in JoinHashTable, and BaselineJoinHashTable.

virtual size_t JoinHashTableInterface::payloadBufferOff ( ) const
pure virtualnoexcept

Implemented in JoinHashTable, and BaselineJoinHashTable.

virtual std::string JoinHashTableInterface::toString ( const ExecutorDeviceType  device_type,
const int  device_id,
bool  raw = false 
) const
pure virtualnoexcept

Implemented in JoinHashTable, and BaselineJoinHashTable.

std::string JoinHashTableInterface::toStringFlat32 ( const ExecutorDeviceType  device_type,
const int  device_id 
) const
virtualnoexcept

Definition at line 164 of file JoinHashTableInterface.cpp.

165  {
166  return decodeJoinHashBufferToStringFlat<int32_t>(this, device_type, device_id);
167 }
std::string JoinHashTableInterface::toStringFlat64 ( const ExecutorDeviceType  device_type,
const int  device_id 
) const
virtualnoexcept

Definition at line 159 of file JoinHashTableInterface.cpp.

160  {
161  return decodeJoinHashBufferToStringFlat<int64_t>(this, device_type, device_id);
162 }

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