Package org.neo4j.graphalgo.api
Interface NodeProperties
-
- All Known Subinterfaces:
DoubleArrayNodeProperties
,DoubleNodeProperties
,FloatArrayNodeProperties
,LongArrayNodeProperties
,LongNodeProperties
- All Known Implementing Classes:
ConsecutiveLongNodeProperties
,FilteredNodeProperties
,FilteredNodeProperties.FilteredToOriginalNodeProperties
,FilteredNodeProperties.OriginalToFilteredNodeProperties
,LongIfChangedNodeProperties
,NullPropertyMap
,NullPropertyMap.DoubleNullPropertyMap
,NullPropertyMap.LongNullPropertyMap
,UnionNodeProperties
public interface NodeProperties
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default @org.jetbrains.annotations.Nullable double[]
doubleArrayValue(long nodeId)
default double
doubleValue(long nodeId)
default @org.jetbrains.annotations.Nullable float[]
floatArrayValue(long nodeId)
default java.util.OptionalDouble
getMaxDoublePropertyValue()
default java.util.OptionalLong
getMaxLongPropertyValue()
@Nullable java.lang.Object
getObject(long nodeId)
default @org.jetbrains.annotations.Nullable long[]
longArrayValue(long nodeId)
default long
longValue(long nodeId)
default long
release()
Release internal data structures and return an estimate how many bytes were freed.long
size()
org.neo4j.values.storable.Value
value(long nodeId)
ValueType
valueType()
-
-
-
Method Detail
-
doubleValue
default double doubleValue(long nodeId)
-
longValue
default long longValue(long nodeId)
-
doubleArrayValue
@Nullable default @org.jetbrains.annotations.Nullable double[] doubleArrayValue(long nodeId)
-
floatArrayValue
@Nullable default @org.jetbrains.annotations.Nullable float[] floatArrayValue(long nodeId)
-
longArrayValue
@Nullable default @org.jetbrains.annotations.Nullable long[] longArrayValue(long nodeId)
-
getObject
@Nullable @Nullable java.lang.Object getObject(long nodeId)
-
valueType
ValueType valueType()
-
value
org.neo4j.values.storable.Value value(long nodeId)
-
release
default long release()
Release internal data structures and return an estimate how many bytes were freed. Note that the mapping is not usable afterwards.
-
size
long size()
- Returns:
- the number of values stored.
-
getMaxLongPropertyValue
default java.util.OptionalLong getMaxLongPropertyValue()
- Returns:
- the maximum long value contained in the mapping or an empty
OptionalLong
if the mapping is empty or the feature is not supported. - Throws:
java.lang.UnsupportedOperationException
- if the type is not coercible into a long.
-
getMaxDoublePropertyValue
default 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. - Throws:
java.lang.UnsupportedOperationException
- if the type is not coercible into a double.
-
-