Class ModuloCSVLineToString
java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.from_long.to_string.ModuloCSVLineToString
- All Implemented Interfaces:
java.util.function.LongFunction<java.lang.String>
public class ModuloCSVLineToString
extends java.lang.Object
implements java.util.function.LongFunction<java.lang.String>
Select a value from a CSV file line by modulo division against the number
of lines in the file. The second parameter is the field name, and this must
be provided in the CSV header line as written.
-
Constructor Summary
Constructors Constructor Description ModuloCSVLineToString(java.lang.String filename, java.lang.String fieldname) -
Method Summary
-
Constructor Details
-
ModuloCSVLineToString
public ModuloCSVLineToString(java.lang.String filename, java.lang.String fieldname)
-
-
Method Details