#include <ParserNode.h>
Definition at line 452 of file ParserNode.h.
Parser::CharLengthExpr::CharLengthExpr |
( |
Expr * |
a, |
|
|
bool |
e |
|
) |
| |
|
inline |
Definition at line 454 of file ParserNode.h.
bool calc_encoded_length_
std::unique_ptr< Expr > arg_
Implements Parser::Expr.
Definition at line 609 of file ParserNode.cpp.
References run_benchmark_import::result.
613 auto arg_expr =
arg_->analyze(catalog, query, allow_tlist_ref);
614 if (!arg_expr->get_type_info().is_string()) {
615 throw std::runtime_error(
616 "expression in char_length clause must be of a string type.");
618 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 455 of file ParserNode.h.
References arg_.
455 {
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 2207 of file ParserNode.cpp.
2210 str =
"CHAR_LENGTH (" +
arg_->to_string() +
")";
2212 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