|
PostgreSQL Source Code git master
|
#include "postgres.h"#include "access/relscan.h"#include "bloom.h"#include "executor/instrument_node.h"#include "miscadmin.h"#include "pgstat.h"#include "storage/bufmgr.h"#include "storage/read_stream.h"
Go to the source code of this file.
Functions | |
| IndexScanDesc | blbeginscan (Relation r, int nkeys, int norderbys) |
| void | blrescan (IndexScanDesc scan, ScanKey scankey, int nscankeys, ScanKey orderbys, int norderbys) |
| void | blendscan (IndexScanDesc scan) |
| int64 | blgetbitmap (IndexScanDesc scan, TIDBitmap *tbm) |
| IndexScanDesc blbeginscan | ( | Relation | r, |
| int | nkeys, | ||
| int | norderbys | ||
| ) |
Definition at line 27 of file blscan.c.
References fb(), IndexScanDescData::indexRelation, initBloomState(), IndexScanDescData::opaque, palloc_object, and RelationGetIndexScan().
Referenced by blhandler().
| void blendscan | ( | IndexScanDesc | scan | ) |
Definition at line 64 of file blscan.c.
References fb(), IndexScanDescData::opaque, and pfree().
Referenced by blhandler().
| int64 blgetbitmap | ( | IndexScanDesc | scan, |
| TIDBitmap * | tbm | ||
| ) |
Definition at line 77 of file blscan.c.
References Assert, BAS_BULKREAD, block_range_read_stream_cb(), BLOOM_HEAD_BLKNO, BloomPageGetMaxOffset, BloomPageGetTuple, BloomPageIsDeleted, BUFFER_LOCK_SHARE, BufferGetPage(), CHECK_FOR_INTERRUPTS, BlockRangeReadStreamPrivate::current_blocknum, fb(), FreeAccessStrategy(), GetAccessStrategy(), BloomTuple::heapPtr, i, IndexScanDescData::indexRelation, IndexScanDescData::instrument, InvalidBuffer, IndexScanDescData::keyData, BlockRangeReadStreamPrivate::last_exclusive, LockBuffer(), MAIN_FORKNUM, IndexScanInstrumentation::nsearches, IndexScanDescData::numberOfKeys, IndexScanDescData::opaque, PageIsNew(), palloc0_array, pfree(), pgstat_count_index_scan, read_stream_begin_relation(), read_stream_end(), READ_STREAM_FULL, read_stream_next_buffer(), READ_STREAM_USE_BATCHING, RelationGetNumberOfBlocks, BloomTuple::sign, signValue(), SK_ISNULL, tbm_add_tuples(), and UnlockReleaseBuffer().
Referenced by blhandler().
| void blrescan | ( | IndexScanDesc | scan, |
| ScanKey | scankey, | ||
| int | nscankeys, | ||
| ScanKey | orderbys, | ||
| int | norderbys | ||
| ) |
Definition at line 47 of file blscan.c.
References fb(), IndexScanDescData::keyData, IndexScanDescData::numberOfKeys, IndexScanDescData::opaque, and pfree().
Referenced by blhandler().