Interface NodeLabelToken
-
public interface NodeLabelToken
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @NotNull org.neo4j.gds.NodeLabel
get(int index)
java.lang.String[]
getStrings()
boolean
isEmpty()
boolean
isInvalid()
boolean
isMissing()
default java.util.stream.Stream<org.neo4j.gds.NodeLabel>
nodeLabels()
int
size()
-
-
-
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
NodeLabel
s represented by this token.
-
-