Class Neo4jItemWriterBuilder<T>
java.lang.Object
org.springframework.batch.item.data.builder.Neo4jItemWriterBuilder<T>
Deprecated.
since 5.0 in favor of the item writer builder from ...
A builder implementation for the
Neo4jItemWriter
- Since:
- 4.0
- Author:
- Glenn Renfro, Mahmoud Ben Hassine
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated.Validates and builds aNeo4jItemWriter
.delete
(boolean delete) Deprecated.Boolean flag indicating whether the writer should save or delete the item at write time.sessionFactory
(org.neo4j.ogm.session.SessionFactory sessionFactory) Deprecated.Establish the session factory that will be used to createSession
instances for interacting with Neo4j.
-
Constructor Details
-
Neo4jItemWriterBuilder
public Neo4jItemWriterBuilder()Deprecated.
-
-
Method Details
-
delete
Deprecated.Boolean flag indicating whether the writer should save or delete the item at write time.- Parameters:
delete
- true if write should delete item, false if item should be saved. Default is false.- Returns:
- The current instance of the builder
- See Also:
-
sessionFactory
public Neo4jItemWriterBuilder<T> sessionFactory(org.neo4j.ogm.session.SessionFactory sessionFactory) Deprecated.Establish the session factory that will be used to createSession
instances for interacting with Neo4j.- Parameters:
sessionFactory
- sessionFactory to be used.- Returns:
- The current instance of the builder
- See Also:
-
build
Deprecated.Validates and builds aNeo4jItemWriter
.- Returns:
- a
Neo4jItemWriter
-