Class LabelInformation


  • public final class LabelInformation
    extends java.lang.Object
    • Method Detail

      • from

        public static LabelInformation from​(java.util.Map<org.neo4j.gds.NodeLabel,​com.carrotsearch.hppc.BitSet> labelInformation)
      • isEmpty

        public boolean isEmpty()
      • labelSet

        public java.util.Set<org.neo4j.gds.NodeLabel> labelSet()
      • filter

        public LabelInformation filter​(java.util.Collection<org.neo4j.gds.NodeLabel> nodeLabels)
      • unionBitSet

        public com.carrotsearch.hppc.BitSet unionBitSet​(java.util.Collection<org.neo4j.gds.NodeLabel> nodeLabels,
                                                        long nodeCount)
      • hasLabel

        public boolean hasLabel​(long nodeId,
                                org.neo4j.gds.NodeLabel nodeLabel)
      • availableNodeLabels

        public java.util.Set<org.neo4j.gds.NodeLabel> availableNodeLabels()
      • nodeLabelsForNodeId

        public java.util.Set<org.neo4j.gds.NodeLabel> nodeLabelsForNodeId​(long nodeId)
      • validateNodeLabelFilter

        public void validateNodeLabelFilter​(java.util.Collection<org.neo4j.gds.NodeLabel> nodeLabels)
      • builder

        public static LabelInformation.Builder builder​(long expectedCapacity,
                                                       com.carrotsearch.hppc.IntObjectMap<java.util.List<org.neo4j.gds.NodeLabel>> labelTokenNodeLabelMapping,
                                                       AllocationTracker allocationTracker)