CUBRID Engine  latest
fetch.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 /*
21  * Value fetch routines
22  */
23 
24 #ifndef _FETCH_H_
25 #define _FETCH_H_
26 
27 #ident "$Id$"
28 
29 #include "storage_common.h"
30 #include "oid.h"
31 #include "query_evaluator.h"
32 #include "query_list.h"
33 
34 // forward definitions
35 class regu_variable_node;
36 struct val_descr;
38 
39 extern int fetch_peek_dbval (THREAD_ENTRY * thread_p, regu_variable_node * regu_var, val_descr * vd, OID * class_oid,
40  OID * obj_oid, QFILE_TUPLE tpl, DB_VALUE ** peek_dbval);
41 extern int fetch_copy_dbval (THREAD_ENTRY * thread_p, regu_variable_node * regu_var, val_descr * vd, OID * class_oid,
42  OID * obj_oid, QFILE_TUPLE tpl, DB_VALUE * dbval);
43 extern int fetch_val_list (THREAD_ENTRY * thread_p, regu_variable_list_node * regu_list, val_descr * vd,
44  OID * class_oid, OID * obj_oid, QFILE_TUPLE tpl, int peek);
45 extern void fetch_init_val_list (regu_variable_list_node * regu_list);
46 
48 
49 #endif /* _FETCH_H_ */
int fetch_val_list(THREAD_ENTRY *thread_p, regu_variable_list_node *regu_list, val_descr *vd, OID *class_oid, OID *obj_oid, QFILE_TUPLE tpl, int peek)
Definition: fetch.c:4526
void fetch_force_not_const_recursive(regu_variable_node &reguvar)
void THREAD_ENTRY
int fetch_peek_dbval(THREAD_ENTRY *thread_p, regu_variable_node *regu_var, val_descr *vd, OID *class_oid, OID *obj_oid, QFILE_TUPLE tpl, DB_VALUE **peek_dbval)
void fetch_init_val_list(regu_variable_list_node *regu_list)
Definition: fetch.c:4605
int fetch_copy_dbval(THREAD_ENTRY *thread_p, regu_variable_node *regu_var, val_descr *vd, OID *class_oid, OID *obj_oid, QFILE_TUPLE tpl, DB_VALUE *dbval)
char * QFILE_TUPLE
Definition: query_list.h:281