Interface NodeStringRenderable
- All Known Implementing Classes:
AbstractStringPattern,Dissect.Parser,Grok.Parser,IndexPattern,LabelMatcher,LabelMatchers,RLikePattern,RLikePatternList,WildcardPattern,WildcardPatternList
public interface NodeStringRenderable
A non-
Node property that knows how to render itself through the nodeString
pipeline. The reflective property walker (NodePropertiesToString) dispatches to this
instead of String.valueOf so structured properties (dissect / grok patterns, index
maps, regex patterns) route their embedded identifiers through the NodeStringMapper on
the single render path — no per-node nodeString override, no == IDENTITY branch.
Contract: under NodeStringMapper.IDENTITY the appended output must equal the property's
plain toString(), so identity rendering (EXPLAIN, debug logs, golden fixtures) is
unchanged; under any other mapper the same shape is emitted with identifiers substituted. The
recommended way to honor the first half is to make toString() delegate here with the
identity mapper.
-
Method Summary
Modifier and TypeMethodDescriptionvoidnodeString(StringBuilder sb, Node.NodeStringFormat format, NodeStringMapper mapper)
-
Method Details
-
nodeString
-