Class DirectoryLines
java.lang.Object
io.nosqlbench.virtdata.library.basics.shared.from_long.to_string.DirectoryLines
- All Implemented Interfaces:
LongFunction<String>
Read each line in each matching file in a directory structure, providing one
line for each time this function is called. The files are sorted at the time
the function is initialized, and each line is read in order.
This function does not produce the same result per cycle value. It is possible
that different cycle inputs will return different inputs if the cycles are not
applied in strict order. Still, this function is useful for consuming input
from a set of files as input to a test or simulation.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DirectoryLines
-
-
Method Details
-
apply
- Specified by:
applyin interfaceLongFunction<String>
-