Class RawOpsDoc
java.lang.Object
io.nosqlbench.adapters.api.activityconfig.rawyaml.Tags
io.nosqlbench.adapters.api.activityconfig.rawyaml.RawOpFields
io.nosqlbench.adapters.api.activityconfig.rawyaml.OpsOwner
io.nosqlbench.adapters.api.activityconfig.rawyaml.RawOpsDoc
- All Implemented Interfaces:
Tagged,Iterable<RawOpsBlock>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RawOpsDocforSingleStatement(String statement) If raw ops are defined on this RawOpsDoc, then a single RawOpsBlock containing those op templates is prepended to the block list.@NotNull Iterator<RawOpsBlock> iterator()voidsetBlocks(List<RawOpsBlock> blocks) voidsetFieldsByReflection(Map<String, Object> properties) voidsetScenarios(RawScenarios scenarios) voidsetVersionRegex(String regex) Methods inherited from class io.nosqlbench.adapters.api.activityconfig.rawyaml.OpsOwner
getRawOpDefs, setOpsFieldByType, setRawStmtDefsMethods inherited from class io.nosqlbench.adapters.api.activityconfig.rawyaml.RawOpFields
applyBlockParams, getBindings, getDesc, getName, getParams, setBindings, setDesc, setDescription, setName, setParamsMethods inherited from class io.nosqlbench.adapters.api.activityconfig.rawyaml.Tags
getTags, setTagsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
RawOpsDoc
public RawOpsDoc()
-
-
Method Details
-
forSingleStatement
-
setFieldsByReflection
- Overrides:
setFieldsByReflectionin classOpsOwner
-
getBlocks
If raw ops are defined on this RawOpsDoc, then a single RawOpsBlock containing those op templates is prepended to the block list. Otherwise, the list of RawOpsBlocks is returned as-is.- Returns:
- all logical ops blocks
-
setBlocks
-
getRawScenarios
-
setScenarios
-
getVersionRegex
-
setVersionRegex
-
iterator
- Specified by:
iteratorin interfaceIterable<RawOpsBlock>
-