Page tree

The license could not be verified: License Certificate has expired!

 

JAVA

FORTRAN

C++

C

 

Link

H5TB_ADD_RECORDS_FROM

Add records from first table to second table

Procedure:

H5TB_ADD_RECORDS_FROM ( loc_id, dset_name1, start1, nrecords, dset_name2, start2 )

Signature:

herr_t H5TBadd_records_from(hid_t loc_id,
                            const char *dset_name1,
                            hsize_t start1,
                            hsize_t nrecords,
                            const char *dset_name2,
                            hsize_t start2)

Parameters:
hid_t loc_idIN: Identifier of the file or group in which the table is located
const char *dset_name1IN: The name of the dataset to read the records
hsize_t  start1IN: The position to read the records from the first table
hsize_t nrecordsIN: The number of records to read from the first table
const char *dset_name2IN: The name of the dataset to write the records
hsize_t  start2IN: The position to write the records on the second table

Description:

H5TB_ADD_RECORDS_FROM adds records from a dataset named dset_name1 to a dataset named dset_name2. Both tables are attached to the object specified by the identifier loc_id

Returns:

Returns a non-negative value if successful; otherwise returns a negative value.

Example:

hl / examples / ex_table_09.c [108:112]  1.10/master  HDFFV/hdf5
 /* Add 2 records from TABLE1_NAME to TABLE2_NAME  */
 start1    = 3;
 nrecords  = NRECORDS_INS;
 start2    = 6;
 H5TBadd_records_from( file_id, TABLE1_NAME, start1, nrecords, TABLE2_NAME, start2 );

--- Last Modified: December 11, 2019 | 02:38 PM