OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
StorageIOFacility::UpdateTransactionParameters Class Reference

#include <StorageIOFacility.h>

+ Inheritance diagram for StorageIOFacility::UpdateTransactionParameters:
+ Collaboration diagram for StorageIOFacility::UpdateTransactionParameters:

Public Member Functions

 UpdateTransactionParameters (TableDescriptorType const *table_descriptor, const Catalog_Namespace::Catalog &catalog, UpdateTargetColumnNamesList const &update_column_names, UpdateTargetTypeList const &target_types, bool varlen_update_required)
 
auto getUpdateColumnCount () const
 
auto const & getTargetsMetaInfo () const
 
auto getTargetsMetaInfoSize () const
 
auto const & getUpdateColumnNames () const
 
auto isVarlenUpdateRequired () const
 
- Public Member Functions inherited from StorageIOFacility::TransactionParameters
 TransactionParameters (const TableDescriptorType *table_descriptor, const Catalog_Namespace::Catalog &catalog)
 
virtual ~TransactionParameters ()=default
 
StorageIOFacility::TransactionLoggetTransactionTracker ()
 
void finalizeTransaction (const Catalog_Namespace::Catalog &catalog)
 
auto tableIsTemporary () const
 
auto const * getTableDescriptor () const
 
const Catalog_Namespace::CataloggetCatalog () const
 
const RelAlgNodegetInputSourceNode () const
 
void setInputSourceNode (const RelAlgNode *input_source_node)
 

Private Member Functions

 UpdateTransactionParameters (UpdateTransactionParameters const &other)=delete
 
UpdateTransactionParametersoperator= (UpdateTransactionParameters const &other)=delete
 

Private Attributes

UpdateTargetColumnNamesList update_column_names_
 
UpdateTargetTypeList const & targets_meta_
 
bool varlen_update_required_ = false
 

Detailed Description

Definition at line 176 of file StorageIOFacility.h.

Constructor & Destructor Documentation

StorageIOFacility::UpdateTransactionParameters::UpdateTransactionParameters ( TableDescriptorType const *  table_descriptor,
const Catalog_Namespace::Catalog catalog,
UpdateTargetColumnNamesList const &  update_column_names,
UpdateTargetTypeList const &  target_types,
bool  varlen_update_required 
)
inline

Definition at line 178 of file StorageIOFacility.h.

183  : TransactionParameters(table_descriptor, catalog)
184  , update_column_names_(update_column_names)
185  , targets_meta_(target_types)
186  , varlen_update_required_(varlen_update_required) {}
TransactionParameters(const TableDescriptorType *table_descriptor, const Catalog_Namespace::Catalog &catalog)
StorageIOFacility::UpdateTransactionParameters::UpdateTransactionParameters ( UpdateTransactionParameters const &  other)
privatedelete

Member Function Documentation

auto const& StorageIOFacility::UpdateTransactionParameters::getTargetsMetaInfo ( ) const
inline

Definition at line 189 of file StorageIOFacility.h.

References targets_meta_.

Referenced by StorageIOFacility::yieldUpdateCallback().

189 { return targets_meta_; }

+ Here is the caller graph for this function:

auto StorageIOFacility::UpdateTransactionParameters::getTargetsMetaInfoSize ( ) const
inline

Definition at line 190 of file StorageIOFacility.h.

References targets_meta_.

190 { return targets_meta_.size(); }
auto StorageIOFacility::UpdateTransactionParameters::getUpdateColumnCount ( ) const
inline

Definition at line 188 of file StorageIOFacility.h.

References update_column_names_.

Referenced by StorageIOFacility::yieldUpdateCallback().

188 { return update_column_names_.size(); }

+ Here is the caller graph for this function:

auto const& StorageIOFacility::UpdateTransactionParameters::getUpdateColumnNames ( ) const
inline

Definition at line 191 of file StorageIOFacility.h.

References update_column_names_.

Referenced by StorageIOFacility::yieldUpdateCallback().

191 { return update_column_names_; }

+ Here is the caller graph for this function:

auto StorageIOFacility::UpdateTransactionParameters::isVarlenUpdateRequired ( ) const
inline

Definition at line 192 of file StorageIOFacility.h.

References varlen_update_required_.

Referenced by StorageIOFacility::yieldUpdateCallback().

+ Here is the caller graph for this function:

UpdateTransactionParameters& StorageIOFacility::UpdateTransactionParameters::operator= ( UpdateTransactionParameters const &  other)
privatedelete

Member Data Documentation

UpdateTargetTypeList const& StorageIOFacility::UpdateTransactionParameters::targets_meta_
private

Definition at line 200 of file StorageIOFacility.h.

Referenced by getTargetsMetaInfo(), and getTargetsMetaInfoSize().

UpdateTargetColumnNamesList StorageIOFacility::UpdateTransactionParameters::update_column_names_
private

Definition at line 199 of file StorageIOFacility.h.

Referenced by getUpdateColumnCount(), and getUpdateColumnNames().

bool StorageIOFacility::UpdateTransactionParameters::varlen_update_required_ = false
private

Definition at line 201 of file StorageIOFacility.h.

Referenced by isVarlenUpdateRequired().


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