Skip to content

File subquery_cache.c

FileList > cubrid > src > query > subquery_cache.c

Go to the source code of this file

  • #include <stdio.h>
  • #include <string.h>
  • #include "xasl.h"
  • #include "dbtype.h"
  • #include "query_executor.h"
  • #include "xasl_predicate.hpp"
  • #include "regu_var.hpp"
  • #include "object_representation.h"
  • #include "system_parameter.h"
  • #include "memory_alloc.h"
  • #include "list_file.h"
  • #include "subquery_cache.h"
  • #include "memory_wrapper.hpp"

Public Functions

Type Name
void sq_cache_destroy (THREAD_ENTRY * thread_p, SQ_CACHE * sq_cache)
int sq_cache_initialize (XASL_NODE * xasl)
void sq_free_key (THREAD_ENTRY * thread_p, SQ_KEY * key)
bool sq_get (THREAD_ENTRY * thread_p, SQ_KEY * key, XASL_NODE * xasl, REGU_VARIABLE * regu_var)
SQ_KEY * sq_make_key (THREAD_ENTRY * thread_p, XASL_NODE * xasl)
int sq_put (THREAD_ENTRY * thread_p, SQ_KEY * key, XASL_NODE * xasl, REGU_VARIABLE * regu_var)

Public Static Functions

Type Name
int sq_cmp_func (const void * key1, const void * key2)
void sq_free_val (THREAD_ENTRY * thread_p, SQ_VAL * val)
unsigned int sq_hash_func (const void * key, unsigned int ht_size)
SQ_VAL * sq_make_val (THREAD_ENTRY * thread_p, REGU_VARIABLE * val)
int sq_rem_func (const void * key, void * data, void * args)
void sq_unpack_val (SQ_VAL * val, REGU_VARIABLE * retp)

Public Functions Documentation

function sq_cache_destroy

void sq_cache_destroy (
    THREAD_ENTRY * thread_p,
    SQ_CACHE * sq_cache
) 

function sq_cache_initialize

int sq_cache_initialize (
    XASL_NODE * xasl
) 

function sq_free_key

void sq_free_key (
    THREAD_ENTRY * thread_p,
    SQ_KEY * key
) 

function sq_get

bool sq_get (
    THREAD_ENTRY * thread_p,
    SQ_KEY * key,
    XASL_NODE * xasl,
    REGU_VARIABLE * regu_var
) 

function sq_make_key

SQ_KEY * sq_make_key (
    THREAD_ENTRY * thread_p,
    XASL_NODE * xasl
) 

function sq_put

int sq_put (
    THREAD_ENTRY * thread_p,
    SQ_KEY * key,
    XASL_NODE * xasl,
    REGU_VARIABLE * regu_var
) 

Public Static Functions Documentation

function sq_cmp_func

static int sq_cmp_func (
    const  void * key1,
    const  void * key2
) 

function sq_free_val

static void sq_free_val (
    THREAD_ENTRY * thread_p,
    SQ_VAL * val
) 

function sq_hash_func

static unsigned  int sq_hash_func (
    const  void * key,
    unsigned  int ht_size
) 

function sq_make_val

static SQ_VAL * sq_make_val (
    THREAD_ENTRY * thread_p,
    REGU_VARIABLE * val
) 

function sq_rem_func

static int sq_rem_func (
    const  void * key,
    void * data,
    void * args
) 

function sq_unpack_val

static void sq_unpack_val (
    SQ_VAL * val,
    REGU_VARIABLE * retp
) 


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