| 1 | /* | 
|---|
| 2 | * This Source Code Form is subject to the terms of the Mozilla Public | 
|---|
| 3 | * License, v. 2.0.  If a copy of the MPL was not distributed with this | 
|---|
| 4 | * file, You can obtain one at http://mozilla.org/MPL/2.0/. | 
|---|
| 5 | * | 
|---|
| 6 | * Copyright 1997 - July 2008 CWI, August 2008 - 2019 MonetDB B.V. | 
|---|
| 7 | */ | 
|---|
| 8 |  | 
|---|
| 9 | #ifndef _REL_DUMP_H_ | 
|---|
| 10 | #define _REL_DUMP_H_ | 
|---|
| 11 |  | 
|---|
| 12 | #include "sql_relation.h" | 
|---|
| 13 | #include "sql_mvc.h" | 
|---|
| 14 |  | 
|---|
| 15 | extern void rel_print_(mvc *sql, stream  *fout, sql_rel *rel, int depth, list *refs, int decorate); | 
|---|
| 16 | extern void rel_print_refs(mvc *sql, stream* fout, sql_rel *rel, int depth, list *refs, int decorate); | 
|---|
| 17 | extern const char *op2string(operator_type op); | 
|---|
| 18 |  | 
|---|
| 19 | extern sql_rel *rel_read(mvc *sql, char *ra, int *pos, list *refs); | 
|---|
| 20 |  | 
|---|
| 21 | #endif /*_REL_DUMP_H_*/ | 
|---|
| 22 |  | 
|---|