Class StmtsDocList

java.lang.Object
io.nosqlbench.engine.api.activityconfig.yaml.StmtsDocList
All Implemented Interfaces:
Iterable<StmtsDoc>

public class StmtsDocList extends Object implements Iterable<StmtsDoc>
  • Field Details

    • TEMPLATE_VAR_EXPANDER

      public static io.nosqlbench.nb.api.config.standard.NBConfigModelExpander TEMPLATE_VAR_EXPANDER
  • Constructor Details

  • Method Details

    • getStmtDocs

      public List<StmtsDoc> getStmtDocs(String tagFilter)
    • getStmtDocs

      public List<StmtsDoc> getStmtDocs()
    • getStmts

      public List<OpTemplate> getStmts()
    • getStmts

      public List<OpTemplate> getStmts(String tagFilterSpec)
      Parameters:
      tagFilterSpec - a comma-separated tag filter spec
      Returns:
      The list of all included statements for all included blocks of in this document, including the inherited and overridden values from the this doc and the parent block.
    • iterator

      public Iterator<StmtsDoc> iterator()
      Specified by:
      iterator in interface Iterable<StmtsDoc>
    • getDocBindings

      public Map<String,String> getDocBindings()
      Return the list of all bindings combined across all docs, not including the block or statement level bindings.
      Returns:
      A map of all bindings at the doc level.
    • getDocScenarios

      public Scenarios getDocScenarios()
      Returns:
      the list of named scenarios for the first document in the list.
    • getDescription

      public String getDescription()
      Returns:
      the description of the first document in the list.
    • getTemplateVariables

      public Map<String,String> getTemplateVariables()
    • addTemplateVariable

      public void addTemplateVariable(String key, String defaultValue)
    • getConfigModel

      public io.nosqlbench.nb.api.config.standard.NBConfigModel getConfigModel()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getVersionRegex

      public Pattern getVersionRegex()