MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / KeywordsTableScan

Class KeywordsTableScan

src/jrd/KeywordsTable.h:48–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46
47
48class KeywordsTableScan final : public VirtualTableScan
49{
50public:
51 KeywordsTableScan(CompilerScratch* csb, const Firebird::string& alias,
52 StreamType stream, jrd_rel* relation)
53 : VirtualTableScan(csb, alias, stream, relation)
54 {
55 impureOffset = csb->allocImpure<Impure>();
56 }
57
58 void close(thread_db* tdbb) const override;
59
60protected:
61 const Format* getFormat(thread_db* tdbb, jrd_rel* relation) const override;
62
63 bool retrieveRecord(thread_db* tdbb, jrd_rel* relation, FB_UINT64 position,
64 Record* record) const override;
65
66private:
67 struct Impure
68 {
69 KeywordsTable* table;
70 };
71
72 RecordBuffer* getRecords(thread_db* tdbb, jrd_rel* relation) const;
73
74 ULONG impureOffset;
75};
76
77} // namespace Jrd
78

Callers 1

generateRetrievalMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected