OmniSciDB  a5dc49c757
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
java::sql::ResultSet::ResultSetComparator::ModeScatter< BUFFER_ITERATOR_TYPE > Struct Template Reference
+ Collaboration diagram for java::sql::ResultSet::ResultSetComparator::ModeScatter< BUFFER_ITERATOR_TYPE >:

Public Member Functions

void operator() (ModeBlockedRange const &r) const
 

Public Attributes

logger::ThreadLocalIds const parent_thread_local_ids_
 
ResultSet::ResultSetComparator
< BUFFER_ITERATOR_TYPE > const
*const 
rsc_
 
Analyzer::OrderEntry const & order_entry_
 
ResultSet::ModeBuffers::value_type & materialized_buffer_
 

Detailed Description

template<typename BUFFER_ITERATOR_TYPE>
struct java::sql::ResultSet::ResultSetComparator::ModeScatter< BUFFER_ITERATOR_TYPE >

Definition at line 1104 of file ResultSet.cpp.

Member Function Documentation

template<typename BUFFER_ITERATOR_TYPE >
void java::sql::ResultSet::ResultSetComparator::ModeScatter< BUFFER_ITERATOR_TYPE >::operator() ( ModeBlockedRange const &  r) const
inline

Definition at line 1110 of file ResultSet.cpp.

References anonymous_namespace{ResultSet.cpp}::materializeMode().

1110  {
1112  for (size_t i = r.begin(); i != r.end(); ++i) {
1113  PermutationIdx const permuted_idx = rsc_->permutation_[i];
1114  auto const storage_lookup_result = rsc_->result_set_->findStorage(permuted_idx);
1115  auto const storage = storage_lookup_result.storage_ptr;
1116  auto const off = storage_lookup_result.fixedup_entry_idx;
1117  auto const value = rsc_->buffer_itr_.getColumnInternal(
1118  storage->buff_, off, order_entry_.tle_no - 1, storage_lookup_result);
1119  materialized_buffer_[permuted_idx] = materializeMode(value.i1);
1120  }
1121  }
ResultSet::ResultSetComparator< BUFFER_ITERATOR_TYPE > const *const rsc_
Definition: ResultSet.cpp:1106
int tle_no
Definition: Analyzer.h:2811
uint32_t PermutationIdx
Definition: ResultSet.h:152
LocalIdsScopeGuard setNewThreadId() const
Definition: Logger.cpp:538
int64_t materializeMode(int64_t const i1)
Definition: ResultSet.cpp:1091
ResultSet::ModeBuffers::value_type & materialized_buffer_
Definition: ResultSet.cpp:1108

+ Here is the call graph for this function:

Member Data Documentation

template<typename BUFFER_ITERATOR_TYPE >
ResultSet::ModeBuffers::value_type& java::sql::ResultSet::ResultSetComparator::ModeScatter< BUFFER_ITERATOR_TYPE >::materialized_buffer_

Definition at line 1108 of file ResultSet.cpp.

template<typename BUFFER_ITERATOR_TYPE >
Analyzer::OrderEntry const& java::sql::ResultSet::ResultSetComparator::ModeScatter< BUFFER_ITERATOR_TYPE >::order_entry_

Definition at line 1107 of file ResultSet.cpp.

template<typename BUFFER_ITERATOR_TYPE >
logger::ThreadLocalIds const java::sql::ResultSet::ResultSetComparator::ModeScatter< BUFFER_ITERATOR_TYPE >::parent_thread_local_ids_

Definition at line 1105 of file ResultSet.cpp.

template<typename BUFFER_ITERATOR_TYPE >
ResultSet::ResultSetComparator<BUFFER_ITERATOR_TYPE> const* const java::sql::ResultSet::ResultSetComparator::ModeScatter< BUFFER_ITERATOR_TYPE >::rsc_

Definition at line 1106 of file ResultSet.cpp.


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