CUBRID Engine
latest
Main Page
Namespaces
Classes
Files
File List
File Members
extract_schema.hpp
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
/*
21
* extract_schema.hpp -
22
*/
23
24
#ifndef _EXTRACT_SCHEMA_HPP_
25
#define _EXTRACT_SCHEMA_HPP_
26
27
#include "
dbtype_def.h
"
28
#include <stdio.h>
29
30
typedef
enum
31
{
32
FOLLOW_STORAGE_ORDER
= 0,
33
FOLLOW_ATTRIBUTE_ORDER
= 1
34
}
EMIT_STORAGE_ORDER
;
35
36
struct
extract_context
37
{
38
/* input */
39
int
do_auth
;
40
EMIT_STORAGE_ORDER
storage_order
;
41
const
char
*
exec_name
;
42
43
/* working */
44
int
has_indexes
;
45
DB_OBJLIST
*
classes
;
46
DB_OBJLIST
*
vclass_list_has_using_index
;
47
48
extract_context
():
49
do_auth (0),
50
storage_order (
FOLLOW_STORAGE_ORDER
),
51
exec_name (
NULL
),
52
has_indexes (0),
53
classes (
NULL
),
54
vclass_list_has_using_index (
NULL
)
55
{
56
}
57
58
void
clear_schema_workspace
(
void
);
59
};
60
61
#endif
/* _EXTRACT_SCHEMA_HPP_ */
extract_context::classes
DB_OBJLIST * classes
Definition:
extract_schema.hpp:45
FOLLOW_ATTRIBUTE_ORDER
Definition:
extract_schema.hpp:33
extract_context::storage_order
EMIT_STORAGE_ORDER storage_order
Definition:
extract_schema.hpp:40
extract_context
Definition:
extract_schema.hpp:36
extract_context::extract_context
extract_context()
Definition:
extract_schema.hpp:48
extract_context::do_auth
int do_auth
Definition:
extract_schema.hpp:39
db_objlist
Definition:
dbtype_def.h:440
extract_context::has_indexes
int has_indexes
Definition:
extract_schema.hpp:44
dbtype_def.h
NULL
#define NULL
Definition:
freelistheap.h:34
extract_context::vclass_list_has_using_index
DB_OBJLIST * vclass_list_has_using_index
Definition:
extract_schema.hpp:46
FOLLOW_STORAGE_ORDER
Definition:
extract_schema.hpp:32
extract_context::clear_schema_workspace
void clear_schema_workspace(void)
Definition:
extract_schema.cpp:28
extract_context::exec_name
const char * exec_name
Definition:
extract_schema.hpp:41
EMIT_STORAGE_ORDER
EMIT_STORAGE_ORDER
Definition:
extract_schema.hpp:30
src
executables
extract_schema.hpp
Generated by
1.8.11