Class HdfFileToIntList
java.lang.Object
io.nosqlbench.virtdata.library.hdf5.from_long.AbstractHdfFileToVectorType
io.nosqlbench.virtdata.library.hdf5.from_long.to_list.HdfFileToIntList
- All Implemented Interfaces:
LongFunction<List<Integer>>
public class HdfFileToIntList
extends AbstractHdfFileToVectorType
implements LongFunction<List<Integer>>
This function reads a vector dataset from an HDF5 file. The dataset itself is not
read into memory, only the metadata (the "dataset" Java Object). The lambda function
reads a single vector from the dataset, based on the long input value. As currently
written this class will only work for datasets with 2 dimensions where the 1st dimension
specifies the number of vectors and the 2nd dimension specifies the number of elements in
each vector. Only datatypes short, int, and float are supported at this time.
This implementation is specific to returning a List of Integers
-
Field Summary
Fields inherited from class io.nosqlbench.virtdata.library.hdf5.from_long.AbstractHdfFileToVectorType
dataset, dims, hdfFile -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.nosqlbench.virtdata.library.hdf5.from_long.AbstractHdfFileToVectorType
getDataFrom
-
Constructor Details
-
HdfFileToIntList
-
-
Method Details
-
apply
-