Interface NodeProperties

    • 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

        org.neo4j.gds.api.nodeproperties.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.