JULEA
Functions | Variables
jhdf5-db-link.c File Reference
#include <julea-config.h>
#include <glib.h>
#include <hdf5.h>
#include <H5PLextern.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <hdf5/jhdf5.h>
#include <julea.h>
#include <julea-db.h>
#include <julea-object.h>
#include "jhdf5-db.h"

Functions

herr_t H5VL_julea_db_link_term (void)
 
herr_t H5VL_julea_db_link_init (hid_t vipl_id)
 
herr_t H5VL_julea_db_link_truncate_file (void *obj)
 
gboolean H5VL_julea_db_link_get_helper (JHDF5Object_t *parent, JHDF5Object_t *child, const char *name)
 
gboolean H5VL_julea_db_link_create_helper (JHDF5Object_t *parent, JHDF5Object_t *child, const char *name)
 
herr_t H5VL_julea_db_link_create (H5VL_link_create_args_t *args, void *obj, const H5VL_loc_params_t *loc_params, hid_t lcpl_id, hid_t lapl_id, hid_t dxpl_id, void **req)
 
herr_t H5VL_julea_db_link_copy (void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const H5VL_loc_params_t *loc_params2, hid_t lcpl, hid_t lapl, hid_t dxpl_id, void **req)
 
herr_t H5VL_julea_db_link_move (void *src_obj, const H5VL_loc_params_t *loc_params1, void *dst_obj, const H5VL_loc_params_t *loc_params2, hid_t lcpl, hid_t lapl, hid_t dxpl_id, void **req)
 
herr_t H5VL_julea_db_link_get_info_helper (JHDF5Object_t *obj, const H5VL_loc_params_t *loc_params, H5L_info2_t *info_out)
 
herr_t H5VL_julea_db_link_get (void *obj, const H5VL_loc_params_t *loc_params, H5VL_link_get_args_t *args, hid_t dxpl_id, void **req)
 
herr_t H5VL_julea_db_link_iterate_helper (JHDF5Object_t *object, hbool_t recursive, gboolean attr, H5_index_t idx_type, H5_iter_order_t order, hsize_t *idx_p, JHDF5Iterate_Func_t op, void *op_data)
 
herr_t H5VL_julea_db_link_exists_helper (JHDF5Object_t *object, const gchar *name, hbool_t *exists)
 
herr_t H5VL_julea_db_link_specific (void *obj, const H5VL_loc_params_t *loc_params, H5VL_link_specific_args_t *args, hid_t dxpl_id, void **req)
 
herr_t H5VL_julea_db_link_optional (void *obj, const H5VL_loc_params_t *loc_params, H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
 

Variables

JDBSchemajulea_db_schema_link = NULL
 

Function Documentation

◆ H5VL_julea_db_link_copy()

herr_t H5VL_julea_db_link_copy ( void *  src_obj,
const H5VL_loc_params_t *  loc_params1,
void *  dst_obj,
const H5VL_loc_params_t *  loc_params2,
hid_t  lcpl,
hid_t  lapl,
hid_t  dxpl_id,
void **  req 
)

◆ H5VL_julea_db_link_create()

herr_t H5VL_julea_db_link_create ( H5VL_link_create_args_t *  args,
void *  obj,
const H5VL_loc_params_t *  loc_params,
hid_t  lcpl_id,
hid_t  lapl_id,
hid_t  dxpl_id,
void **  req 
)

◆ H5VL_julea_db_link_create_helper()

gboolean H5VL_julea_db_link_create_helper ( JHDF5Object_t parent,
JHDF5Object_t child,
const char *  name 
)

◆ H5VL_julea_db_link_exists_helper()

herr_t H5VL_julea_db_link_exists_helper ( JHDF5Object_t object,
const gchar *  name,
hbool_t *  exists 
)

◆ H5VL_julea_db_link_get()

herr_t H5VL_julea_db_link_get ( void *  obj,
const H5VL_loc_params_t *  loc_params,
H5VL_link_get_args_t *  args,
hid_t  dxpl_id,
void **  req 
)
Todo:
implement link get name and get value

◆ H5VL_julea_db_link_get_helper()

gboolean H5VL_julea_db_link_get_helper ( JHDF5Object_t parent,
JHDF5Object_t child,
const char *  name 
)

◆ H5VL_julea_db_link_get_info_helper()

herr_t H5VL_julea_db_link_get_info_helper ( JHDF5Object_t obj,
const H5VL_loc_params_t *  loc_params,
H5L_info2_t *  info_out 
)
Todo:
needs to be changed when other link types are implemented

◆ H5VL_julea_db_link_init()

herr_t H5VL_julea_db_link_init ( hid_t  vipl_id)
Todo:
Use same key type for every db backend to remove get for every new schema.

◆ H5VL_julea_db_link_iterate_helper()

herr_t H5VL_julea_db_link_iterate_helper ( JHDF5Object_t object,
hbool_t  recursive,
gboolean  attr,
H5_index_t  idx_type,
H5_iter_order_t  order,
hsize_t *  idx_p,
JHDF5Iterate_Func_t  op,
void *  op_data 
)
Todo:
handle index, iter order and interruption
Todo:
needs to be touched when other link types are implemented
Todo:
generate attribute info struct

◆ H5VL_julea_db_link_move()

herr_t H5VL_julea_db_link_move ( void *  src_obj,
const H5VL_loc_params_t *  loc_params1,
void *  dst_obj,
const H5VL_loc_params_t *  loc_params2,
hid_t  lcpl,
hid_t  lapl,
hid_t  dxpl_id,
void **  req 
)

◆ H5VL_julea_db_link_optional()

herr_t H5VL_julea_db_link_optional ( void *  obj,
const H5VL_loc_params_t *  loc_params,
H5VL_optional_args_t *  args,
hid_t  dxpl_id,
void **  req 
)

◆ H5VL_julea_db_link_specific()

herr_t H5VL_julea_db_link_specific ( void *  obj,
const H5VL_loc_params_t *  loc_params,
H5VL_link_specific_args_t *  args,
hid_t  dxpl_id,
void **  req 
)
Todo:
implement link delete

◆ H5VL_julea_db_link_term()

herr_t H5VL_julea_db_link_term ( void  )

◆ H5VL_julea_db_link_truncate_file()

herr_t H5VL_julea_db_link_truncate_file ( void *  obj)

Variable Documentation

◆ julea_db_schema_link

JDBSchema* julea_db_schema_link = NULL