Class StringBindings

java.lang.Object
io.nosqlbench.virtdata.core.templates.StringBindings
All Implemented Interfaces:
Binder<String>, LongFunction<String>

public class StringBindings extends Object implements Binder<String>
Allows the generation of strings from a string template and bindings template.
  • Constructor Details

  • Method Details

    • bind

      public String bind(long value)
      Call the data mapper bindings, assigning the returned values positionally to the anchors in the string binding.
      Specified by:
      bind in interface Binder<String>
      Parameters:
      value - a long input value
      Returns:
      a new String containing the mapped values
    • toString

      public String toString()
      Overrides:
      toString in class Object