OmniSciDB  04ee39c94c
StorageIOFacility< EXECUTOR_TRAITS, IO_FACET, FRAGMENT_UPDATER >::UpdateTransactionParameters Class Reference

#include <StorageIOFacility.h>

+ Inheritance diagram for StorageIOFacility< EXECUTOR_TRAITS, IO_FACET, FRAGMENT_UPDATER >::UpdateTransactionParameters:
+ Collaboration diagram for StorageIOFacility< EXECUTOR_TRAITS, IO_FACET, FRAGMENT_UPDATER >::UpdateTransactionParameters:

Public Member Functions

 UpdateTransactionParameters (TableDescriptorType const *table_desc, UpdateTargetColumnNamesList const &update_column_names, UpdateTargetTypeList const &target_types, bool varlen_update_required)
 
auto getUpdateColumnCount () const
 
auto const * getTableDescriptor () const
 
auto const & getTargetsMetaInfo () const
 
auto getTargetsMetaInfoSize () const
 
auto const & getUpdateColumnNames () const
 
auto isVarlenUpdateRequired () const
 
- Public Member Functions inherited from StorageIOFacility< EXECUTOR_TRAITS, IO_FACET, FRAGMENT_UPDATER >::TransactionParameters
IOFacility::TransactionLog & getTransactionTracker ()
 
void finalizeTransaction ()
 

Private Member Functions

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

Private Attributes

TableDescriptorType const * table_descriptor_
 
UpdateTargetColumnNamesList update_column_names_
 
UpdateTargetTypeList const & targets_meta_
 
bool varlen_update_required_ = false
 

Detailed Description

template<typename EXECUTOR_TRAITS, typename IO_FACET = DefaultIOFacet<>, typename FRAGMENT_UPDATER = UpdateLogForFragment>
class StorageIOFacility< EXECUTOR_TRAITS, IO_FACET, FRAGMENT_UPDATER >::UpdateTransactionParameters

Definition at line 150 of file StorageIOFacility.h.

Constructor & Destructor Documentation

◆ UpdateTransactionParameters() [1/2]

template<typename EXECUTOR_TRAITS, typename IO_FACET = DefaultIOFacet<>, typename FRAGMENT_UPDATER = UpdateLogForFragment>
StorageIOFacility< EXECUTOR_TRAITS, IO_FACET, FRAGMENT_UPDATER >::UpdateTransactionParameters::UpdateTransactionParameters ( TableDescriptorType const *  table_desc,
UpdateTargetColumnNamesList const &  update_column_names,
UpdateTargetTypeList const &  target_types,
bool  varlen_update_required 
)
inline

Definition at line 152 of file StorageIOFacility.h.

156  : table_descriptor_(table_desc)
157  , update_column_names_(update_column_names)
158  , targets_meta_(target_types)
159  , varlen_update_required_(varlen_update_required){};

◆ UpdateTransactionParameters() [2/2]

template<typename EXECUTOR_TRAITS, typename IO_FACET = DefaultIOFacet<>, typename FRAGMENT_UPDATER = UpdateLogForFragment>
StorageIOFacility< EXECUTOR_TRAITS, IO_FACET, FRAGMENT_UPDATER >::UpdateTransactionParameters::UpdateTransactionParameters ( UpdateTransactionParameters const &  other)
privatedelete

Member Function Documentation

◆ getTableDescriptor()

template<typename EXECUTOR_TRAITS, typename IO_FACET = DefaultIOFacet<>, typename FRAGMENT_UPDATER = UpdateLogForFragment>
auto const* StorageIOFacility< EXECUTOR_TRAITS, IO_FACET, FRAGMENT_UPDATER >::UpdateTransactionParameters::getTableDescriptor ( ) const
inline

Definition at line 162 of file StorageIOFacility.h.

162 { return table_descriptor_; }

◆ getTargetsMetaInfo()

template<typename EXECUTOR_TRAITS, typename IO_FACET = DefaultIOFacet<>, typename FRAGMENT_UPDATER = UpdateLogForFragment>
auto const& StorageIOFacility< EXECUTOR_TRAITS, IO_FACET, FRAGMENT_UPDATER >::UpdateTransactionParameters::getTargetsMetaInfo ( ) const
inline

