Class AbstractPlannerGraph.AbstractNode
- java.lang.Object
-
- com.apple.foundationdb.record.query.plan.temp.explain.AbstractPlannerGraph.AbstractNode
-
- Direct Known Subclasses:
PlannerGraph.Node
- Enclosing class:
- AbstractPlannerGraph<N extends AbstractPlannerGraph.AbstractNode,E extends AbstractPlannerGraph.AbstractEdge>
public abstract static class AbstractPlannerGraph.AbstractNode extends Object
Node class functioning as parent for all nodes in the network.
-
-
Constructor Summary
Constructors Constructor Description AbstractNode(Object identity, String name)
AbstractNode(Object identity, String name, List<String> details)
Overloaded constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
abstract Map<String,Attribute>
getAttributes()
List<String>
getDetails()
Object
getIdentity()
String
getName()
int
hashCode()
-
-
-
Constructor Detail
-
AbstractNode
public AbstractNode(@Nonnull Object identity, @Nonnull String name, @Nullable List<String> details)
Overloaded constructor.- Parameters:
identity
- object identifying this node. Two nodes in the graph are considered equal if and only if their identity is equal (using reference equality)name
- name of the object to be used to construct the label that is displayeddetails
- list of strings with auxiliary information about the node. These strings are used to construct the label of the node depending on the exporter. This parameter isNullable
. If null, the label is omitted. If empty, it creates an empty list if the target format supports lists.
-
-