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 _OPT_PIPES_ |
10 | #define _OPT_PIPES_ |
11 | #include "opt_prelude.h" |
12 | #include "opt_support.h" |
13 | |
14 | mal_export str getPipeDefinition(str name); |
15 | mal_export str getPipeCatalog(bat *nme, bat *def, bat *stat); |
16 | mal_export str addPipeDefinition(Client cntxt, const char *name, const char *pipe); |
17 | mal_export int isOptimizerPipe(const char *name); |
18 | mal_export str addOptimizerPipe(Client cntxt, MalBlkPtr mb, const char *name); |
19 | mal_export str compileOptimizer(Client cntxt, const char *name); |
20 | mal_export str compileAllOptimizers(Client cntxt); |
21 | mal_export void opt_pipes_reset(void); |
22 | |
23 | #endif |
24 | |