Class UnionNodeProperties

    • Constructor Detail

      • UnionNodeProperties

        public UnionNodeProperties​(IdMap idMap,
                                   java.util.Map<org.neo4j.gds.NodeLabel,​NodeProperties> labelToNodePropertiesMap)
    • Method Detail

      • getObject

        public java.lang.Object getObject​(long nodeId)
        Specified by:
        getObject in interface NodeProperties
      • value

        public org.neo4j.values.storable.Value value​(long nodeId)
        Specified by:
        value in interface NodeProperties
      • valueType

        public org.neo4j.gds.api.nodeproperties.ValueType valueType()
        Specified by:
        valueType in interface NodeProperties
      • release

        public long release()
        Description copied from interface: NodeProperties
        Release internal data structures and return an estimate how many bytes were freed. Note that the mapping is not usable afterwards.
        Specified by:
        release in interface NodeProperties
      • size

        public long size()
        Specified by:
        size in interface NodeProperties
        Returns:
        the number of values stored.
      • getMaxLongPropertyValue

        public java.util.OptionalLong getMaxLongPropertyValue()
        Specified by:
        getMaxLongPropertyValue in interface NodeProperties
        Returns:
        the maximum long value contained in the mapping or an empty OptionalLong if the mapping is empty or the feature is not supported.
      • getMaxDoublePropertyValue

        public java.util.OptionalDouble getMaxDoublePropertyValue()
        Specified by:
        getMaxDoublePropertyValue in interface NodeProperties
        Returns:
        the maximum double value contained in the mapping or an empty OptionalDouble if the mapping is empty or the feature is not supported.