Package org.neo4j.gds.core.loading
Class NullPropertyMap.DoubleNullPropertyMap
- java.lang.Object
-
- org.neo4j.gds.core.loading.NullPropertyMap
-
- org.neo4j.gds.core.loading.NullPropertyMap.DoubleNullPropertyMap
-
- All Implemented Interfaces:
NodePropertyValues
,PropertyValues
- Enclosing class:
- NullPropertyMap
public static class NullPropertyMap.DoubleNullPropertyMap extends NullPropertyMap
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.neo4j.gds.core.loading.NullPropertyMap
NullPropertyMap.DoubleNullPropertyMap, NullPropertyMap.LongNullPropertyMap
-
-
Constructor Summary
Constructors Constructor Description DoubleNullPropertyMap(double defaultValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
doubleValue(long nodeId)
java.util.OptionalDouble
getMaxDoublePropertyValue()
java.lang.Object
getObject(long nodeId)
long
size()
org.neo4j.values.storable.Value
value(long nodeId)
org.neo4j.gds.api.nodeproperties.ValueType
valueType()
-
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.NodePropertyValues
doubleArrayValue, floatArrayValue, getMaxLongPropertyValue, longArrayValue, longValue
-
Methods inherited from interface org.neo4j.gds.api.properties.PropertyValues
release, unsupportedTypeException
-
-
-
-
Method Detail
-
doubleValue
public double doubleValue(long nodeId)
-
getObject
public java.lang.Object getObject(long nodeId)
-
value
public org.neo4j.values.storable.Value value(long nodeId)
-
valueType
public org.neo4j.gds.api.nodeproperties.ValueType valueType()
-
getMaxDoublePropertyValue
public java.util.OptionalDouble getMaxDoublePropertyValue()
- Returns:
- the maximum double value contained in the mapping or an empty
OptionalDouble
if the mapping is empty or the feature is not supported.
-
size
public long size()
- Returns:
- the number of values stored.
-
-