Class STHeadingScanner
java.lang.Object
io.nosqlbench.nb.spectest.loaders.STHeadingScanner
- All Implemented Interfaces:
Supplier<CharSequence>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
STHeadingScanner
-
-
Method Details
-
toString
-
toString
-
index
If this method is called, then the heading index is incremented to track enumerations (represented as numeric indices) of headings within a common flow of elements- Returns:
-
update
Update the state of the heading scanner. If the object is a path, then the heading list is cleared and the new path is set. If the object is a Heading node, then the heading list is updated according to the level of the provided heading. All heading levels deeper than the provided one are removed from the list first. Any other object type is ignored silently.- Parameters:
object- Any object which might be a Heading or Path- Returns:
- this HeadingScanner for method chaining
-
get
- Specified by:
getin interfaceSupplier<CharSequence>
-