CUBRID Engine
latest
Main Page
Namespaces
Classes
Files
File List
File Members
json_table_def.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
// json_table_def.h - json table common definitions (cross modules)
21
//
22
23
#ifndef _JSON_TABLE_DEF_H_
24
#define _JSON_TABLE_DEF_H_
25
26
// note - this is included in C compiled files
27
28
// forward definitions
29
struct
db_value
;
30
31
enum
json_table_column_behavior_type
32
{
33
JSON_TABLE_RETURN_NULL
,
34
JSON_TABLE_THROW_ERROR
,
35
JSON_TABLE_DEFAULT_VALUE
36
};
37
38
enum
json_table_column_function
39
{
40
JSON_TABLE_EXTRACT
,
41
JSON_TABLE_EXISTS
,
42
JSON_TABLE_ORDINALITY
43
};
44
45
struct
json_table_column_behavior
46
{
47
enum
json_table_column_behavior_type
m_behavior
;
48
struct
db_value
*
m_default_value
;
49
};
50
51
enum
json_table_expand_type
52
{
53
JSON_TABLE_ARRAY_EXPAND
,
54
JSON_TABLE_OBJECT_EXPAND
,
55
JSON_TABLE_NO_EXPAND
56
};
57
58
#endif // _JSON_TABLE_DEF_H_
JSON_TABLE_DEFAULT_VALUE
Definition:
json_table_def.h:35
json_table_column_behavior::m_default_value
struct db_value * m_default_value
Definition:
json_table_def.h:48
JSON_TABLE_EXTRACT
Definition:
json_table_def.h:40
JSON_TABLE_RETURN_NULL
Definition:
json_table_def.h:33
db_value
Definition:
dbtype_def.h:1080
json_table_column_behavior
Definition:
json_table_def.h:45
json_table_column_behavior_type
json_table_column_behavior_type
Definition:
json_table_def.h:31
JSON_TABLE_EXISTS
Definition:
json_table_def.h:41
JSON_TABLE_ARRAY_EXPAND
Definition:
json_table_def.h:53
json_table_column_function
json_table_column_function
Definition:
json_table_def.h:38
JSON_TABLE_THROW_ERROR
Definition:
json_table_def.h:34
JSON_TABLE_ORDINALITY
Definition:
json_table_def.h:42
json_table_column_behavior::m_behavior
enum json_table_column_behavior_type m_behavior
Definition:
json_table_def.h:47
JSON_TABLE_NO_EXPAND
Definition:
json_table_def.h:55
JSON_TABLE_OBJECT_EXPAND
Definition:
json_table_def.h:54
json_table_expand_type
json_table_expand_type
Definition:
json_table_def.h:51
src
compat
json_table_def.h
Generated by
1.8.11