Class StmtsDoc
java.lang.Object
io.nosqlbench.engine.api.activityconfig.yaml.StmtsDoc
- All Implemented Interfaces:
io.nosqlbench.engine.api.util.Tagged,Iterable<StmtsBlock>
public class StmtsDoc
extends Object
implements io.nosqlbench.engine.api.util.Tagged, Iterable<StmtsBlock>
StmtsDoc creates a logical view of a statements doc that includes
all inherited and overridden values for bindings, tags, and params.
-
Constructor Details
-
StmtsDoc
-
-
Method Details
-
getBlocks
- Returns:
- a usable list of blocks, including inherited bindings, params, and tags from the parent doc
-
getTags
- Specified by:
getTagsin interfaceio.nosqlbench.engine.api.util.Tagged- Returns:
- a usable map of tags, including those inherited from the parent doc
-
getParams
- Returns:
- a usable map of parameters, including those inherited from the parent doc
-
getBindings
- Returns:
- a usable map of bindings, including those inherited from the parent doc
-
getName
- Returns:
- the name of this block
-
getStmts
- Returns:
- The list of all included statements for all included block in this document, including the inherited and overridden values from the this doc and the parent block.
-
iterator
Allow StmtsDoc to be used in iterable loops.- Specified by:
iteratorin interfaceIterable<StmtsBlock>- Returns:
- An iterator of
StmtsBlock
-
getScenarios
-
getDescription
-