Package org.neo4j.gds.config
Class NodeIdParser
- java.lang.Object
-
- org.neo4j.gds.config.NodeIdParser
-
public final class NodeIdParser extends java.lang.Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<java.lang.Long>
parseToListOfNodeIds(java.lang.Object input, java.lang.String parameterName)
User input is one of *java.lang.Number
*ogr.neo4j.graphdb.Node
*java.util.List
with one or more elements, where each element is one of the abovestatic long
parseToSingleNodeId(java.lang.Object input, java.lang.String parameterName)
User input is one of *java.lang.Number
*ogr.neo4j.graphdb.Node
*java.util.Collection
with a single element, where that element is one of the above
-
-
-
Method Detail
-
parseToListOfNodeIds
public static java.util.List<java.lang.Long> parseToListOfNodeIds(java.lang.Object input, java.lang.String parameterName)
User input is one of *java.lang.Number
*ogr.neo4j.graphdb.Node
*java.util.List
with one or more elements, where each element is one of the above- Returns:
- A
java.util.Collection<Long>
of node IDs.
-
parseToSingleNodeId
public static long parseToSingleNodeId(java.lang.Object input, java.lang.String parameterName)
User input is one of *java.lang.Number
*ogr.neo4j.graphdb.Node
*java.util.Collection
with a single element, where that element is one of the above- Returns:
- A
java.lang.Long
of node IDs.
-
-