Class HdfPredicatesToCql

java.lang.Object
io.nosqlbench.datamappers.functions.hdf_to_cql.HdfPredicatesToCql
All Implemented Interfaces:
PredicateAdapter, LongFunction<String>

public class HdfPredicatesToCql extends Object implements LongFunction<String>, PredicateAdapter
Binding function that accepts a long input value for the cycle and returns a string consisting of the CQL predicate parsed from a single record in an HDF5 dataset
  • Constructor Details

    • HdfPredicatesToCql

      public HdfPredicatesToCql(String filename, String datasetName, String serDesType)
      Create a new binding function that accepts a long input value for the cycle and returns a string
      Parameters:
      filename - The HDF5 file to read the predicate dataset from
      datasetName - The name of the dataset internal to the HDF5 file
      serDesType - The type of serialization/deserialization to use for the predicate
  • Method Details