LogicalDummyScan represents a dummy scan returning a single row.
More...
|
|
static constexpr const LogicalOperatorType | TYPE = LogicalOperatorType::LOGICAL_DUMMY_SCAN |
|
| void | ResolveTypes () override |
| | Resolve types for this specific operator.
|
LogicalDummyScan represents a dummy scan returning a single row.
◆ LogicalDummyScan()
| duckdb::LogicalDummyScan::LogicalDummyScan |
( |
idx_t | table_index | ) |
|
|
inlineexplicit |
204060 : LogicalOperator(LogicalOperatorType::LOGICAL_DUMMY_SCAN), table_index(table_index) {
204061 }
◆ GetColumnBindings()
◆ EstimateCardinality()
◆ Serialize()
| void duckdb::LogicalDummyScan::Serialize |
( |
Serializer & | serializer | ) |
const |
|
overridevirtual |
Reimplemented from duckdb::LogicalOperator.
416726 {
416727 LogicalOperator::Serialize(serializer);
416728 serializer.WritePropertyWithDefault<
idx_t>(200,
"table_index", table_index);
416729}
uint64_t idx_t
a saner size_t for loop indices etc
Definition duckdb.hpp:237
◆ Deserialize()
416731 {
416732 auto table_index = deserializer.ReadPropertyWithDefault<
idx_t>(200,
"table_index");
416733 auto result = duckdb::unique_ptr<LogicalDummyScan>(new LogicalDummyScan(table_index));
416734 return std::move(result);
416735}
◆ GetTableIndex()
| vector< idx_t > duckdb::LogicalDummyScan::GetTableIndex |
( |
| ) |
const |
|
overridevirtual |
Returns the set of table indexes of this operator.
Reimplemented from duckdb::LogicalOperator.
382033 {
382034 return vector<idx_t> {table_index};
382035}
◆ GetName()
| string duckdb::LogicalDummyScan::GetName |
( |
| ) |
const |
|
overridevirtual |
Reimplemented from duckdb::LogicalOperator.
382037 {
382038#ifdef DEBUG
382041 }
382042#endif
382043 return LogicalOperator::GetName();
382044}
static string Format(const string fmt_str, ARGS... params)
Format a string using printf semantics.
Definition duckdb.hpp:4002
static bool debug_print_bindings
Whether to print bindings when printing the plan (debug mode only).
Definition duckdb.hpp:40040
◆ ResolveTypes()
| void duckdb::LogicalDummyScan::ResolveTypes |
( |
| ) |
|
|
inlineoverrideprotectedvirtual |
Resolve types for this specific operator.
Implements duckdb::LogicalOperator.
204079 {
204080 if (
types.empty()) {
204081 types.emplace_back(LogicalType::INTEGER);
204082 }
204083 }
vector< LogicalType > types
The types returned by this logical operator. Set by calling LogicalOperator::ResolveTypes.
Definition duckdb.hpp:21266
The documentation for this class was generated from the following file: