Class LabelNodeFilter

  • All Implemented Interfaces:
    java.util.function.LongPredicate, NodeFilter

    public final class LabelNodeFilter
    extends java.lang.Object
    implements NodeFilter
    • Field Summary

      • Fields inherited from interface org.neo4j.gds.similarity.filtering.NodeFilter

        noOp
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static LabelNodeFilter create​(java.lang.String labelString, org.neo4j.gds.api.IdMap idMap)  
      boolean test​(long nodeId)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.util.function.LongPredicate

        and, negate, or
    • Method Detail

      • create

        public static LabelNodeFilter create​(java.lang.String labelString,
                                             org.neo4j.gds.api.IdMap idMap)
      • test

        public boolean test​(long nodeId)
        Specified by:
        test in interface java.util.function.LongPredicate