Definition at line 163 of file StorageIOFacility.h.

163 { return targets_meta_; }

◆ getTargetsMetaInfoSize()

template<typename EXECUTOR_TRAITS, typename IO_FACET = DefaultIOFacet<>, typename FRAGMENT_UPDATER = UpdateLogForFragment>
auto StorageIOFacility< EXECUTOR_TRAITS, IO_FACET, FRAGMENT_UPDATER >::UpdateTransactionParameters::getTargetsMetaInfoSize ( ) const
inline

Definition at line 164 of file StorageIOFacility.h.

164 { return targets_meta_.size(); }

◆ getUpdateColumnCount()

template<typename EXECUTOR_TRAITS, typename IO_FACET = DefaultIOFacet<>, typename FRAGMENT_UPDATER = UpdateLogForFragment>
auto StorageIOFacility< EXECUTOR_TRAITS, IO_FACET, FRAGMENT_UPDATER >::UpdateTransactionParameters::getUpdateColumnCount ( ) const
inline

Definition at line 161 of file StorageIOFacility.h.

161 { return update_column_names_.size(); }

◆ getUpdateColumnNames()

template<typename EXECUTOR_TRAITS, typename IO_FACET = DefaultIOFacet<>, typename FRAGMENT_UPDATER = UpdateLogForFragment>
auto const& StorageIOFacility< EXECUTOR_TRAITS, IO_FACET, FRAGMENT_UPDATER >::UpdateTransactionParameters::getUpdateColumnNames ( ) const
inline

Definition at line 165 of file StorageIOFacility.h.

165 { return update_column_names_; }

◆ isVarlenUpdateRequired()

template<typename EXECUTOR_TRAITS, typename IO_FACET = DefaultIOFacet<>, typename FRAGMENT_UPDATER = UpdateLogForFragment>
auto StorageIOFacility< EXECUTOR_TRAITS, IO_FACET, FRAGMENT_UPDATER >::UpdateTransactionParameters::isVarlenUpdateRequired ( ) const
inline

◆ operator=()

template<typename EXECUTOR_TRAITS, typename IO_FACET = DefaultIOFacet<>, typename FRAGMENT_UPDATER = UpdateLogForFragment>
UpdateTransactionParameters& StorageIOFacility< EXECUTOR_TRAITS, IO_FACET, FRAGMENT_UPDATER >::UpdateTransactionParameters::operator= ( UpdateTransactionParameters const &  other)
privatedelete

Member Data Documentation

◆ table_descriptor_

template<typename EXECUTOR_TRAITS, typename IO_FACET = DefaultIOFacet<>, typename FRAGMENT_UPDATER = UpdateLogForFragment>
TableDescriptorType const* StorageIOFacility< EXECUTOR_TRAITS, IO_FACET, FRAGMENT_UPDATER >::UpdateTransactionParameters::table_descriptor_
private

Definition at line 173 of file StorageIOFacility.h.

◆ targets_meta_

template<typename EXECUTOR_TRAITS, typename IO_FACET = DefaultIOFacet<>, typename FRAGMENT_UPDATER = UpdateLogForFragment>
UpdateTargetTypeList const& StorageIOFacility< EXECUTOR_TRAITS, IO_FACET, FRAGMENT_UPDATER >::UpdateTransactionParameters::targets_meta_
private

Definition at line 175 of file StorageIOFacility.h.

◆ update_column_names_

template<typename EXECUTOR_TRAITS, typename IO_FACET = DefaultIOFacet<>, typename FRAGMENT_UPDATER = UpdateLogForFragment>
UpdateTargetColumnNamesList StorageIOFacility< EXECUTOR_TRAITS, IO_FACET, FRAGMENT_UPDATER >::UpdateTransactionParameters::update_column_names_
private

Definition at line 174 of file StorageIOFacility.h.

◆ varlen_update_required_

template<typename EXECUTOR_TRAITS, typename IO_FACET = DefaultIOFacet<>, typename FRAGMENT_UPDATER = UpdateLogForFragment>
bool StorageIOFacility< EXECUTOR_TRAITS, IO_FACET, FRAGMENT_UPDATER >::UpdateTransactionParameters::varlen_update_required_ = false
private

Definition at line 176 of file StorageIOFacility.h.


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