Class Neo4jItemWriterBuilder<T>

java.lang.Object
org.springframework.batch.item.data.builder.Neo4jItemWriterBuilder<T>

@Deprecated public class Neo4jItemWriterBuilder<T> extends Object
Deprecated.
since 5.0 in favor of the item writer builder from https://github.com/spring-projects/spring-batch-extensions/blob/main/spring-batch-neo4j
A builder implementation for the Neo4jItemWriter
Since:
4.0
Author:
Glenn Renfro, Mahmoud Ben Hassine
See Also:
  • Constructor Details

    • Neo4jItemWriterBuilder

      public Neo4jItemWriterBuilder()
      Deprecated.
  • Method Details

    • delete

      public Neo4jItemWriterBuilder<T> delete(boolean 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 create Session instances for interacting with Neo4j.
      Parameters:
      sessionFactory - sessionFactory to be used.
      Returns:
      The current instance of the builder
      See Also:
    • build

      public Neo4jItemWriter<T> build()
      Deprecated.
      Validates and builds a Neo4jItemWriter.
      Returns:
      a Neo4jItemWriter