#include <ParserNode.h>
Definition at line 472 of file ParserNode.h.
Parser::CardinalityExpr::CardinalityExpr |
( |
Expr * |
a | ) |
|
|
inline |
Implements Parser::Expr.
Definition at line 479 of file ParserNode.cpp.
References run_benchmark_import::result.
483 auto arg_expr =
arg->analyze(catalog, query, allow_tlist_ref);
484 if (!arg_expr->get_type_info().is_array()) {
485 throw std::runtime_error(
486 "expression in cardinality clause must be of an array type.");
488 std::shared_ptr<Analyzer::Expr>
result =
489 makeExpr<Analyzer::CardinalityExpr>(arg_expr->decompress());
std::unique_ptr< Expr > arg
const Expr* Parser::CardinalityExpr::get_arg |
( |
| ) |
const |
|
inline |
Definition at line 475 of file ParserNode.h.
References arg.
475 {
return arg.get(); }
std::unique_ptr< Expr > arg
std::string Parser::CardinalityExpr::to_string |
( |
| ) |
const |
|
overridevirtual |
std::unique_ptr<Expr> Parser::CardinalityExpr::arg |
|
private |
The documentation for this class was generated from the following files:
- /home/jenkins-slave/workspace/core-os-doxygen/Parser/ParserNode.h
- /home/jenkins-slave/workspace/core-os-doxygen/Parser/ParserNode.cpp