MCPcopy Create free account
hub / github.com/apache/impala / LoadComperator

Method LoadComperator

be/src/util/tuple-row-compare-test.cc:70–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68 }
69
70 void LoadComperator(int offset) {
71 TSortInfo* tsort_info = pool_.Add(new TSortInfo);
72 tsort_info->sorting_order = TSortingOrder::ZORDER;
73 TupleRowComparatorConfig* config =
74 pool_.Add(new TupleRowComparatorConfig(*tsort_info, ordering_exprs_));
75 comperator_.reset(new TupleRowZOrderComparator(*config));
76 ASSERT_OK(comperator_->Open(&pool_, runtime_state_, &expr_perm_pool_,
77 &expr_results_pool_));
78 }
79
80 // Only ColumnType should be passed as template parameter.
81 template <typename... Types>

Callers

nothing calls this directly

Calls 6

push_backMethod · 0.80
GetSlotSizeMethod · 0.80
resetMethod · 0.65
AddMethod · 0.45
OpenMethod · 0.45
InitMethod · 0.45

Tested by

no test coverage detected