-
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
b576565
commit 0f03b7a
Showing
31 changed files
with
3,219 additions
and
2,886 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
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,25 @@ | ||
#pragma once | ||
|
||
#include "binder/copy/bound_file_scan_info.h" | ||
#include "bound_reading_clause.h" | ||
|
||
namespace kuzu { | ||
namespace binder { | ||
|
||
class BoundLoadFrom : public BoundReadingClause { | ||
public: | ||
BoundLoadFrom(std::unique_ptr<BoundFileScanInfo> info) | ||
: BoundReadingClause{common::ClauseType::LOAD_FROM}, info{std::move(info)} {} | ||
|
||
inline BoundFileScanInfo* getInfo() const { return info.get(); } | ||
|
||
inline std::unique_ptr<BoundReadingClause> copy() override { | ||
return std::make_unique<BoundLoadFrom>(info->copy()); | ||
} | ||
|
||
private: | ||
std::unique_ptr<BoundFileScanInfo> info; | ||
}; | ||
|
||
} // namespace binder | ||
} // 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
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,24 @@ | ||
#pragma once | ||
|
||
#include "parser/expression/parsed_expression.h" | ||
#include "reading_clause.h" | ||
|
||
namespace kuzu { | ||
namespace parser { | ||
|
||
class LoadFrom : public ReadingClause { | ||
public: | ||
LoadFrom(std::vector<std::string> filePaths, parsing_option_t parsingOptions) | ||
: ReadingClause{common::ClauseType::LOAD_FROM}, filePaths{std::move(filePaths)}, | ||
parsingOptions{std::move(parsingOptions)} {} | ||
|
||
inline std::vector<std::string> getFilePaths() const { return filePaths; } | ||
inline const parsing_option_t& getParsingOptionsRef() const { return parsingOptions; } | ||
|
||
private: | ||
std::vector<std::string> filePaths; | ||
parsing_option_t parsingOptions; | ||
}; | ||
|
||
} // namespace parser | ||
} // 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
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
Oops, something went wrong.