
BatchInserter
Reported by Andreas Ronge | February 17th, 2010 @ 07:19 PM | in 0.4.1
Should wrap the neo4j batch inserter in a nice API: http://wiki.neo4j.org/content/Batch_Insert
Neo4j::BatchInserter.new do |b|
a = Neo4j::Node.new :name => 'a'
b = Neo4j::Node.new :name => 'b'
c = Foo.new :key1 => 'val1', :key2 => 'val2'
Neo4j::Relationship.new(:friend, a, b, :since => '2001-01-01')
end
Creations of nodes and relationships inside the block will use
the batch inserter API instead.
Yielded parameter b is the raw Java BatchInserter object, which you
can use to get better performance
(using Neo4j::Node.new will cost a little bit in performance).
Comments and changes to this ticket
-
Andreas Ronge February 17th, 2010 @ 07:53 PM
- State changed from new to open
(from [d599df58c8952ba0b924e08f481c44f9c3bfa2b4]) Impl. BatchInserter support [#111 state:open] http://github.com/andreasronge/neo4j/commit/d599df58c8952ba0b924e08...
-
Andreas Ronge February 19th, 2010 @ 12:30 AM
(from [170436b17edf95d9406880df3d7b65ca1582a8cc]) Impl. better support for BatchInserter and more RSpecs [#111] http://github.com/andreasronge/neo4j/commit/170436b17edf95d9406880d...
-
Andreas Ronge February 19th, 2010 @ 08:10 PM
(from [2d54fb8bae6ac2df97d8af51f8a527194650f815]) BatchInserter can now be used in migrations [#111] [#108] http://github.com/andreasronge/neo4j/commit/2d54fb8bae6ac2df97d8af5...
-
Andreas Ronge February 28th, 2010 @ 07:46 AM
(from [0530588c00a16e3402196b6ba25c19468065ae3e]) BatchInserter can now user the lucene indexer [#111] http://github.com/andreasronge/neo4j/commit/0530588c00a16e3402196b6...
-
Andreas Ronge March 1st, 2010 @ 04:08 PM
(from [3d3e6bbaed4dfa0c557cd891b8c366ff8fc354b5]) Added documentation for Migrations and BatchInserter. Next - use this feature in one of the examples [#111] [#108] http://github.com/andreasronge/neo4j/commit/3d3e6bbaed4dfa0c557cd89...
-
Andreas Ronge March 3rd, 2010 @ 12:04 AM
- State changed from open to resolved
(from [e86e250a2d4cb0debb7a3631c16341341b0be11f]) Updated IMDB example to use migrations. Updated som documentation. [#111 state:resolved] [#108 state:resolved] http://github.com/andreasronge/neo4j/commit/e86e250a2d4cb0debb7a363...
-
Andreas Ronge December 17th, 2011 @ 10:08 AM
- Milestone order changed from 0 to 0
(from [f6f36998d60f5fa28c490e8f1ae7705bb82c1de8]) Fix for undefined method `add_unpersisted_outgoing_rel' closes #111 https://github.com/andreasronge/neo4j/commit/f6f36998d60f5fa28c490e...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Neo4j.rb is a graph database framework for JRuby.
It provides:
* Mapping of ruby objects to nodes in networks rather than in tables.
* Storage of ruby object to a file system.
* Fast traversal of relationships between nodes in a hugh node space.
* Transaction with rollbacks support.
* Indexing and quering of ruby objects.
* Integration with Rails
People watching this ticket
Referenced by
-
108 Migrations Migrations can be used together with BatchInsert, see tic...
-
111 BatchInserter (from [d599df58c8952ba0b924e08f481c44f9c3bfa2b4]) Impl. B...
-
111 BatchInserter (from [170436b17edf95d9406880df3d7b65ca1582a8cc]) Impl. b...
-
111 BatchInserter (from [2d54fb8bae6ac2df97d8af51f8a527194650f815]) BatchIn...
-
108 Migrations (from [2d54fb8bae6ac2df97d8af51f8a527194650f815]) BatchIn...
-
111 BatchInserter (from [0530588c00a16e3402196b6ba25c19468065ae3e]) BatchIn...
-
111 BatchInserter (from [3d3e6bbaed4dfa0c557cd891b8c366ff8fc354b5]) Added d...
-
108 Migrations (from [3d3e6bbaed4dfa0c557cd891b8c366ff8fc354b5]) Added d...
-
111 BatchInserter (from [e86e250a2d4cb0debb7a3631c16341341b0be11f]) Updated...
-
108 Migrations (from [e86e250a2d4cb0debb7a3631c16341341b0be11f]) Updated...