Package org.neo4j.gds.core.utils
Class OriginalIdNodePropertyValues
- java.lang.Object
-
- org.neo4j.gds.core.utils.OriginalIdNodePropertyValues
-
- All Implemented Interfaces:
LongNodePropertyValues,NodePropertyValues,PropertyValues
public class OriginalIdNodePropertyValues extends java.lang.Object implements LongNodePropertyValues
-
-
Constructor Summary
Constructors Constructor Description OriginalIdNodePropertyValues(IdMap idMap)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.OptionalLonggetMaxLongPropertyValue()longlongValue(long nodeId)longsize()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.neo4j.gds.api.properties.nodes.LongNodePropertyValues
doubleValue, getObject, value, valueType
-
Methods inherited from interface org.neo4j.gds.api.properties.nodes.NodePropertyValues
doubleArrayValue, floatArrayValue, getMaxDoublePropertyValue, longArrayValue
-
Methods inherited from interface org.neo4j.gds.api.properties.PropertyValues
release, unsupportedTypeException
-
-
-
-
Constructor Detail
-
OriginalIdNodePropertyValues
public OriginalIdNodePropertyValues(IdMap idMap)
-
-
Method Detail
-
longValue
public long longValue(long nodeId)
- Specified by:
longValuein interfaceLongNodePropertyValues- Specified by:
longValuein interfaceNodePropertyValues
-
getMaxLongPropertyValue
public java.util.OptionalLong getMaxLongPropertyValue()
- Specified by:
getMaxLongPropertyValuein interfaceLongNodePropertyValues- Specified by:
getMaxLongPropertyValuein interfaceNodePropertyValues- Returns:
- the maximum long value contained in the mapping or an empty
OptionalLongif the mapping is empty or the feature is not supported.
-
size
public long size()
- Specified by:
sizein interfacePropertyValues- Returns:
- the number of values stored.
-
-