Class OpDef

java.lang.Object
io.nosqlbench.adapters.api.activityconfig.yaml.OpTemplate
io.nosqlbench.adapters.api.activityconfig.yaml.OpDef
All Implemented Interfaces:
OpTemplateProps, Tagged

public class OpDef extends OpTemplate
  • Constructor Details

  • Method Details

    • getName

      public String getName()
      Returns:
      a name for the op template, user-specified or auto-generated
    • getOp

      public Optional<Map<String,Object>> getOp()
    • getRefKey

      public int getRefKey()
    • getBindings

      public LinkedHashMap<String,String> getBindings()
    • getParams

      public Map<String,Object> getParams()
    • getTags

      public Map<String,String> getTags()
      Description copied from class: OpTemplate
      Return a map of tags for this statement. Implementations are required to add a tag for "name" automatically when this value is set during construction.
      Specified by:
      getTags in interface OpTemplateProps
      Specified by:
      getTags in interface Tagged
      Specified by:
      getTags in class OpTemplate
      Returns:
      A map of assigned tags for the op, with the name added as an auto-tag.
    • toString

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

      public String getDesc()
      Returns:
      a description for the op template, or an empty string