Skip to content

File partition_sr.h

FileList > cubrid > src > query > partition_sr.h

Go to the source code of this file

  • #include "heap_file.h"
  • #include "thread_compat.hpp"

Namespaces

Type Name
namespace cubquery

Classes

Type Name
struct pruning_context
struct pruning_scan_cache
struct scancache_list

Public Types

Type Name
typedef cubquery::hierarchy_aggregate_helper HIERARCHY_AGGREGATE_HELPER
typedef struct pruning_context PRUNING_CONTEXT
typedef struct pruning_scan_cache PRUNING_SCAN_CACHE
typedef struct scancache_list SCANCACHE_LIST

Public Functions

Type Name
void partition_cache_finalize (THREAD_ENTRY * thread_p)
int partition_cache_init (THREAD_ENTRY * thread_p)
void partition_clear_pruning_context (PRUNING_CONTEXT * pinfo)
void partition_decache_class (THREAD_ENTRY * thread_p, const OID * class_oid)
int partition_find_root_class_oid (THREAD_ENTRY * thread_p, const OID * class_oid, OID * super_oid)
int partition_get_partition_oids (THREAD_ENTRY * thread_p, const OID * class_oid, OID ** partition_oids, int * count)
PRUNING_SCAN_CACHE * partition_get_scancache (PRUNING_CONTEXT * pcontext, const OID * partition_oid)
void partition_init_pruning_context (PRUNING_CONTEXT * pinfo)
int partition_load_aggregate_helper (PRUNING_CONTEXT * pcontext, access_spec_node * spec, int pruned_count, BTID * root_btid, HIERARCHY_AGGREGATE_HELPER * helper)
int partition_load_pruning_context (THREAD_ENTRY * thread_p, const OID * class_oid, int pruning_type, PRUNING_CONTEXT * pinfo)
PRUNING_SCAN_CACHE * partition_new_scancache (PRUNING_CONTEXT * pcontext)
int partition_prune_insert (THREAD_ENTRY * thread_p, const OID * class_oid, RECDES * recdes, HEAP_SCANCACHE * scan_cache, PRUNING_CONTEXT * pcontext, int op_type, OID * pruned_class_oid, HFID * pruned_hfid, OID * superclass_oid)
int partition_prune_partition_index (PRUNING_CONTEXT * pcontext, DB_VALUE * key, OID * class_oid, BTID * btid, int * position)
int partition_prune_spec (THREAD_ENTRY * thread_p, val_descr * vd, access_spec_node * access_spec)
int partition_prune_unique_btid (PRUNING_CONTEXT * pcontext, DB_VALUE * key, OID * class_oid, HFID * class_hfid, BTID * btid)
int partition_prune_update (THREAD_ENTRY * thread_p, const OID * class_oid, RECDES * recdes, PRUNING_CONTEXT * pcontext, int pruning_type, OID * pruned_class_oid, HFID * pruned_hfid, OID * superclass_oid)

Public Types Documentation

typedef HIERARCHY_AGGREGATE_HELPER

using HIERARCHY_AGGREGATE_HELPER =  cubquery::hierarchy_aggregate_helper;

typedef PRUNING_CONTEXT

typedef struct pruning_context PRUNING_CONTEXT;

typedef PRUNING_SCAN_CACHE

typedef struct pruning_scan_cache PRUNING_SCAN_CACHE;

typedef SCANCACHE_LIST

typedef struct scancache_list SCANCACHE_LIST;

Public Functions Documentation

function partition_cache_finalize

void partition_cache_finalize (
    THREAD_ENTRY * thread_p
) 

function partition_cache_init

int partition_cache_init (
    THREAD_ENTRY * thread_p
) 

function partition_clear_pruning_context

void partition_clear_pruning_context (
    PRUNING_CONTEXT * pinfo
) 

function partition_decache_class

void partition_decache_class (
    THREAD_ENTRY * thread_p,
    const  OID * class_oid
) 

function partition_find_root_class_oid

int partition_find_root_class_oid (
    THREAD_ENTRY * thread_p,
    const  OID * class_oid,
    OID * super_oid
) 

function partition_get_partition_oids

int partition_get_partition_oids (
    THREAD_ENTRY * thread_p,
    const  OID * class_oid,
    OID ** partition_oids,
    int * count
) 

function partition_get_scancache

PRUNING_SCAN_CACHE * partition_get_scancache (
    PRUNING_CONTEXT * pcontext,
    const  OID * partition_oid
) 

function partition_init_pruning_context

void partition_init_pruning_context (
    PRUNING_CONTEXT * pinfo
) 

function partition_load_aggregate_helper

int partition_load_aggregate_helper (
    PRUNING_CONTEXT * pcontext,
    access_spec_node * spec,
    int pruned_count,
    BTID * root_btid,
    HIERARCHY_AGGREGATE_HELPER * helper
) 

function partition_load_pruning_context

int partition_load_pruning_context (
    THREAD_ENTRY * thread_p,
    const  OID * class_oid,
    int pruning_type,
    PRUNING_CONTEXT * pinfo
) 

function partition_new_scancache

PRUNING_SCAN_CACHE * partition_new_scancache (
    PRUNING_CONTEXT * pcontext
) 

function partition_prune_insert

int partition_prune_insert (
    THREAD_ENTRY * thread_p,
    const  OID * class_oid,
    RECDES * recdes,
    HEAP_SCANCACHE * scan_cache,
    PRUNING_CONTEXT * pcontext,
    int op_type,
    OID * pruned_class_oid,
    HFID * pruned_hfid,
    OID * superclass_oid
) 

function partition_prune_partition_index

int partition_prune_partition_index (
    PRUNING_CONTEXT * pcontext,
    DB_VALUE * key,
    OID * class_oid,
    BTID * btid,
    int * position
) 

function partition_prune_spec

int partition_prune_spec (
    THREAD_ENTRY * thread_p,
    val_descr * vd,
    access_spec_node * access_spec
) 

function partition_prune_unique_btid

int partition_prune_unique_btid (
    PRUNING_CONTEXT * pcontext,
    DB_VALUE * key,
    OID * class_oid,
    HFID * class_hfid,
    BTID * btid
) 

function partition_prune_update

int partition_prune_update (
    THREAD_ENTRY * thread_p,
    const  OID * class_oid,
    RECDES * recdes,
    PRUNING_CONTEXT * pcontext,
    int pruning_type,
    OID * pruned_class_oid,
    HFID * pruned_hfid,
    OID * superclass_oid
) 


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