MCPcopy Create free account
hub / github.com/cwida/ALP / X

Method X

publication/source_code/bench_end_to_end/src/vectorwise/QueryBuilder.cpp:560–573  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

558}
559
560QueryBuilder::DS QueryBuilder::X(QueryBuilder::ScanBuilder& scan_bdr, std::string attribute, int sub_c) {
561 DS r;
562
563 if (sub_c == 0) {
564 r.buf = DataStorage::BufferSpec::MTD;
565 } else {
566 r.buf = DataStorage::BufferSpec::X;
567 }
568 auto& attr = scan_bdr.rel[attribute];
569 r.data_size = attr.type->rt_size();
570 r.data = attr.data(sub_c);
571 r.scan = &scan_bdr.scan;
572 return r;
573}
574
575QueryBuilder::HashGroupBuilder::~HashGroupBuilder() {
576

Callers

nothing calls this directly

Calls 2

rt_sizeMethod · 0.80
dataMethod · 0.45

Tested by

no test coverage detected