CUBRID Engine  latest
query_dump.h
Go to the documentation of this file.
1 /*
2  * Copyright 2008 Search Solution Corporation
3  * Copyright 2016 CUBRID Corporation
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  */
18 
19 /*
20  * query_dump.h - Query processor printer
21  */
22 
23 #ifndef _QUERY_DUMP_H_
24 #define _QUERY_DUMP_H_
25 
26 #include "dbtype_def.h"
27 #include "storage_common.h"
28 
29 #include <cstdio>
30 
31 // forward definitions
32 struct json_t;
33 struct xasl_node;
34 
35 extern bool qdump_print_xasl (xasl_node * xasl);
36 #if defined (SERVER_MODE)
37 extern void qdump_print_stats_json (xasl_node * xasl_p, json_t * parent);
38 extern void qdump_print_stats_text (FILE * fp, xasl_node * xasl_p, int indent);
39 #endif /* SERVER_MODE */
40 extern const char *qdump_operator_type_string (OPERATOR_TYPE optype);
41 extern const char *qdump_default_expression_string (DB_DEFAULT_EXPR_TYPE default_expr_type);
42 
43 #endif /* _QUERY_DUMP_H_ */
OPERATOR_TYPE
const char * qdump_default_expression_string(DB_DEFAULT_EXPR_TYPE default_expr_type)
const char * qdump_operator_type_string(OPERATOR_TYPE optype)
Definition: query_dump.c:1016
bool qdump_print_xasl(xasl_node *xasl)
Definition: query_dump.c:2294
DB_DEFAULT_EXPR_TYPE
Definition: dbtype_def.h:1181