MCPcopy Create free account
hub / github.com/activeloopai/deeplake / reset

Method reset

cpp/deeplake_pg/table_am.cpp:87–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85 int64_t num_rescans = 0;
86
87 void reset()
88 {
89 tid_range_scan_active = false;
90 min_tid = 0;
91 max_tid = 0;
92 current_tid = 0;
93 bitmap_scan_active = false;
94 bitmap_row_numbers.clear();
95 current_tbmres = nullptr;
96 current_offset = InvalidOffsetNumber;
97 sample_scan_active = false;
98 current_sample_scanstate = nullptr;
99 analyze_block_returned = false;
100 }
101
102 DeeplakeScanData(pg::table_scan&& state)
103 : postgres_scan{}

Callers 3

scan_rescanMethod · 0.45
index_fetch_resetMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected