SWC-DB  v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
ReqScan.cc
Go to the documentation of this file.
1 /*
2  * SWC-DB© Copyright since 2019 Alex Kashirin <kashirin.alex@gmail.com>
3  * License details at <https://github.com/kashirin-alex/swc-db/#license>
4  */
5 
6 
8 
9 
10 namespace SWC { namespace DB { namespace Cells {
11 
12 
13 bool ReqScan::selector(const Types::KeySeq key_seq,
14  const DB::Cells::Cell& cell, bool& stop) {
15  return spec.is_matching(key_seq, cell, stop);
16 }
17 
18 void ReqScan::print(std::ostream& out) const {
19  spec.print(out);
20  out << " state(offset=" << offset << ')';
21 }
22 
23 
24 }}}
SWC::DB::Specs::Interval::print
void print(std::ostream &out) const
Definition: SpecsInterval.cc:322
SWC::DB::Cells::Cell
Definition: Cell.h:92
SWC::DB::Types::KeySeq
KeySeq
Definition: KeySeq.h:13
SWC::DB::Cells::ReqScan::selector
virtual bool selector(const Types::KeySeq key_seq, const Cell &cell, bool &stop)
Definition: ReqScan.cc:13
SWC::DB::Cells::ReqScan::offset
uint64_t offset
Definition: ReqScan.h:109
SWC
The SWC-DB C++ namespace 'SWC'.
Definition: main.cc:12
SWC::DB::Cells::ReqScan::print
virtual void print(std::ostream &out) const
Definition: ReqScan.cc:18
SWC::DB::Cells::ReqScan::spec
DB::Specs::Interval spec
Definition: ReqScan.h:106
ReqScan.h
SWC::DB::Specs::Interval::is_matching
SWC_CAN_INLINE bool is_matching(const Types::KeySeq key_seq, const Cell::Key &key, int64_t timestamp, bool desc) const
Definition: SpecsInterval.h:91