Package apoc.load
Class LoadDirectory
- java.lang.Object
-
- apoc.load.LoadDirectory
-
public class LoadDirectory extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description org.neo4j.graphdb.GraphDatabaseService
db
LoadDirectoryHandler
loadDirectoryHandler
org.neo4j.logging.Log
log
org.neo4j.graphdb.Transaction
tx
-
Constructor Summary
Constructors Constructor Description LoadDirectory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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)
static java.lang.String
checkIfUrlBlankAndGetFileUrl(java.lang.String urlDir)
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)
java.util.stream.Stream<LoadDirectoryItem.LoadDirectoryResult>
list()
java.util.stream.Stream<LoadDirectoryItem.LoadDirectoryResult>
remove(java.lang.String name)
java.util.stream.Stream<LoadDirectoryItem.LoadDirectoryResult>
removeAll()
-
-
-
Field Detail
-
log
public org.neo4j.logging.Log log
-
db
public org.neo4j.graphdb.GraphDatabaseService db
-
loadDirectoryHandler
public LoadDirectoryHandler loadDirectoryHandler
-
tx
public org.neo4j.graphdb.Transaction tx
-
-
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
-
remove
public java.util.stream.Stream<LoadDirectoryItem.LoadDirectoryResult> remove(java.lang.String name)
-
removeAll
public java.util.stream.Stream<LoadDirectoryItem.LoadDirectoryResult> removeAll()
-
list
public java.util.stream.Stream<LoadDirectoryItem.LoadDirectoryResult> list()
-
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
-
-