|
|
idx_t | start |
| | The row index of the first row.
|
|
ChunkInfoType | type |
| | The ChunkInfo type.
|
◆ ChunkInfo()
| duckdb::ChunkInfo::ChunkInfo |
( |
idx_t | start, |
|
|
ChunkInfoType | type ) |
|
inline |
22699 }
ChunkInfoType type
The ChunkInfo type.
Definition duckdb.hpp:22706
idx_t start
The row index of the first row.
Definition duckdb.hpp:22704
◆ ~ChunkInfo()
| virtual duckdb::ChunkInfo::~ChunkInfo |
( |
| ) |
|
|
inlinevirtual |
◆ GetSelVector()
◆ GetCheckpointRowCount()
427607 {
427608 ScanOptions options(transaction);
427611}
virtual idx_t GetSelVector(ScanOptions options, optional_ptr< SelectionVector > sel_vector, idx_t max_count) const =0
@ INCLUDE_ALL_DELETED
include all rows, including all deleted rows
Definition duckdb.hpp:22650
◆ Fetch()
◆ GetCommittedDeletedCount()
| idx_t duckdb::ChunkInfo::GetCommittedDeletedCount |
( |
idx_t | max_count | ) |
const |
427599 {
427600 ScanOptions options(TransactionData(0, TRANSACTION_ID_START));
427601 options.insert_type = InsertedScanType::ALL_ROWS;
427604 return max_count - not_deleted_count;
427605}
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237
@ OMIT_COMMITTED_DELETES
omit only deleted rows that have been committed and have a commit ts lower than the transaction start
Definition duckdb.hpp:22652
◆ Cleanup()
| bool duckdb::ChunkInfo::Cleanup |
( |
transaction_t | lowest_transaction | ) |
const |
|
virtual |
427577 {
427578 return false;
427579}
◆ Write()
427581 {
427582 writer.Write<ChunkInfoType>(
type);
427583}
◆ Read()
427585 {
427586 auto type = reader.Read<ChunkInfoType>();
427588 case ChunkInfoType::EMPTY_INFO:
427589 return nullptr;
427590 case ChunkInfoType::CONSTANT_INFO:
427591 return ChunkConstantInfo::Read(reader);
427592 case ChunkInfoType::VECTOR_INFO:
427593 return ChunkVectorInfo::Read(allocator, reader);
427594 default:
427595 throw SerializationException("Could not deserialize Chunk Info Type: unrecognized type");
427596 }
427597}
◆ Cast() [1/2]
template<class TARGET>
| TARGET & duckdb::ChunkInfo::Cast |
( |
| ) |
|
|
inline |
22728 {
22729 if (
type != TARGET::TYPE) {
22730 throw InternalException("Failed to cast chunk info to type - query result type mismatch");
22731 }
22732 return reinterpret_cast<TARGET &>(*this);
22733 }
◆ Cast() [2/2]
template<class TARGET>
| const TARGET & duckdb::ChunkInfo::Cast |
( |
| ) |
const |
|
inline |
22736 {
22737 if (
type != TARGET::TYPE) {
22738 throw InternalException("Failed to cast chunk info to type - query result type mismatch");
22739 }
22740 return reinterpret_cast<const TARGET &>(*this);
22741 }
The documentation for this class was generated from the following files: