Package org.neo4j.graphalgo.api
Class UnionNodeProperties
- java.lang.Object
-
- org.neo4j.graphalgo.api.UnionNodeProperties
-
- All Implemented Interfaces:
NodeProperties
public class UnionNodeProperties extends java.lang.Object implements NodeProperties
-
-
Constructor Summary
Constructors Constructor Description UnionNodeProperties(NodeMapping nodeMapping, java.util.Map<NodeLabel,NodeProperties> labelToNodePropertiesMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
nodeProperty(long nodeId)
Returns the property value for a node or the loaded default value if no property has been defined.long
size()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.neo4j.graphalgo.api.NodeProperties
getMaxPropertyValue, nodeProperty, release
-
-
-
-
Constructor Detail
-
UnionNodeProperties
public UnionNodeProperties(NodeMapping nodeMapping, java.util.Map<NodeLabel,NodeProperties> labelToNodePropertiesMap)
-
-
Method Detail
-
nodeProperty
public double nodeProperty(long nodeId)
Description copied from interface:NodeProperties
Returns the property value for a node or the loaded default value if no property has been defined.- Specified by:
nodeProperty
in interfaceNodeProperties
-
size
public long size()
- Specified by:
size
in interfaceNodeProperties
- Returns:
- the number of values stored.
-
-