Skip to content

File shard_key_func.c

FileList > broker > shard_key_func.c

Go to the source code of this file

  • #include "shard_key_func.h"
  • #include "broker_shm.h"
  • #include "shard_metadata.h"
  • #include "broker_config.h"

Public Attributes

Type Name
T_SHM_PROXY * shm_proxy_p

Public Functions

Type Name
int fn_get_shard_key_default (const char * shard_key, T_SHARD_U_TYPE type, const void * value, int value_len)
int proxy_find_shard_id_by_hint_value (SP_VALUE * value_p, const char * key_column)
int register_fn_get_shard_key (void)

Macros

Type Name
define PROXY_LOG (level, fmt, args...)

Public Attributes Documentation

variable shm_proxy_p

T_SHM_PROXY* shm_proxy_p;

Public Functions Documentation

function 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
) 

function proxy_find_shard_id_by_hint_value

int proxy_find_shard_id_by_hint_value (
    SP_VALUE * value_p,
    const  char * key_column
) 

function register_fn_get_shard_key

int register_fn_get_shard_key (
    void
) 

Macro Definition Documentation

define PROXY_LOG

#define PROXY_LOG (
    level,
    fmt,
    args...
) 


The documentation for this class was generated from the following file cubrid/src/broker/shard_key_func.c