Package apoc.load

Class LoadDirectory


  • public class LoadDirectory
    extends java.lang.Object
    • Field Detail

      • log

        public org.neo4j.logging.Log log
      • db

        public org.neo4j.graphdb.GraphDatabaseService db
      • tx

        public org.neo4j.graphdb.Transaction tx
    • Constructor Detail

      • LoadDirectory

        public LoadDirectory()
    • Method Detail

      • add

        public java.util.stream.Stream<LoadDirectoryItem.LoadDirectoryResult> add​(java.lang.String name,
                                                                                  java.lang.String cypher,
                                                                                  java.lang.String pattern,
                                                                                  java.lang.String urlDir,
                                                                                  java.util.Map<java.lang.String,​java.lang.Object> config)
                                                                           throws java.io.IOException
        Throws:
        java.io.IOException
      • directory

        public java.util.stream.Stream<apoc.result.StringResult> directory​(java.lang.String pattern,
                                                                           java.lang.String urlDir,
                                                                           java.util.Map<java.lang.String,​java.lang.Object> config)
                                                                    throws java.io.IOException
        Throws:
        java.io.IOException
      • checkIfUrlBlankAndGetFileUrl

        public static java.lang.String checkIfUrlBlankAndGetFileUrl​(java.lang.String urlDir)
                                                             throws java.io.IOException
        Throws:
        java.io.IOException