1 | #include "duckdb/parser/tableref/emptytableref.hpp" |
---|---|
2 | |
3 | #include "duckdb/common/field_writer.hpp" |
4 | |
5 | namespace duckdb { |
6 | |
7 | string EmptyTableRef::ToString() const { |
8 | return ""; |
9 | } |
10 | |
11 | bool EmptyTableRef::Equals(const TableRef &other) const { |
12 | return TableRef::Equals(other); |
13 | } |
14 | |
15 | unique_ptr<TableRef> EmptyTableRef::Copy() { |
16 | return make_uniq<EmptyTableRef>(); |
17 | } |
18 | |
19 | void EmptyTableRef::Serialize(FieldWriter &writer) const { |
20 | } |
21 | |
22 | unique_ptr<TableRef> EmptyTableRef::Deserialize(FieldReader &reader) { |
23 | return make_uniq<EmptyTableRef>(); |
24 | } |
25 | |
26 | unique_ptr<TableRef> EmptyTableRef::FormatDeserialize(FormatDeserializer &source) { |
27 | return make_uniq<EmptyTableRef>(); |
28 | } |
29 | |
30 | } // namespace duckdb |
31 |