24#ifndef SQL_JOIN_OPTIMIZER_PRINT_UTILS
25#define SQL_JOIN_OPTIMIZER_PRINT_UTILS 1
40 MY_ATTRIBUTE((format(printf, 1, 2)));
44 std::string
result =
"(none)";
46 for (
Item *item : items) {
Base class that is used to represent any kind of expression in a relational query.
Definition: item.h:930
string ItemToString(const Item *item, enum_query_type q_type)
Definition: item.cc:11097
Header for compiler-dependent features.
Definition: gcs_xcom_synode.h:64
struct result result
Definition: result.h:34
std::string ItemsToString(const T &items)
Definition: print_utils.h:43
std::string FormatNumberReadably(double d)
Definition: print_utils.cc:192
std::string StringPrintf(const char *fmt,...)
Like sprintf, but returns an std::string.
Definition: print_utils.cc:42
std::string GenerateExpressionLabel(const RelationalExpression *expr)
Definition: print_utils.cc:64
Represents an expression tree in the relational algebra of joins.
Definition: relational_expression.h:145