CUBRID Engine
latest
Main Page
Namespaces
Classes
Files
File List
File Members
shard_key_func.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
* shard_key_func.h -
21
*/
22
23
#ifndef _SHARD_KEY_FUNC_H_
24
#define _SHARD_KEY_FUNC_H_
25
26
#ident "$Id$"
27
28
#include "
shard_key.h
"
29
#include "
shard_parser.h
"
30
31
32
extern
int
register_fn_get_shard_key
(
void
);
33
34
extern
int
fn_get_shard_key_default
(
const
char
*shard_key,
T_SHARD_U_TYPE
type,
const
void
*value,
int
value_len);
35
extern
int
proxy_find_shard_id_by_hint_value
(
SP_VALUE
* value_p,
const
char
*key_column);
36
37
38
#endif
/* _SHARD_KEY_FUNC_H_ */
shard_parser.h
fn_get_shard_key_default
int fn_get_shard_key_default(const char *shard_key, T_SHARD_U_TYPE type, const void *value, int value_len)
Definition:
shard_key_func.c:78
sp_value
Definition:
shard_parser.h:104
T_SHARD_U_TYPE
T_SHARD_U_TYPE
Definition:
shard_key.h:45
register_fn_get_shard_key
int register_fn_get_shard_key(void)
Definition:
shard_key_func.c:47
shard_key.h
proxy_find_shard_id_by_hint_value
int proxy_find_shard_id_by_hint_value(SP_VALUE *value_p, const char *key_column)
Definition:
shard_key_func.c:123
src
broker
shard_key_func.h
Generated by
1.8.11