JULEA
Data Structures | Macros | Typedefs | Functions | Variables
jhdf5-db-dataset.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"

Data Structures

struct  JHDF5IndexRange
 

Macros

#define calculate_statistics_helper(_buf, _target_extension)
 

Typedefs

typedef struct JHDF5IndexRange JHDF5IndexRange
 

Functions

herr_t H5VL_julea_db_dataset_term (void)
 
herr_t H5VL_julea_db_dataset_init (hid_t vipl_id)
 
herr_t H5VL_julea_db_dataset_truncate_file (void *obj)
 
void * H5VL_julea_db_dataset_create (void *obj, const H5VL_loc_params_t *loc_params, const char *name, hid_t lcpl_id, hid_t type_id, hid_t space_id, hid_t dcpl_id, hid_t dapl_id, hid_t dxpl_id, void **req)
 
gboolean H5VL_julea_db_dataset_set_info (JHDF5Object_t *object, GError **error)
 
void * H5VL_julea_db_dataset_open (void *obj, const H5VL_loc_params_t *loc_params, const char *name, hid_t dapl_id, hid_t dxpl_id, void **req)
 
herr_t H5VL_julea_db_dataset_write (size_t count, void *obj[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t dxpl_id, const void *buf[], void **req)
 
herr_t H5VL_julea_db_dataset_read (size_t count, void *obj[], hid_t mem_type_id[], hid_t mem_space_id[], hid_t file_space_id[], hid_t dxpl_id, void *buf[], void **req)
 
herr_t H5VL_julea_db_dataset_get (void *obj, H5VL_dataset_get_args_t *args, hid_t dxpl_id, void **req)
 
herr_t H5VL_julea_db_dataset_specific (void *obj, H5VL_dataset_specific_args_t *args, hid_t dxpl_id, void **req)
 
herr_t H5VL_julea_db_dataset_optional (void *obj, H5VL_optional_args_t *args, hid_t dxpl_id, void **req)
 
herr_t H5VL_julea_db_dataset_close (void *obj, hid_t dxpl_id, void **req)
 

Variables

JDBSchemajulea_db_schema_dataset = NULL
 

Macro Definition Documentation

◆ calculate_statistics_helper

#define calculate_statistics_helper (   _buf,
  _target_extension 
)
Value:
do \
{ \
for (i = 0; i < n; i++) \
{ \
if (_buf < object->dataset.statistics.min_value##_target_extension) \
object->dataset.statistics.min_value##_target_extension = _buf; \
if (_buf > object->dataset.statistics.max_value##_target_extension) \
object->dataset.statistics.max_value##_target_extension = _buf; \
} \
} while (0)

Typedef Documentation

◆ JHDF5IndexRange

Function Documentation

◆ H5VL_julea_db_dataset_close()

herr_t H5VL_julea_db_dataset_close ( void *  obj,
hid_t  dxpl_id,
void **  req 
)

◆ H5VL_julea_db_dataset_create()

void* H5VL_julea_db_dataset_create ( void *  obj,
const H5VL_loc_params_t *  loc_params,
const char *  name,
hid_t  lcpl_id,
hid_t  type_id,
hid_t  space_id,
hid_t  dcpl_id,
hid_t  dapl_id,
hid_t  dxpl_id,
void **  req 
)

◆ H5VL_julea_db_dataset_get()

herr_t H5VL_julea_db_dataset_get ( void *  obj,
H5VL_dataset_get_args_t *  args,
hid_t  dxpl_id,
void **  req 
)
Todo:
modify when we support different access and create property lists
Todo:
modify when we support different access and create property lists

◆ H5VL_julea_db_dataset_init()

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

◆ H5VL_julea_db_dataset_open()

void* H5VL_julea_db_dataset_open ( void *  obj,
const H5VL_loc_params_t *  loc_params,
const char *  name,
hid_t  dapl_id,
hid_t  dxpl_id,
void **  req 
)

◆ H5VL_julea_db_dataset_optional()

herr_t H5VL_julea_db_dataset_optional ( void *  obj,
H5VL_optional_args_t *  args,
hid_t  dxpl_id,
void **  req 
)

◆ H5VL_julea_db_dataset_read()

herr_t H5VL_julea_db_dataset_read ( size_t  count,
void *  obj[],
hid_t  mem_type_id[],
hid_t  mem_space_id[],
hid_t  file_space_id[],
hid_t  dxpl_id,
void *  buf[],
void **  req 
)
Todo:
support multi-write
Todo:
Should we support multiple dset?

◆ H5VL_julea_db_dataset_set_info()

gboolean H5VL_julea_db_dataset_set_info ( JHDF5Object_t object,
GError **  error 
)

◆ H5VL_julea_db_dataset_specific()

herr_t H5VL_julea_db_dataset_specific ( void *  obj,
H5VL_dataset_specific_args_t *  args,
hid_t  dxpl_id,
void **  req 
)

◆ H5VL_julea_db_dataset_term()

herr_t H5VL_julea_db_dataset_term ( void  )

◆ H5VL_julea_db_dataset_truncate_file()

herr_t H5VL_julea_db_dataset_truncate_file ( void *  obj)

◆ H5VL_julea_db_dataset_write()

herr_t H5VL_julea_db_dataset_write ( size_t  count,
void *  obj[],
hid_t  mem_type_id[],
hid_t  mem_space_id[],
hid_t  file_space_id[],
hid_t  dxpl_id,
const void *  buf[],
void **  req 
)
Todo:
support multi-write
Todo:
support multi-write

Variable Documentation

◆ julea_db_schema_dataset

JDBSchema* julea_db_schema_dataset = NULL