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 _SQL_PARTITION_H
10#define _SQL_PARTITION_H
11
12#include "sql_mvc.h"
13#include "sql_catalog.h"
14
15extern str sql_partition_validate_key(mvc *sql, sql_table *nt, sql_key *k, const char* op);
16extern str bootstrap_partition_expression(mvc* sql, sql_allocator *rsa, sql_table *mt, int instantiate);
17extern void find_partition_type(sql_subtype *tpe, sql_table *mt);
18extern str initialize_sql_parts(mvc* sql, sql_table *mt);
19
20#endif //_SQL_PARTITION_H
21