Class HdfDatasetToString
java.lang.Object
io.nosqlbench.virtdata.library.hdf5.from_long.to_string.HdfDatasetToString
- All Implemented Interfaces:
LongFunction<String>
This function reads a vector dataset from an HDF5 file. The entire dataset is parsed into a single
String Object with the discreet values separated by the user supplied separator character. It is
intended for use only with small datasets where the entire dataset can be read into memory and there
is no need to read individual vectors from the dataset.
The lambda function simply returns the String representation of the dataset.
-
Constructor Summary
ConstructorsConstructorDescriptionHdfDatasetToString(String filename, String dataset) HdfDatasetToString(String filename, String dataset, String separator) Create a new binding function that accepts a long input value for the cycle and returns a string representation of the specified dataset -
Method Summary
-
Constructor Details
-
HdfDatasetToString
-
HdfDatasetToString
-
-
Method Details
-
apply
- Specified by:
applyin interfaceLongFunction<String>
-