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