Class OpDef
java.lang.Object
io.nosqlbench.adapters.api.activityconfig.yaml.OpTemplate
io.nosqlbench.adapters.api.activityconfig.yaml.OpDef
-
Field Summary
Fields inherited from class io.nosqlbench.adapters.api.activityconfig.yaml.OpTemplate
FIELD_BINDINGS, FIELD_DESC, FIELD_NAME, FIELD_OP, FIELD_PARAMS, FIELD_REFKEY, FIELD_TAGS -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.nosqlbench.adapters.api.activityconfig.yaml.OpTemplate
asData, assertConsumed, getOptionalStringParam, getOptionalStringParam, getParam, getParamOrDefault, getParamReader, getParamsAsValueType, getParsed, getParsed, getStmt, remainingFields, removeParamOrDefault, size
-
Constructor Details
-
OpDef
-
-
Method Details
-
getName
- Returns:
- a name for the op template, user-specified or auto-generated
-
getOp
-
getRefKey
public int getRefKey() -
getBindings
-
getParams
-
getTags
Description copied from class:OpTemplateReturn 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:
getTagsin interfaceOpTemplateProps- Specified by:
getTagsin interfaceTagged- Specified by:
getTagsin classOpTemplate- Returns:
- A map of assigned tags for the op, with the name added as an auto-tag.
-
toString
-
getDesc
- Returns:
- a description for the op template, or an empty string
-