Package com.yahoo.config
Class InnerNode
- java.lang.Object
-
- com.yahoo.config.Node
-
- com.yahoo.config.InnerNode
-
- Direct Known Subclasses:
ConfigInstance
public abstract class InnerNode extends Node
Superclass for all inner nodes in aConfigInstance
.This class cannot have non-private members because such members will interfere with the members in the generated subclass.
- Author:
- gjoranv
-
-
Constructor Summary
Constructors Constructor Description InnerNode()
Creates a new InnerNode.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
protected static Map<String,LeafNode<?>>
getAllDescendantLeafNodes(InnerNode node)
protected Map<String,Object>
getChildren()
protected Map<String,Node>
getChildrenWithVectorsFlattened()
Returns a flat map of this node's direct children, including all NodeVectors' elements.int
hashCode()
void
postInitialize(String configId)
OverridesNode.postInitialize(String)
.String
toString()
-
-
-
Method Detail
-
postInitialize
public void postInitialize(String configId)
OverridesNode.postInitialize(String)
. Perform post initialization on this nodes children.- Overrides:
postInitialize
in classNode
- Parameters:
configId
- The config id of this instance.
-
getChildrenWithVectorsFlattened
protected Map<String,Node> getChildrenWithVectorsFlattened()
Returns a flat map of this node's direct children, including all NodeVectors' elements. Keys are the node name, including index for vector elements, e.g. 'arr[0]'. TODO Make final before Vespa 8 as correct order is required
-
-