|
|
| UnboundIndex (unique_ptr< CreateInfo > create_info, IndexStorageInfo storage_info, TableIOManager &table_io_manager, AttachedDatabase &db) |
| |
| bool | IsBound () const override |
| | Returns true if the index is a bound index, and false otherwise.
|
| |
| const string & | GetIndexType () const override |
| | The index type (ART, B+-tree, Skip-List, ...)
|
| |
| const string & | GetIndexName () const override |
| | The name of the index.
|
| |
| IndexConstraintType | GetConstraintType () const override |
| | The index constraint type.
|
| |
| const CreateIndexInfo & | GetCreateInfo () const |
| |
| const IndexStorageInfo & | GetStorageInfo () const |
| |
| const vector< unique_ptr< ParsedExpression > > & | GetParsedExpressions () const |
| |
| const string & | GetTableName () const |
| |
| void | CommitDrop () override |
| |
| void | BufferChunk (DataChunk &index_column_chunk, Vector &row_ids, const vector< StorageIndex > &mapped_column_ids_p, BufferedIndexReplay replay_type) |
| |
| bool | HasBufferedReplays () const |
| |
| BufferedIndexReplays & | GetBufferedReplays () |
| |
| const vector< StorageIndex > & | GetMappedColumnIds () const |
| |
| bool | IsUnique () const |
| | Returns unique flag.
|
| |
| bool | IsPrimary () const |
| | Returns primary key flag.
|
| |
| bool | IsForeign () const |
| | Returns foreign key flag.
|
| |
| const vector< column_t > & | GetColumnIds () const |
| |
| const unordered_set< column_t > & | GetColumnIdSet () const |
| |
| template<class TARGET > |
| TARGET & | Cast () |
| |
| template<class TARGET > |
| const TARGET & | Cast () const |
| |
◆ IsBound()
| bool duckdb::UnboundIndex::IsBound |
( |
| ) |
const |
|
inlineoverridevirtual |
Returns true if the index is a bound index, and false otherwise.
Implements duckdb::Index.
49918 {
49919 return false;
49920 }
◆ GetIndexType()
| const string & duckdb::UnboundIndex::GetIndexType |
( |
| ) |
const |
|
inlineoverridevirtual |
The index type (ART, B+-tree, Skip-List, ...)
Implements duckdb::Index.
49921 {
49922 return GetCreateInfo().index_type;
49923 }
◆ GetIndexName()
| const string & duckdb::UnboundIndex::GetIndexName |
( |
| ) |
const |
|
inlineoverridevirtual |
The name of the index.
Implements duckdb::Index.
49924 {
49925 return GetCreateInfo().index_name;
49926 }
◆ GetConstraintType()
| IndexConstraintType duckdb::UnboundIndex::GetConstraintType |
( |
| ) |
const |
|
inlineoverridevirtual |
The index constraint type.
Implements duckdb::Index.
49927 {
49928 return GetCreateInfo().constraint_type;
49929 }
◆ GetCreateInfo()
49930 {
49932 }
unique_ptr< CreateInfo > create_info
The CreateInfo of the index.
Definition duckdb.hpp:49900
◆ GetStorageInfo()
49933 {
49935 }
IndexStorageInfo storage_info
The serialized storage information of the index.
Definition duckdb.hpp:49902
◆ GetParsedExpressions()
49936 {
49937 return GetCreateInfo().parsed_expressions;
49938 }
◆ GetTableName()
| const string & duckdb::UnboundIndex::GetTableName |
( |
| ) |
const |
|
inline |
49939 {
49940 return GetCreateInfo().table;
49941 }
◆ CommitDrop()
| void duckdb::UnboundIndex::CommitDrop |
( |
| ) |
|
|
overridevirtual |
◆ BufferChunk()
Buffer Index delete or insert (replay_type) data chunk. See note above on mapped_column_ids, this function assumes that index_column_chunk maps into mapped_column_ids_p to get the physical column index for each Indexed column in the chunk.
◆ HasBufferedReplays()
| bool duckdb::UnboundIndex::HasBufferedReplays |
( |
| ) |
const |
|
inline |
49950 {
49952 }
BufferedIndexReplays buffered_replays
Buffered for index operations during WAL replay. They are replayed upon index binding.
Definition duckdb.hpp:49905
◆ GetBufferedReplays()
◆ GetMappedColumnIds()
49958 {
49960 }
vector< StorageIndex > mapped_column_ids
Definition duckdb.hpp:49911
◆ mapped_column_ids
Maps the column IDs in the buffered replays to a physical table offset. For example, column [i] in a buffered ColumnDataCollection is the data for an Indexed column with physical table index mapped_column_ids[i]. This is in sorted order of physical column IDs.
The documentation for this class was generated from the following file: