-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
12e3b1b
commit 53b687f
Showing
24 changed files
with
235 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#include "catalog/catalog_entry/catalog_entry_type.h" | ||
|
||
#include "common/assert.h" | ||
|
||
namespace kuzu { | ||
namespace catalog { | ||
|
||
std::string CatalogEntryTypeUtils::toString(CatalogEntryType type) { | ||
switch (type) { | ||
case CatalogEntryType::NODE_TABLE_ENTRY: | ||
return "NODE_TABLE_ENTRY"; | ||
case CatalogEntryType::REL_TABLE_ENTRY: | ||
return "REL_TABLE_ENTRY"; | ||
case CatalogEntryType::REL_GROUP_ENTRY: | ||
return "REL_GROUP_ENTRY"; | ||
case CatalogEntryType::RDF_GRAPH_ENTRY: | ||
return "RDF_GRAPH_ENTRY"; | ||
case CatalogEntryType::SCALAR_MACRO_ENTRY: | ||
return "SCALAR_MACRO_ENTRY"; | ||
case CatalogEntryType::AGGREGATE_FUNCTION_ENTRY: | ||
return "AGGREGATE_FUNCTION_ENTRY"; | ||
case CatalogEntryType::SCALAR_FUNCTION_ENTRY: | ||
return "SCALAR_FUNCTION_ENTRY"; | ||
case CatalogEntryType::REWRITE_FUNCTION_ENTRY: | ||
return "REWRITE_FUNCTION_ENTRY"; | ||
case CatalogEntryType::TABLE_FUNCTION_ENTRY: | ||
return "TABLE_FUNCTION_ENTRY"; | ||
case CatalogEntryType::FOREIGN_TABLE_ENTRY: | ||
return "FOREIGN_TABLE_ENTRY"; | ||
default: | ||
KU_UNREACHABLE; | ||
} | ||
} | ||
|
||
} // namespace catalog | ||
} // namespace kuzu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.