Class HdfDatasetToString

java.lang.Object
io.nosqlbench.virtdata.library.hdf5.from_long.to_string.HdfDatasetToString
All Implemented Interfaces:
LongFunction<String>

public class HdfDatasetToString extends Object implements 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 Details

    • HdfDatasetToString

      public 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
      Parameters:
      filename -
      dataset -
      separator -
    • HdfDatasetToString

      public HdfDatasetToString(String filename, String dataset)
  • Method Details