Class HdfPredicatesToCql
java.lang.Object
io.nosqlbench.datamappers.functions.hdf_to_cql.HdfPredicatesToCql
- All Implemented Interfaces:
PredicateAdapter,LongFunction<String>
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 Summary
ConstructorsConstructorDescriptionHdfPredicatesToCql(String filename, String datasetName, String serDesType) Create a new binding function that accepts a long input value for the cycle and returns a string -
Method Summary
-
Constructor Details
-
HdfPredicatesToCql
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 fromdatasetName- The name of the dataset internal to the HDF5 fileserDesType- The type of serialization/deserialization to use for the predicate
-
-
Method Details
-
apply
- Specified by:
applyin interfaceLongFunction<String>
-
getPredicate
- Specified by:
getPredicatein interfacePredicateAdapter
-