Class OpData
java.lang.Object
io.nosqlbench.engine.api.activityconfig.yaml.OpTemplate
io.nosqlbench.engine.api.activityconfig.yaml.OpData
- All Implemented Interfaces:
io.nosqlbench.engine.api.util.Tagged
-
Field Summary
Fields inherited from class io.nosqlbench.engine.api.activityconfig.yaml.OpTemplate
FIELD_BINDINGS, FIELD_DESC, FIELD_NAME, FIELD_OP, FIELD_PARAMS, FIELD_TAGS -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class io.nosqlbench.engine.api.activityconfig.yaml.OpTemplate
asData, assertConsumed, getOptionalStringParam, getOptionalStringParam, getParam, getParamOrDefault, getParamReader, getParamsAsValueType, getParsed, getParsed, remainingFields, removeParamOrDefault, size
-
Constructor Details
-
OpData
-
OpData
public OpData() -
OpData
-
-
Method Details
-
applyFields
-
getDesc
- Specified by:
getDescin classOpTemplate- Returns:
- a description for the op template, or an empty string
-
getName
- Specified by:
getNamein classOpTemplate- Returns:
- a name for the op template, user-specified or auto-generated
-
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 interfaceio.nosqlbench.engine.api.util.Tagged- Specified by:
getTagsin classOpTemplate- Returns:
- A map of assigned tags for the op, with the name added as an auto-tag.
-
getBindings
- Specified by:
getBindingsin classOpTemplate
-
getParams
- Specified by:
getParamsin classOpTemplate
-
getOp
- Specified by:
getOpin classOpTemplate
-
getStmt
Description copied from class:OpTemplateLegacy support for String form statements. This is left here as a convenience method, however it is changed to an Optional to force caller refactorings.- Overrides:
getStmtin classOpTemplate- Returns:
- An optional string version of the op, empty if there is no 'stmt' property in the op fields, or no op fields at all.
-