CUBRID Engine  latest
load_common.hpp File Reference
#include "packable_object.hpp"
#include <atomic>
#include <cassert>
#include <functional>
#include <vector>
Include dependency graph for load_common.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  cubload::batch
 
struct  cubload::load_args
 
struct  cubload::string_type
 
struct  cubload::constructor_spec_type
 
struct  cubload::class_command_spec_type
 
struct  cubload::constant_type
 
struct  cubload::object_ref_type
 
struct  cubload::monetary_type
 
struct  cubload::stats
 
class  cubload::load_status
 
class  cubload::class_installer
 
class  cubload::object_loader
 

Namespaces

 cubload
 

Macros

#define NUM_LDR_TYPES   (LDR_TYPE_MAX + 1)
 
#define NUM_DB_TYPES   (DB_TYPE_LAST + 1)
 
#define IS_OLD_GLO_CLASS(class_name)
 

Typedefs

using cubload::batch_id = int64_t
 
using cubload::class_id = int
 
using cubload::batch_handler = std::function< int64_t(const batch &)>
 
using cubload::class_handler = std::function< int64_t(const batch &, bool &)>
 
using load_stats = cubload::stats
 
using load_status = cubload::load_status
 

Enumerations

enum  cubload::data_type {
  cubload::LDR_NULL, cubload::LDR_INT, cubload::LDR_STR, cubload::LDR_NSTR,
  cubload::LDR_NUMERIC, cubload::LDR_DOUBLE, cubload::LDR_FLOAT, cubload::LDR_OID,
  cubload::LDR_CLASS_OID, cubload::LDR_DATE, cubload::LDR_TIME, cubload::LDR_TIMESTAMP,
  cubload::LDR_TIMESTAMPLTZ, cubload::LDR_TIMESTAMPTZ, cubload::LDR_COLLECTION, cubload::LDR_ELO_INT,
  cubload::LDR_ELO_EXT, cubload::LDR_SYS_USER, cubload::LDR_SYS_CLASS, cubload::LDR_MONETARY,
  cubload::LDR_BSTR, cubload::LDR_XSTR, cubload::LDR_DATETIME, cubload::LDR_DATETIMELTZ,
  cubload::LDR_DATETIMETZ, cubload::LDR_JSON, cubload::LDR_TYPE_MAX = LDR_JSON
}
 
enum  cubload::attribute_type { cubload::LDR_ATTRIBUTE_ANY = 0, cubload::LDR_ATTRIBUTE_SHARED, cubload::LDR_ATTRIBUTE_CLASS, cubload::LDR_ATTRIBUTE_DEFAULT }
 
enum  cubload::interrupt_type { cubload::LDR_NO_INTERRUPT, cubload::LDR_STOP_AND_ABORT_INTERRUPT, cubload::LDR_STOP_AND_COMMIT_INTERRUPT }
 

Functions

int cubload::split (int batch_size, const std::string &object_file_name, class_handler &c_handler, batch_handler &b_handler)
 

Variables

const class_id cubload::NULL_CLASS_ID = 0
 
const batch_id cubload::NULL_BATCH_ID = 0
 
const class_id cubload::FIRST_CLASS_ID = 1
 
const batch_id cubload::FIRST_BATCH_ID = 1
 

Macro Definition Documentation

#define IS_OLD_GLO_CLASS (   class_name)
Value:
(strncasecmp ((class_name), "glo", MAX(strlen(class_name), 3)) == 0 || \
strncasecmp ((class_name), "glo_name", MAX(strlen(class_name), 8)) == 0 || \
strncasecmp ((class_name), "glo_holder", MAX(strlen(class_name), 10)) == 0)
#define strlen(s1)
Definition: intl_support.c:43

Definition at line 431 of file load_common.hpp.

Referenced by cubload::server_class_installer::is_class_ignored(), and ldr_is_ignore_class().

#define NUM_DB_TYPES   (DB_TYPE_LAST + 1)

Definition at line 34 of file load_common.hpp.

Referenced by cubload::init_setters().

#define NUM_LDR_TYPES   (LDR_TYPE_MAX + 1)

Definition at line 33 of file load_common.hpp.

Referenced by cubload::init_setters(), ldr_act_add_attr(), and ldr_init_loader().

Typedef Documentation

Definition at line 428 of file load_common.hpp.

Definition at line 429 of file load_common.hpp.