Interface NodeLabelToken


  • public interface NodeLabelToken
    • Method Detail

      • isMissing

        boolean isMissing()
        Returns:
        `true` iff no label information was provided at all.
      • isInvalid

        boolean isInvalid()
        Returns:
        `true` iff the provided label information could not be mapped to an internal type because it was provided as a wrong type.
      • isEmpty

        boolean isEmpty()
        Returns:
        `true` if the provided label information does not actually contain any labels or if no label information was provided at all.
      • size

        int size()
      • get

        @NotNull
        @NotNull org.neo4j.gds.NodeLabel get​(int index)
      • getStrings

        java.lang.String[] getStrings()
      • nodeLabels

        default java.util.stream.Stream<org.neo4j.gds.NodeLabel> nodeLabels()
        Returns:
        a stream of NodeLabels represented by this token.