#include <ParserNode.h>
Definition at line 453 of file ParserNode.h.
Parser::CharLengthExpr::CharLengthExpr |
( |
Expr * |
a, |
|
|
bool |
e |
|
) |
| |
|
inline |
Definition at line 455 of file ParserNode.h.
bool calc_encoded_length_
std::unique_ptr< Expr > arg_
Implements Parser::Expr.
Definition at line 615 of file ParserNode.cpp.
References run_benchmark_import::result.
619 auto arg_expr =
arg_->analyze(catalog, query, allow_tlist_ref);
620 if (!arg_expr->get_type_info().is_string()) {
621 throw std::runtime_error(
622 "expression in char_length clause must be of a string type.");
624 std::shared_ptr<Analyzer::Expr>
result =
bool calc_encoded_length_
std::unique_ptr< Expr > arg_
const Expr* Parser::CharLengthExpr::get_arg |
( |
| ) |
const |
|
inline |
Definition at line 456 of file ParserNode.h.
References arg_.
456 {
return arg_.get(); }
std::unique_ptr< Expr > arg_
bool Parser::CharLengthExpr::get_calc_encoded_length |
( |
| ) |
const |
|
inline |
std::string Parser::CharLengthExpr::to_string |
( |
| ) |
const |
|
overridevirtual |
Implements Parser::Expr.
Definition at line 2239 of file ParserNode.cpp.
2242 str =
"CHAR_LENGTH (" +
arg_->to_string() +
")";
2244 str =
"LENGTH (" +
arg_->to_string() +
")";
bool calc_encoded_length_
std::unique_ptr< Expr > arg_
std::unique_ptr<Expr> Parser::CharLengthExpr::arg_ |
|
private |
bool Parser::CharLengthExpr::calc_encoded_length_ |
|
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