Class 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 above
      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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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.