Skip to content

Commit

Permalink
Remove types_include.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Riolku committed Sep 11, 2023
1 parent 898ca25 commit c081c94
Show file tree
Hide file tree
Showing 26 changed files with 32 additions and 27 deletions.
4 changes: 3 additions & 1 deletion src/common/types/types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
#include "common/null_buffer.h"
#include "common/ser_deser.h"
#include "common/string_utils.h"
#include "common/types/types_include.h"
#include "common/types/interval_t.h"
#include "common/types/ku_list.h"
#include "common/types/ku_string.h"

namespace kuzu {
namespace common {
Expand Down
1 change: 1 addition & 0 deletions src/common/types/value.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include "common/null_buffer.h"
#include "common/ser_deser.h"
#include "common/string_utils.h"
#include "common/types/blob.h"
#include "storage/storage_utils.h"

namespace kuzu {
Expand Down
2 changes: 1 addition & 1 deletion src/include/binder/expression/expression.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

#include "common/exception/internal.h"
#include "common/expression_type.h"
#include "common/types/types_include.h"
#include "common/types/types.h"

namespace kuzu {
namespace binder {
Expand Down
1 change: 0 additions & 1 deletion src/include/common/copier_config/copier_config.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
#include <fstream>

#include "common/constants.h"
#include "common/types/types_include.h"
#include "common/types/value.h"

namespace kuzu {
Expand Down
6 changes: 5 additions & 1 deletion src/include/common/type_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
#include <sstream>

#include "common/exception/conversion.h"
#include "common/types/types_include.h"
#include "common/types/date_t.h"
#include "common/types/interval_t.h"
#include "common/types/ku_string.h"
#include "common/types/timestamp_t.h"
#include "common/types/types.h"

namespace kuzu {
namespace common {
Expand Down
11 changes: 0 additions & 11 deletions src/include/common/types/types_include.h

This file was deleted.

5 changes: 5 additions & 0 deletions src/include/common/types/value.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@

#include "common/api.h"
#include "common/type_utils.h"
#include "common/types/date_t.h"
#include "common/types/internal_id_t.h"
#include "common/types/interval_t.h"
#include "common/types/ku_list.h"
#include "common/types/timestamp_t.h"
#include "common/utils.h"

namespace kuzu {
Expand Down
2 changes: 2 additions & 0 deletions src/include/function/cast/cast_functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

#include "common/exception/runtime.h"
#include "common/type_utils.h"
#include "common/types/blob.h"
#include "common/types/ku_string.h"
#include "common/vector/value_vector.h"

namespace kuzu {
Expand Down
1 change: 1 addition & 0 deletions src/include/function/hash/hash_functions.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

#include "common/exception/runtime.h"
#include "common/type_utils.h"
#include "common/types/ku_list.h"
#include "common/utils.h"

namespace kuzu {
Expand Down
2 changes: 2 additions & 0 deletions src/include/function/udf_function.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
#include "common/exception/binder.h"
#include "common/exception/catalog.h"
#include "common/exception/not_implemented.h"
#include "common/types/blob.h"
#include "common/types/ku_string.h"
#include "function/vector_functions.h"

namespace kuzu {
Expand Down
2 changes: 1 addition & 1 deletion src/include/main/storage_driver.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include <queue>

#include "common/types/types_include.h"
#include "common/types/internal_id_t.h"
#include "database.h"

namespace kuzu {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
#pragma once

#include "common/types/types_include.h"
#include "processor/data_pos.h"
#include "processor/result/factorized_table.h"

Expand Down
1 change: 0 additions & 1 deletion src/include/processor/operator/recursive_extend/frontier.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

#include <unordered_map>

#include "common/types/types_include.h"
#include "function/hash/hash_functions.h"

namespace kuzu {
Expand Down
1 change: 1 addition & 0 deletions src/include/storage/copier/string_column_chunk.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#pragma once

#include "common/types/blob.h"
#include "storage/copier/column_chunk.h"
#include "storage/storage_structure/in_mem_file.h"

Expand Down
1 change: 0 additions & 1 deletion src/include/storage/storage_structure/lists/list_headers.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

#include <memory>

#include "common/types/types_include.h"
#include "storage/storage_structure/disk_array.h"

namespace kuzu {
Expand Down
1 change: 0 additions & 1 deletion src/include/storage/storage_utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
#include "common/constants.h"
#include "common/file_utils.h"
#include "common/null_mask.h"
#include "common/types/types_include.h"
#include "common/utils.h"
#include "storage/wal/wal_record.h"

Expand Down
1 change: 0 additions & 1 deletion src/include/storage/wal/wal.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

#include <unordered_set>

#include "common/types/types_include.h"
#include "storage/buffer_manager/buffer_manager.h"
#include "storage/wal/wal_record.h"

Expand Down
3 changes: 2 additions & 1 deletion src/include/storage/wal/wal_record.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
#include "common/exception/not_implemented.h"
#include "common/exception/runtime.h"
#include "common/rel_direction.h"
#include "common/types/types_include.h"
#include "common/types/internal_id_t.h"
#include "common/types/types.h"
#include "common/utils.h"

namespace kuzu {
Expand Down
1 change: 1 addition & 0 deletions src/processor/operator/persistent/csv_reader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
#include "common/exception/not_implemented.h"
#include "common/exception/parser.h"
#include "common/string_utils.h"
#include "common/types/blob.h"
#include "processor/operator/persistent/csv_reader.h"
#include "storage/copier/table_copy_utils.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include "common/exception/message.h"
#include "common/exception/not_implemented.h"
#include "common/string_utils.h"
#include "common/types/blob.h"
#include "common/types/types.h"

using namespace kuzu::common;
Expand Down
1 change: 1 addition & 0 deletions src/storage/in_mem_storage_structure/in_mem_lists.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

#include "common/exception/copy.h"
#include "common/exception/message.h"
#include "common/types/blob.h"
#include "storage/copier/table_copy_utils.h"
#include "storage/in_mem_storage_structure/in_mem_column_chunk.h"

Expand Down
2 changes: 1 addition & 1 deletion test/common/date_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <string>

#include "common/types/types_include.h"
#include "common/types/date_t.h"
#include "gtest/gtest.h"

using namespace kuzu::common;
Expand Down
2 changes: 1 addition & 1 deletion test/common/interval_test.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include <string>

#include "common/types/types_include.h"
#include "common/types/interval_t.h"
#include "gtest/gtest.h"

using namespace kuzu::common;
Expand Down
1 change: 0 additions & 1 deletion test/common/string_test.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#include <string>

#include "common/string_utils.h"
#include "common/types/types_include.h"
#include "gtest/gtest.h"

using namespace kuzu::common;
Expand Down
2 changes: 1 addition & 1 deletion test/common/time_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#include "common/exception/conversion.h"
#include "common/exception/test.h"
#include "common/types/types_include.h"
#include "common/types/timestamp_t.h"
#include "gtest/gtest.h"

using namespace kuzu::common;
Expand Down
3 changes: 2 additions & 1 deletion test/common/timestamp_test.cpp
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#include <string>

#include "common/exception/conversion.h"
#include "common/types/types_include.h"
#include "common/types/date_t.h"
#include "common/types/timestamp_t.h"
#include "gtest/gtest.h"

using namespace kuzu::common;
Expand Down

0 comments on commit c081c94

Please sign in to comment.