
Performance/Refactoring: Extend Java Classes
Reported by Andreas Ronge | December 1st, 2009 @ 09:03 PM | in 0.4.0
Relationship and Node should share common mixin
Something like this:
org.neo4j.impl.core.NodeProxy.class_eval{ include Neo4j::PropertyMixin } org.neo4j.impl.core.RelationshipProxy.class_eval{ include Neo4j::PropertyMixin }
There are some code duplication in the RelationshipMixin and NodeMixin that can be reducesed.
When loading java node/relationship object we can use ruby methods on them without creating a wrapped Ruby object.
Comments and changes to this ticket
-
Andreas Ronge December 19th, 2009 @ 11:41 PM
(from [bc43e62c6a3f3857cd8a8b5ab02aeacd45f2cf63]) Fixed RSpecs for aggregate Neo4j.rb extension [#97] http://github.com/andreasronge/neo4j/commit/bc43e62c6a3f3857cd8a8b5...
-
Andreas Ronge December 19th, 2009 @ 11:41 PM
(from [ec113db09d7dd2d00d363140d356a2d9b5489917]) Fixed RSpecs for tx_tracker Neo4j.rb extension [#97] Added documentation how to access the Java Neo4j API in the README.rdoc file
http://github.com/andreasronge/neo4j/commit/ec113db09d7dd2d00d36314... -
Andreas Ronge January 22nd, 2010 @ 03:50 PM
- State changed from new to resolved
-
Andreas Ronge January 16th, 2012 @ 06:09 AM
- Milestone order changed from 0 to 0
(from [43a394a9ea7fc30a9eede1f1972dc26b56fb1517]) Use type converters to determine how to handle multi-param attributes. Fixes #97 https://github.com/andreasronge/neo4j/commit/43a394a9ea7fc30a9eede1...
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
-
97 Performance/Refactoring: Extend Java Classes (from [bc43e62c6a3f3857cd8a8b5ab02aeacd45f2cf63]) Fixed R...
-
97 Performance/Refactoring: Extend Java Classes (from [ec113db09d7dd2d00d363140d356a2d9b5489917]) Fixed R...