-
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.
Merge pull request #2097 from kuzudb/unify-alter-ddl
Refactor ALTER statement
- Loading branch information
Showing
41 changed files
with
491 additions
and
622 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 was deleted.
Oops, something went wrong.
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,23 @@ | ||
#pragma once | ||
|
||
#include "binder/bound_statement.h" | ||
#include "bound_alter_info.h" | ||
|
||
namespace kuzu { | ||
namespace binder { | ||
|
||
class BoundAlter : public BoundStatement { | ||
public: | ||
BoundAlter(std::unique_ptr<BoundAlterInfo> info) | ||
: BoundStatement{common::StatementType::ALTER, | ||
BoundStatementResult::createSingleStringColumnResult()}, | ||
info{std::move(info)} {} | ||
|
||
inline BoundAlterInfo* getInfo() const { return info.get(); } | ||
|
||
private: | ||
std::unique_ptr<BoundAlterInfo> info; | ||
}; | ||
|
||
} // namespace binder | ||
} // namespace kuzu |
Oops, something went wrong.