neo4j 2.0.0.alpha.3-java → 2.0.0.alpha.4-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/bin/neo4j-shell~ +108 -0
- data/lib/Gemfile~ +3 -0
- data/lib/config2.yml~ +86 -0
- data/lib/db/active_tx_log +1 -0
- data/lib/db/index/lucene-store.db +0 -0
- data/lib/db/index/lucene.log.active +0 -0
- data/lib/db/messages.log +222 -0
- data/lib/db/neostore +0 -0
- data/lib/db/neostore.id +0 -0
- data/lib/db/neostore.nodestore.db +0 -0
- data/lib/db/neostore.nodestore.db.id +0 -0
- data/lib/db/neostore.propertystore.db +0 -0
- data/lib/db/neostore.propertystore.db.arrays +0 -0
- data/lib/db/neostore.propertystore.db.arrays.id +0 -0
- data/lib/db/neostore.propertystore.db.id +0 -0
- data/lib/db/neostore.propertystore.db.index +0 -0
- data/lib/db/neostore.propertystore.db.index.id +0 -0
- data/lib/db/neostore.propertystore.db.index.keys +0 -0
- data/lib/db/neostore.propertystore.db.index.keys.id +0 -0
- data/lib/db/neostore.propertystore.db.strings +0 -0
- data/lib/db/neostore.propertystore.db.strings.id +0 -0
- data/lib/db/neostore.relationshipstore.db +1 -0
- data/lib/db/neostore.relationshipstore.db.id +0 -0
- data/lib/db/neostore.relationshiptypestore.db +1 -0
- data/lib/db/neostore.relationshiptypestore.db.id +0 -0
- data/lib/db/neostore.relationshiptypestore.db.names +0 -0
- data/lib/db/neostore.relationshiptypestore.db.names.id +0 -0
- data/lib/db/nioneo_logical.log.active +0 -0
- data/lib/db/tm_tx_log.1 +0 -0
- data/lib/neo4j/rule/rule.rb +3 -1
- data/lib/neo4j/version.rb +1 -1
- data/lib/perf.rb~ +36 -0
- data/lib/test.rb~ +2 -0
- metadata +226 -190
data/bin/neo4j-shell~
ADDED
@@ -0,0 +1,108 @@
|
|
1
|
+
#!/bin/sh
|
2
|
+
# ----------------------------------------------------------------------------
|
3
|
+
# Copyright 2001-2006 The Apache Software Foundation.
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
# ----------------------------------------------------------------------------
|
17
|
+
|
18
|
+
# Copyright (c) 2001-2002 The Apache Software Foundation. All rights
|
19
|
+
# reserved.
|
20
|
+
|
21
|
+
BASEDIR=`dirname $0`/..
|
22
|
+
BASEDIR=`(cd "$BASEDIR"; pwd)`
|
23
|
+
|
24
|
+
|
25
|
+
|
26
|
+
# OS specific support. $var _must_ be set to either true or false.
|
27
|
+
cygwin=false;
|
28
|
+
darwin=false;
|
29
|
+
case "`uname`" in
|
30
|
+
CYGWIN*) cygwin=true ;;
|
31
|
+
Darwin*) darwin=true
|
32
|
+
if [ -z "$JAVA_VERSION" ] ; then
|
33
|
+
JAVA_VERSION="CurrentJDK"
|
34
|
+
else
|
35
|
+
echo "Using Java version: $JAVA_VERSION"
|
36
|
+
fi
|
37
|
+
if [ -z "$JAVA_HOME" ] ; then
|
38
|
+
JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/${JAVA_VERSION}/Home
|
39
|
+
fi
|
40
|
+
;;
|
41
|
+
esac
|
42
|
+
|
43
|
+
if [ -z "$JAVA_HOME" ] ; then
|
44
|
+
if [ -r /etc/gentoo-release ] ; then
|
45
|
+
JAVA_HOME=`java-config --jre-home`
|
46
|
+
fi
|
47
|
+
fi
|
48
|
+
|
49
|
+
# For Cygwin, ensure paths are in UNIX format before anything is touched
|
50
|
+
if $cygwin ; then
|
51
|
+
[ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"`
|
52
|
+
[ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --unix "$CLASSPATH"`
|
53
|
+
fi
|
54
|
+
|
55
|
+
# If a specific java binary isn't specified search for the standard 'java' binary
|
56
|
+
if [ -z "$JAVACMD" ] ; then
|
57
|
+
if [ -n "$JAVA_HOME" ] ; then
|
58
|
+
if [ -x "$JAVA_HOME/jre/sh/java" ] ; then
|
59
|
+
# IBM's JDK on AIX uses strange locations for the executables
|
60
|
+
JAVACMD="$JAVA_HOME/jre/sh/java"
|
61
|
+
else
|
62
|
+
JAVACMD="$JAVA_HOME/bin/java"
|
63
|
+
fi
|
64
|
+
else
|
65
|
+
JAVACMD=`which java`
|
66
|
+
fi
|
67
|
+
fi
|
68
|
+
|
69
|
+
if [ ! -x "$JAVACMD" ] ; then
|
70
|
+
echo "Error: JAVA_HOME is not defined correctly."
|
71
|
+
echo " We cannot execute $JAVACMD"
|
72
|
+
exit 1
|
73
|
+
fi
|
74
|
+
|
75
|
+
if [ -z "$REPO" ]
|
76
|
+
then
|
77
|
+
REPO="$BASEDIR"/lib
|
78
|
+
fi
|
79
|
+
|
80
|
+
LIBRARY_JARS=""
|
81
|
+
for jar in ${REPO}/*.jar
|
82
|
+
do
|
83
|
+
LIBRARY_JARS=${LIBRARY_JARS}:$jar
|
84
|
+
done
|
85
|
+
echo $LIBRARY_JARS
|
86
|
+
|
87
|
+
CLASSPATH=$CLASSPATH_PREFIX${LIBRARY_JARS}
|
88
|
+
|
89
|
+
EXTRA_JVM_ARGUMENTS=""
|
90
|
+
|
91
|
+
# For Cygwin, switch paths to Windows format before running java
|
92
|
+
if $cygwin; then
|
93
|
+
[ -n "$CLASSPATH" ] && CLASSPATH=`cygpath --path --windows "$CLASSPATH"`
|
94
|
+
[ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --path --windows "$JAVA_HOME"`
|
95
|
+
[ -n "$HOME" ] && HOME=`cygpath --path --windows "$HOME"`
|
96
|
+
[ -n "$BASEDIR" ] && BASEDIR=`cygpath --path --windows "$BASEDIR"`
|
97
|
+
[ -n "$REPO" ] && REPO=`cygpath --path --windows "$REPO"`
|
98
|
+
fi
|
99
|
+
|
100
|
+
exec "$JAVACMD" $JAVA_OPTS \
|
101
|
+
$EXTRA_JVM_ARGUMENTS \
|
102
|
+
-classpath "$CLASSPATH" \
|
103
|
+
-Dapp.name="neo4j-shell" \
|
104
|
+
-Dapp.pid="$$" \
|
105
|
+
-Dapp.repo="$REPO" \
|
106
|
+
-Dbasedir="$BASEDIR" \
|
107
|
+
org.neo4j.shell.StartClient \
|
108
|
+
"$@"
|
data/lib/Gemfile~
ADDED
data/lib/config2.yml~
ADDED
@@ -0,0 +1,86 @@
|
|
1
|
+
#=== Neo4j.rb configuration settings
|
2
|
+
|
3
|
+
# The location of the neo4j and lucene database
|
4
|
+
storage_path: db/ha2
|
5
|
+
|
6
|
+
|
7
|
+
# When using the Neo4j::Model you can let neo4j automatically set timestamps when updating/creating nodes.
|
8
|
+
# If set to true neo4j.rb automatically timestamps create and update operations if the model has properties named created_at/created_on or updated_at/updated_on
|
9
|
+
# (similar to ActiveRecord).
|
10
|
+
timestamps: true
|
11
|
+
|
12
|
+
# Configuration for lucene
|
13
|
+
lucene: { fulltext: { provider: lucene,
|
14
|
+
type: fulltext },
|
15
|
+
exact: { provider: lucene,
|
16
|
+
type: exact}
|
17
|
+
}
|
18
|
+
|
19
|
+
|
20
|
+
#use the clustered Neo4j GraphDatabase (org.neo4j.kernel.HighlyAvailableGraphDatabase)
|
21
|
+
ha.db: true
|
22
|
+
ha.create_empty_db: false
|
23
|
+
|
24
|
+
#ha-server2.conf
|
25
|
+
ha.machine_id: 2
|
26
|
+
ha.server: "localhost:6002"
|
27
|
+
ha.zoo_keeper_servers: "localhost:2181,localhost:2182,localhost:2183"
|
28
|
+
|
29
|
+
enable_remote_shell: "port=1332"
|
30
|
+
|
31
|
+
#===Memory mapped I/O settings===
|
32
|
+
|
33
|
+
#Each file in the Neo store can use memory mapped I/O for reading/writing.
|
34
|
+
#Best performance is achived if the full file can be memory mapped but if
|
35
|
+
#there isn't enough memory for that Neo will try and make the best use of
|
36
|
+
#the memory it gets (regions of the file that get accessed often will more
|
37
|
+
#likley be memory mapped).
|
38
|
+
|
39
|
+
#For high traversal speed it is important to have the nodestore.db and
|
40
|
+
#relationshipstore.db files.
|
41
|
+
|
42
|
+
neostore.nodestore.db.mapped_memory: 25M
|
43
|
+
neostore.relationshipstore.db.mapped_memory: 50M
|
44
|
+
neostore.propertystore.db.mapped_memory: 90M
|
45
|
+
neostore.propertystore.db.index.mapped_memory: 1M
|
46
|
+
neostore.propertystore.db.index.keys.mapped_memory: 1M
|
47
|
+
neostore.propertystore.db.strings.mapped_memory: 130M
|
48
|
+
neostore.propertystore.db.arrays.mapped_memory: 130M
|
49
|
+
|
50
|
+
|
51
|
+
#: ": ": "Cache settings: ": ": "
|
52
|
+
|
53
|
+
#use adaptive caches YES|NO. Let Neo try make best use of available heap.
|
54
|
+
use_adaptive_cache: YES
|
55
|
+
|
56
|
+
#heap usage/max heap size ratio. Neo will increase caches while ratio
|
57
|
+
#is less and decrease if greater. Default 0.77 seems to be a good over
|
58
|
+
#all ratio of heap usage to avoid GC trashing. Larger heaps may allow for
|
59
|
+
#a higher ratio while tiny heaps may need even less.
|
60
|
+
adaptive_cache_heap_ratio: 0.77
|
61
|
+
|
62
|
+
#how aggressive Neo will decrease caches once heap ratio reached
|
63
|
+
adaptive_cache_manager_decrease_ratio: 1.15
|
64
|
+
|
65
|
+
#how aggresive Neo will increase caches if ratio isn't yet reached
|
66
|
+
adaptive_cache_manager_increase_ratio: 1.1
|
67
|
+
|
68
|
+
#if no requests are made to Neo this is the amount of time in ms Neo will wait
|
69
|
+
#before it checks the heap usage and adapts the caches if needed
|
70
|
+
adaptive_cache_worker_sleep_time: 3000
|
71
|
+
|
72
|
+
#minimum size (number of nodes) of node cache. If adaptive cache is in use
|
73
|
+
#node cache will not be decreased under this value
|
74
|
+
min_node_cache_size: 0
|
75
|
+
|
76
|
+
#minimum size (number of relationships) of relationship cache. If adaptive
|
77
|
+
#cache is in use relationship cache will not be decreased under this value
|
78
|
+
min_relationship_cache_size: 0
|
79
|
+
|
80
|
+
#maximum size (number of nodes) of node cache. If adaptive cache is not in
|
81
|
+
#use the node cache will not be increased above this value
|
82
|
+
max_node_cache_size: 1500
|
83
|
+
|
84
|
+
#maximum size (number of relationship) of node cache. If adaptive cache is
|
85
|
+
#not in use the relationship cache will not be increased above this value
|
86
|
+
max_relationship_cache_size: 3500
|
@@ -0,0 +1 @@
|
|
1
|
+
tm_tx_log.1
|
Binary file
|
Binary file
|
data/lib/db/messages.log
ADDED
@@ -0,0 +1,222 @@
|
|
1
|
+
2012-01-13 09:00:49.856+0100: Creating new db @ /home/andreas/projects/neo4j/lib/db/neostore
|
2
|
+
2012-01-13 09:00:50.200+0100: Opened [/home/andreas/projects/neo4j/lib/db/nioneo_logical.log.1] clean empty log, version=0, lastTxId=1
|
3
|
+
2012-01-13 09:00:50.260+0100: Opened [/home/andreas/projects/neo4j/lib/db/index/lucene.log.1] clean empty log, version=0, lastTxId=1
|
4
|
+
2012-01-13 09:00:50.471+0100: TM new log: tm_tx_log.1
|
5
|
+
2012-01-13 09:00:50.493+0100: --- CONFIGURATION START ---
|
6
|
+
2012-01-13 09:00:50.493+0100: Graph Database: org.neo4j.kernel.EmbeddedGraphDatabase StoreId[time:1326441649871, id:-3425418143998465987, store version: 13561656364791302]
|
7
|
+
2012-01-13 09:00:50.493+0100: Physical mem: 3959MB, Heap size: 444MB
|
8
|
+
2012-01-13 09:00:50.494+0100: Kernel version: Neo4j - Graph Database Kernel 1.6.M02
|
9
|
+
2012-01-13 09:00:50.494+0100: Neo4j component versions:
|
10
|
+
2012-01-13 09:00:50.495+0100: Neo4j - Graph Database Kernel 1.6.M02
|
11
|
+
2012-01-13 09:00:50.495+0100: Store versions:
|
12
|
+
2012-01-13 09:00:50.495+0100: NeoStore v0.A.0
|
13
|
+
2012-01-13 09:00:50.495+0100: NodeStore v0.A.0
|
14
|
+
2012-01-13 09:00:50.495+0100: RelationshipStore v0.A.0
|
15
|
+
2012-01-13 09:00:50.495+0100: RelationshipTypeStore v0.A.0
|
16
|
+
2012-01-13 09:00:50.495+0100: PropertyStore v0.A.0
|
17
|
+
2012-01-13 09:00:50.495+0100: PropertyIndexStore v0.A.0
|
18
|
+
2012-01-13 09:00:50.495+0100: StringPropertyStore v0.A.0
|
19
|
+
2012-01-13 09:00:50.495+0100: ArrayPropertyStore v0.A.0
|
20
|
+
2012-01-13 09:00:50.502+0100: Process id: 17887@andreas-dell
|
21
|
+
2012-01-13 09:00:50.502+0100: Operating System: Linux; version: 3.0.0-14-generic; arch: amd64; cpus: 2
|
22
|
+
2012-01-13 09:00:50.503+0100: Max number of file descriptors: 4096
|
23
|
+
2012-01-13 09:00:50.503+0100: Number of open file descriptors: 50
|
24
|
+
2012-01-13 09:00:50.506+0100: Total Physical memory: 3.87 GB
|
25
|
+
2012-01-13 09:00:50.506+0100: Free Physical memory: 1.31 GB
|
26
|
+
2012-01-13 09:00:50.506+0100: Committed virtual memory: 866.66 MB
|
27
|
+
2012-01-13 09:00:50.506+0100: Total swap space: 4.88 GB
|
28
|
+
2012-01-13 09:00:50.507+0100: Free swap space: 3.69 GB
|
29
|
+
2012-01-13 09:00:50.507+0100: Byte order: LITTLE_ENDIAN
|
30
|
+
2012-01-13 09:00:50.507+0100: VM Name: Java HotSpot(TM) 64-Bit Server VM
|
31
|
+
2012-01-13 09:00:50.507+0100: VM Vendor: Sun Microsystems Inc.
|
32
|
+
2012-01-13 09:00:50.507+0100: VM Version: 20.1-b02
|
33
|
+
2012-01-13 09:00:50.509+0100: JIT compiler: HotSpot 64-Bit Tiered Compilers
|
34
|
+
2012-01-13 09:00:50.510+0100: Class Path:
|
35
|
+
2012-01-13 09:00:50.511+0100: [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.5/gems/neo4j-community-1.6.0.alpha.4-java/lib/neo4j-community/jars/neo4j-cypher-1.6.M02.jar
|
36
|
+
2012-01-13 09:00:50.511+0100: [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.5/gems/neo4j-community-1.6.0.alpha.4-java/lib/neo4j-community/jars/neo4j-graph-algo-1.6.M02.jar
|
37
|
+
2012-01-13 09:00:50.511+0100: [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.5/gems/neo4j-community-1.6.0.alpha.4-java/lib/neo4j-community/jars/neo4j-kernel-1.6.M02.jar
|
38
|
+
2012-01-13 09:00:50.511+0100: [loader.2] file:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/ext/localedata.jar
|
39
|
+
2012-01-13 09:00:50.511+0100: [bootstrap] /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/modules/jdk.boot.jar
|
40
|
+
2012-01-13 09:00:50.511+0100: [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.5/gems/neo4j-community-1.6.0.alpha.4-java/lib/neo4j-community/jars/neo4j-lucene-index-1.6.M02.jar
|
41
|
+
2012-01-13 09:00:50.511+0100: [bootstrap] /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/rt.jar
|
42
|
+
2012-01-13 09:00:50.511+0100: [loader.2] file:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/ext/dnsns.jar
|
43
|
+
2012-01-13 09:00:50.511+0100: [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.5/gems/neo4j-community-1.6.0.alpha.4-java/lib/neo4j-community/jars/neo4j-community-1.6.M02.jar
|
44
|
+
2012-01-13 09:00:50.511+0100: [bootstrap] /home/andreas/.rvm/rubies/jruby-1.6.5/lib/jruby.jar
|
45
|
+
2012-01-13 09:00:50.511+0100: [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.5/gems/neo4j-community-1.6.0.alpha.4-java/lib/neo4j-community/jars/neo4j-shell-1.6.M02.jar
|
46
|
+
2012-01-13 09:00:50.511+0100: [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.5/gems/neo4j-community-1.6.0.alpha.4-java/lib/neo4j-community/jars/scala-library-2.9.0-1.jar
|
47
|
+
2012-01-13 09:00:50.511+0100: [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.5/gems/neo4j-community-1.6.0.alpha.4-java/lib/neo4j-community/jars/lucene-core-3.1.0.jar
|
48
|
+
2012-01-13 09:00:50.511+0100: [bootstrap] /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/charsets.jar
|
49
|
+
2012-01-13 09:00:50.511+0100: [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.5/gems/neo4j-community-1.6.0.alpha.4-java/lib/neo4j-community/jars/neo4j-jmx-1.6.M02.jar
|
50
|
+
2012-01-13 09:00:50.511+0100: [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.5/gems/neo4j-community-1.6.0.alpha.4-java/lib/neo4j-community/jars/org.apache.servicemix.bundles.jline-0.9.94_1.jar
|
51
|
+
2012-01-13 09:00:50.511+0100: [loader.2] file:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/ext/sunjce_provider.jar
|
52
|
+
2012-01-13 09:00:50.511+0100: [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.5/gems/neo4j-community-1.6.0.alpha.4-java/lib/neo4j-community/jars/neo4j-udc-1.6.M02.jar
|
53
|
+
2012-01-13 09:00:50.511+0100: [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.5/gems/json-1.6.4-java/lib/json/ext/generator.jar
|
54
|
+
2012-01-13 09:00:50.511+0100: [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.5/gems/neo4j-community-1.6.0.alpha.4-java/lib/neo4j-community/jars/server-api-1.6.M02.jar
|
55
|
+
2012-01-13 09:00:50.511+0100: [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.5/gems/json-1.6.4-java/lib/json/ext/parser.jar
|
56
|
+
2012-01-13 09:00:50.511+0100: [bootstrap] /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/jsse.jar
|
57
|
+
2012-01-13 09:00:50.511+0100: [bootstrap] /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/jce.jar
|
58
|
+
2012-01-13 09:00:50.511+0100: [bootstrap] /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/resources.jar
|
59
|
+
2012-01-13 09:00:50.511+0100: [bootstrap] /usr/lib/jvm/java-6-sun-1.6.0.26/jre/classes
|
60
|
+
2012-01-13 09:00:50.511+0100: [bootstrap] /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/sunrsasign.jar
|
61
|
+
2012-01-13 09:00:50.511+0100: [loader.1] file:/home/andreas/projects/neo4j/lib/
|
62
|
+
2012-01-13 09:00:50.511+0100: [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.5/gems/neo4j-community-1.6.0.alpha.4-java/lib/neo4j-community/jars/geronimo-jta_1.1_spec-1.1.1.jar
|
63
|
+
2012-01-13 09:00:50.511+0100: [loader.0] file:/home/andreas/.rvm/gems/jruby-1.6.5/gems/neo4j-community-1.6.0.alpha.4-java/lib/neo4j-community/jars/neo4j-graph-matching-1.6.M02.jar
|
64
|
+
2012-01-13 09:00:50.511+0100: [loader.2] file:/usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/ext/sunpkcs11.jar
|
65
|
+
2012-01-13 09:00:50.511+0100: Library Path:
|
66
|
+
2012-01-13 09:00:50.512+0100: /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64/server
|
67
|
+
2012-01-13 09:00:50.512+0100: /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64
|
68
|
+
2012-01-13 09:00:50.512+0100: /usr/lib/jvm/java-6-sun-1.6.0.26/lib/amd64
|
69
|
+
2012-01-13 09:00:50.512+0100: /usr/java/packages/lib/amd64
|
70
|
+
2012-01-13 09:00:50.512+0100: /usr/lib64
|
71
|
+
2012-01-13 09:00:50.512+0100: /lib64
|
72
|
+
2012-01-13 09:00:50.512+0100: /lib
|
73
|
+
2012-01-13 09:00:50.512+0100: /usr/lib
|
74
|
+
2012-01-13 09:00:50.515+0100: Garbage Collector: PS Scavenge: [PS Eden Space, PS Survivor Space]
|
75
|
+
2012-01-13 09:00:50.515+0100: Garbage Collector: PS MarkSweep: [PS Eden Space, PS Survivor Space, PS Old Gen, PS Perm Gen]
|
76
|
+
2012-01-13 09:00:50.516+0100: Memory Pool: Code Cache (Non-heap memory): committed=4.13 MB, used=3.89 MB, max=48.00 MB, threshold=0.00 B
|
77
|
+
2012-01-13 09:00:50.516+0100: Memory Pool: PS Eden Space (Heap memory): committed=152.88 MB, used=92.51 MB, max=158.06 MB, threshold=?
|
78
|
+
2012-01-13 09:00:50.516+0100: Memory Pool: PS Survivor Space (Heap memory): committed=3.81 MB, used=2.09 MB, max=3.81 MB, threshold=?
|
79
|
+
2012-01-13 09:00:50.516+0100: Memory Pool: PS Old Gen (Heap memory): committed=41.25 MB, used=12.60 MB, max=333.38 MB, threshold=0.00 B
|
80
|
+
2012-01-13 09:00:50.516+0100: Memory Pool: PS Perm Gen (Non-heap memory): committed=29.38 MB, used=29.28 MB, max=82.00 MB, threshold=0.00 B
|
81
|
+
2012-01-13 09:00:50.517+0100: VM Arguments: [-Djruby.memory.max=500m, -Djruby.stack.max=2048k, -Xmx500m, -Xss2048k, -Djffi.boot.library.path=/home/andreas/.rvm/rubies/jruby-1.6.5/lib/native/i386-Linux:/home/andreas/.rvm/rubies/jruby-1.6.5/lib/native/ppc-Linux:/home/andreas/.rvm/rubies/jruby-1.6.5/lib/native/x86_64-Linux, -Xbootclasspath/a:/home/andreas/.rvm/rubies/jruby-1.6.5/lib/jruby.jar, -Djruby.home=/home/andreas/.rvm/rubies/jruby-1.6.5, -Djruby.lib=/home/andreas/.rvm/rubies/jruby-1.6.5/lib, -Djruby.script=jruby, -Djruby.shell=/bin/sh]
|
82
|
+
2012-01-13 09:00:50.517+0100: System properties:
|
83
|
+
2012-01-13 09:00:50.517+0100: jruby.home = /home/andreas/.rvm/rubies/jruby-1.6.5
|
84
|
+
2012-01-13 09:00:50.517+0100: sun.boot.library.path = /usr/lib/jvm/java-6-sun-1.6.0.26/jre/lib/amd64
|
85
|
+
2012-01-13 09:00:50.517+0100: path.separator = :
|
86
|
+
2012-01-13 09:00:50.517+0100: file.encoding.pkg = sun.io
|
87
|
+
2012-01-13 09:00:50.517+0100: sun.java.launcher = SUN_STANDARD
|
88
|
+
2012-01-13 09:00:50.517+0100: user.country = US
|
89
|
+
2012-01-13 09:00:50.517+0100: sun.os.patch.level = unknown
|
90
|
+
2012-01-13 09:00:50.517+0100: user.dir = /home/andreas/projects/neo4j/lib
|
91
|
+
2012-01-13 09:00:50.517+0100: sun.jnu.encoding = UTF-8
|
92
|
+
2012-01-13 09:00:50.517+0100: jruby.memory.max = 500m
|
93
|
+
2012-01-13 09:00:50.517+0100: sun.management.compiler = HotSpot 64-Bit Tiered Compilers
|
94
|
+
2012-01-13 09:00:50.517+0100: jffi.boot.library.path = /home/andreas/.rvm/rubies/jruby-1.6.5/lib/native/i386-Linux:/home/andreas/.rvm/rubies/jruby-1.6.5/lib/native/ppc-Linux:/home/andreas/.rvm/rubies/jruby-1.6.5/lib/native/x86_64-Linux
|
95
|
+
2012-01-13 09:00:50.517+0100: user.home = /home/andreas
|
96
|
+
2012-01-13 09:00:50.517+0100: user.timezone = Europe/Stockholm
|
97
|
+
2012-01-13 09:00:50.517+0100: file.encoding = UTF-8
|
98
|
+
2012-01-13 09:00:50.517+0100: jruby.script = jruby
|
99
|
+
2012-01-13 09:00:50.517+0100: jruby.stack.max = 2048k
|
100
|
+
2012-01-13 09:00:50.517+0100: user.name = andreas
|
101
|
+
2012-01-13 09:00:50.517+0100: jruby.shell = /bin/sh
|
102
|
+
2012-01-13 09:00:50.517+0100: sun.java.command = org.jruby.Main /home/andreas/.rvm/rubies/jruby-1.6.5/bin/irb
|
103
|
+
2012-01-13 09:00:50.517+0100: sun.arch.data.model = 64
|
104
|
+
2012-01-13 09:00:50.517+0100: user.language = en
|
105
|
+
2012-01-13 09:00:50.518+0100: file.separator = /
|
106
|
+
2012-01-13 09:00:50.518+0100: sun.io.unicode.encoding = UnicodeLittle
|
107
|
+
2012-01-13 09:00:50.518+0100: sun.cpu.endian = little
|
108
|
+
2012-01-13 09:00:50.518+0100: jruby.lib = /home/andreas/.rvm/rubies/jruby-1.6.5/lib
|
109
|
+
2012-01-13 09:00:50.518+0100: sun.desktop = gnome
|
110
|
+
2012-01-13 09:00:50.518+0100: sun.cpu.isalist =
|
111
|
+
2012-01-13 09:00:50.518+0100: Neo4j Kernel properties:
|
112
|
+
2012-01-13 09:00:50.518+0100: store_dir=/home/andreas/projects/neo4j/lib/db
|
113
|
+
2012-01-13 09:00:50.518+0100: logical_log=/home/andreas/projects/neo4j/lib/db/nioneo_logical.log
|
114
|
+
2012-01-13 09:00:50.518+0100: online_backup_enabled=NO
|
115
|
+
2012-01-13 09:00:50.518+0100: ha.machine_id=2
|
116
|
+
2012-01-13 09:00:50.518+0100: enable_rules=YES
|
117
|
+
2012-01-13 09:00:50.518+0100: min_node_cache_size=0
|
118
|
+
2012-01-13 09:00:50.518+0100: neostore.relationshipstore.db.mapped_memory=50M
|
119
|
+
2012-01-13 09:00:50.518+0100: node_auto_indexing=false
|
120
|
+
2012-01-13 09:00:50.518+0100: neostore.nodestore.db.mapped_memory=25M
|
121
|
+
2012-01-13 09:00:50.518+0100: min_relationship_cache_size=0
|
122
|
+
2012-01-13 09:00:50.518+0100: ha.db=NO
|
123
|
+
2012-01-13 09:00:50.518+0100: max_relationship_cache_size=3500
|
124
|
+
2012-01-13 09:00:50.518+0100: use_adaptive_cache=YES
|
125
|
+
2012-01-13 09:00:50.518+0100: adaptive_cache_heap_ratio=0.77
|
126
|
+
2012-01-13 09:00:50.518+0100: identity_map=NO
|
127
|
+
2012-01-13 09:00:50.518+0100: adaptive_cache_manager_decrease_ratio=1.15
|
128
|
+
2012-01-13 09:00:50.518+0100: timestamps=YES
|
129
|
+
2012-01-13 09:00:50.518+0100: use_memory_mapped_buffers=true
|
130
|
+
2012-01-13 09:00:50.518+0100: rebuild_idgenerators_fast=true
|
131
|
+
2012-01-13 09:00:50.518+0100: ha.zoo_keeper_servers=localhost:2181,localhost:2182,localhost:2183
|
132
|
+
2012-01-13 09:00:50.518+0100: neostore.propertystore.db.index.keys.mapped_memory=1M
|
133
|
+
2012-01-13 09:00:50.518+0100: max_node_cache_size=1500
|
134
|
+
2012-01-13 09:00:50.518+0100: neostore.propertystore.db.strings.mapped_memory=130M
|
135
|
+
2012-01-13 09:00:50.519+0100: neostore.propertystore.db.arrays.mapped_memory=130M
|
136
|
+
2012-01-13 09:00:50.519+0100: neo_store=/home/andreas/projects/neo4j/lib/db/neostore
|
137
|
+
2012-01-13 09:00:50.519+0100: adaptive_cache_worker_sleep_time=3000
|
138
|
+
2012-01-13 09:00:50.519+0100: neostore.propertystore.db.index.mapped_memory=1M
|
139
|
+
2012-01-13 09:00:50.519+0100: create=true
|
140
|
+
2012-01-13 09:00:50.519+0100: adaptive_cache_manager_increase_ratio=1.1
|
141
|
+
2012-01-13 09:00:50.519+0100: enable_remote_shell=port=9332
|
142
|
+
2012-01-13 09:00:50.519+0100: neostore.propertystore.db.mapped_memory=90M
|
143
|
+
2012-01-13 09:00:50.519+0100: relationship_auto_indexing=false
|
144
|
+
2012-01-13 09:00:50.519+0100: storage_path=db
|
145
|
+
2012-01-13 09:00:50.519+0100: ha.server=localhost:6002
|
146
|
+
2012-01-13 09:00:50.519+0100: migration_thread=NO
|
147
|
+
2012-01-13 09:00:50.519+0100: Storage files:
|
148
|
+
2012-01-13 09:00:50.519+0100: neostore.relationshiptypestore.db.names: 38.00 B
|
149
|
+
2012-01-13 09:00:50.519+0100: neostore.id: 9.00 B
|
150
|
+
2012-01-13 09:00:50.519+0100: neostore.relationshiptypestore.db.names.id: 9.00 B
|
151
|
+
2012-01-13 09:00:50.519+0100: neostore.nodestore.db.id: 9.00 B
|
152
|
+
2012-01-13 09:00:50.519+0100: nioneo_logical.log.1: 16.00 B
|
153
|
+
2012-01-13 09:00:50.520+0100: neostore.propertystore.db.index: 0.00 B
|
154
|
+
2012-01-13 09:00:50.520+0100: neostore.propertystore.db.strings.id: 9.00 B
|
155
|
+
2012-01-13 09:00:50.520+0100: nioneo_logical.log.active: 4.00 B
|
156
|
+
2012-01-13 09:00:50.520+0100: neostore.propertystore.db.strings: 128.00 B
|
157
|
+
2012-01-13 09:00:50.520+0100: neostore.relationshiptypestore.db.id: 9.00 B
|
158
|
+
2012-01-13 09:00:50.520+0100: neostore: 54.00 B
|
159
|
+
2012-01-13 09:00:50.520+0100: neostore.nodestore.db: 9.00 B
|
160
|
+
2012-01-13 09:00:50.520+0100: neostore.propertystore.db.index.keys.id: 9.00 B
|
161
|
+
2012-01-13 09:00:50.520+0100: neostore.propertystore.db.arrays.id: 9.00 B
|
162
|
+
2012-01-13 09:00:50.520+0100: messages.log: 9.38 kB
|
163
|
+
2012-01-13 09:00:50.520+0100: neostore.relationshipstore.db.id: 9.00 B
|
164
|
+
2012-01-13 09:00:50.520+0100: neostore.propertystore.db.arrays: 128.00 B
|
165
|
+
2012-01-13 09:00:50.520+0100: neostore.relationshipstore.db: 0.00 B
|
166
|
+
2012-01-13 09:00:50.520+0100: neostore.propertystore.db.index.id: 9.00 B
|
167
|
+
2012-01-13 09:00:50.520+0100: neostore.propertystore.db.id: 9.00 B
|
168
|
+
2012-01-13 09:00:50.520+0100: neostore.propertystore.db: 0.00 B
|
169
|
+
2012-01-13 09:00:50.520+0100: index:
|
170
|
+
2012-01-13 09:00:50.521+0100: lucene-store.db: 32.00 B
|
171
|
+
2012-01-13 09:00:50.521+0100: lucene.log.1: 16.00 B
|
172
|
+
2012-01-13 09:00:50.521+0100: lucene.log.active: 4.00 B
|
173
|
+
2012-01-13 09:00:50.521+0100: - Total: 52.00 B
|
174
|
+
2012-01-13 09:00:50.521+0100: tm_tx_log.1: 0.00 B
|
175
|
+
2012-01-13 09:00:50.521+0100: neostore.relationshiptypestore.db: 0.00 B
|
176
|
+
2012-01-13 09:00:50.521+0100: lock: 0.00 B
|
177
|
+
2012-01-13 09:00:50.521+0100: active_tx_log: 11.00 B
|
178
|
+
2012-01-13 09:00:50.521+0100: neostore.propertystore.db.index.keys: 38.00 B
|
179
|
+
2012-01-13 09:00:50.521+0100: Id usage:
|
180
|
+
2012-01-13 09:00:50.521+0100: NodeStore: used=1 high=0
|
181
|
+
2012-01-13 09:00:50.522+0100: RelationshipStore: used=0 high=-1
|
182
|
+
2012-01-13 09:00:50.522+0100: RelationshipTypeStore: used=0 high=-1
|
183
|
+
2012-01-13 09:00:50.522+0100: PropertyStore: used=0 high=-1
|
184
|
+
2012-01-13 09:00:50.522+0100: PropertyIndexStore: used=0 high=-1
|
185
|
+
2012-01-13 09:00:50.522+0100: StringPropertyStore: used=1 high=0
|
186
|
+
2012-01-13 09:00:50.522+0100: ArrayPropertyStore: used=1 high=0
|
187
|
+
2012-01-13 09:00:50.525+0100: Schedulers: none
|
188
|
+
none
|
189
|
+
none
|
190
|
+
none
|
191
|
+
none
|
192
|
+
none
|
193
|
+
none
|
194
|
+
none
|
195
|
+
none
|
196
|
+
none
|
197
|
+
none
|
198
|
+
none
|
199
|
+
none
|
200
|
+
none
|
201
|
+
none
|
202
|
+
none
|
203
|
+
none
|
204
|
+
none
|
205
|
+
none
|
206
|
+
none
|
207
|
+
none
|
208
|
+
none
|
209
|
+
none
|
210
|
+
none
|
211
|
+
noop deadline [cfq]
|
212
|
+
noop deadline [cfq]
|
213
|
+
|
214
|
+
2012-01-13 09:00:50.525+0100: --- CONFIGURATION END ---
|
215
|
+
2012-01-13 09:00:50.827+0100: Extension org.neo4j.kernel.KernelExtension[shell] loaded ok
|
216
|
+
2012-01-13 09:00:50.901+0100: Extension org.neo4j.kernel.KernelExtension[kernel jmx] loaded ok
|
217
|
+
2012-01-13 09:00:50.903+0100: Extension org.neo4j.kernel.KernelExtension[kernel udc] loaded ok
|
218
|
+
2012-01-13 09:43:49.270+0100: Closed log /home/andreas/projects/neo4j/lib/db/nioneo_logical.log
|
219
|
+
2012-01-13 09:43:49.362+0100: NeoStore closed
|
220
|
+
2012-01-13 09:43:49.367+0100: Closed log /home/andreas/projects/neo4j/lib/db/index/lucene.log
|
221
|
+
2012-01-13 09:43:49.367+0100: NeoStore closed
|
222
|
+
2012-01-13 09:43:49.374+0100: TM shutting down
|
data/lib/db/neostore
ADDED
Binary file
|
data/lib/db/neostore.id
ADDED
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
RelationshipStore v0.A.0
|
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
RelationshipTypeStore v0.A.0
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/lib/db/tm_tx_log.1
ADDED
Binary file
|
data/lib/neo4j/rule/rule.rb
CHANGED
@@ -67,7 +67,10 @@ module Neo4j
|
|
67
67
|
# Class Methods
|
68
68
|
# ------------------------------------------------------------------------------------------------------------------
|
69
69
|
|
70
|
+
@rule_nodes = {}
|
71
|
+
|
70
72
|
class << self
|
73
|
+
|
71
74
|
def add(clazz, rule_name, props, &block)
|
72
75
|
rule_node = rule_node_for(clazz.to_s)
|
73
76
|
rule_node.remove_rule(rule_name) # remove any previously inherited rules
|
@@ -87,7 +90,6 @@ module Neo4j
|
|
87
90
|
|
88
91
|
def rule_node_for(clazz)
|
89
92
|
return nil if clazz.nil?
|
90
|
-
@rule_nodes ||= {}
|
91
93
|
@rule_nodes[clazz.to_s] ||= RuleNode.new(clazz)
|
92
94
|
end
|
93
95
|
|
data/lib/neo4j/version.rb
CHANGED
data/lib/perf.rb~
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
require "rubygems"
|
2
|
+
require "bundler/setup"
|
3
|
+
require 'fileutils'
|
4
|
+
require 'neo4j'
|
5
|
+
|
6
|
+
#FileUtils.rm_rf Neo4j::Config[:storage_path]
|
7
|
+
|
8
|
+
|
9
|
+
class FooNode < Neo4j::Model
|
10
|
+
property :user_id
|
11
|
+
index :user_id
|
12
|
+
has_n(:contacts)
|
13
|
+
def to_s
|
14
|
+
"FooNode #{user_id}"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
node1 = FooNode.create(:user_id => 1)
|
19
|
+
|
20
|
+
for x in 1..5 do
|
21
|
+
for node_id in 2..2700
|
22
|
+
# node = FooNode.create(:user_id => node_id)
|
23
|
+
# node.contacts << node1
|
24
|
+
# node.save!
|
25
|
+
|
26
|
+
found = FooNode.find_by_user_id(node_id)
|
27
|
+
puts "Found #{found}"
|
28
|
+
# Neo4j::Transaction.run do
|
29
|
+
# found.del
|
30
|
+
# end
|
31
|
+
Neo4j::Rails::Model.close_lucene_connections
|
32
|
+
# puts "node_id=#{node_id} #{node.contacts.include?(node1)}" #if (node_id % 50) == 2
|
33
|
+
end
|
34
|
+
end
|
35
|
+
puts "FINISHED"
|
36
|
+
Neo4j.shutdown
|
data/lib/test.rb~
ADDED
metadata
CHANGED
@@ -1,209 +1,245 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: neo4j
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.alpha.3
|
3
|
+
version: !ruby/object:Gem::Version
|
5
4
|
prerelease: 6
|
5
|
+
version: 2.0.0.alpha.4
|
6
6
|
platform: java
|
7
|
-
authors:
|
8
|
-
- Andreas Ronge
|
7
|
+
authors:
|
8
|
+
- Andreas Ronge
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
12
|
+
|
13
|
+
date: 2012-01-17 00:00:00 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: orm_adapter
|
17
|
+
prerelease: false
|
18
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
19
|
+
none: false
|
20
|
+
requirements:
|
21
|
+
- - ">="
|
22
|
+
- !ruby/object:Gem::Version
|
23
|
+
version: 0.0.3
|
24
|
+
type: :runtime
|
25
|
+
version_requirements: *id001
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: activemodel
|
28
|
+
prerelease: false
|
29
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
30
|
+
none: false
|
31
|
+
requirements:
|
32
|
+
- - ">="
|
33
|
+
- !ruby/object:Gem::Version
|
34
|
+
version: 3.0.0
|
35
|
+
type: :runtime
|
36
|
+
version_requirements: *id002
|
37
|
+
- !ruby/object:Gem::Dependency
|
38
|
+
name: railties
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: 3.0.0
|
46
|
+
type: :runtime
|
47
|
+
version_requirements: *id003
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: neo4j-community
|
50
|
+
prerelease: false
|
51
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
53
|
+
requirements:
|
54
|
+
- - "="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 1.6.0.alpha.6
|
57
|
+
type: :runtime
|
58
|
+
version_requirements: *id004
|
59
|
+
description: |
|
60
|
+
You can think of Neo4j as a high-performance graph engine with all the features of a mature and robust database.
|
61
|
+
The programmer works with an object-oriented, flexible network structure rather than with strict and static tables
|
62
|
+
yet enjoys all the benefits of a fully transactional, enterprise-strength database.
|
63
|
+
It comes included with the Apache Lucene document database.
|
64
|
+
|
63
65
|
email: andreas.ronge@gmail.com
|
64
|
-
executables:
|
65
|
-
- neo4j-shell
|
66
|
-
- neo4j-jars
|
67
|
-
- neo4j-upgrade
|
66
|
+
executables:
|
67
|
+
- neo4j-shell
|
68
|
+
- neo4j-jars
|
69
|
+
- neo4j-upgrade
|
68
70
|
extensions: []
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
- bin/neo4j-
|
74
|
-
- bin/neo4j-
|
75
|
-
-
|
76
|
-
-
|
77
|
-
- lib/
|
78
|
-
- lib/
|
79
|
-
- lib/
|
80
|
-
- lib/
|
81
|
-
- lib/
|
82
|
-
- lib/neo4j
|
83
|
-
- lib/neo4j/
|
84
|
-
- lib/neo4j/
|
85
|
-
- lib/
|
86
|
-
- lib/neo4j/
|
87
|
-
- lib/neo4j/
|
88
|
-
- lib/neo4j/
|
89
|
-
- lib/neo4j/
|
90
|
-
- lib/neo4j/
|
91
|
-
- lib/neo4j/
|
92
|
-
- lib/neo4j/
|
93
|
-
- lib/neo4j/
|
94
|
-
- lib/neo4j/
|
95
|
-
- lib/neo4j/
|
96
|
-
- lib/neo4j/
|
97
|
-
- lib/neo4j/
|
98
|
-
- lib/neo4j/
|
99
|
-
- lib/neo4j/
|
100
|
-
- lib/neo4j/
|
101
|
-
- lib/neo4j/
|
102
|
-
- lib/neo4j/
|
103
|
-
- lib/neo4j/
|
104
|
-
- lib/neo4j/
|
105
|
-
- lib/neo4j/
|
106
|
-
- lib/neo4j/
|
107
|
-
- lib/neo4j/
|
108
|
-
- lib/neo4j/
|
109
|
-
- lib/neo4j/
|
110
|
-
- lib/neo4j/
|
111
|
-
- lib/neo4j/
|
112
|
-
- lib/neo4j/
|
113
|
-
- lib/neo4j/
|
114
|
-
- lib/neo4j/
|
115
|
-
- lib/neo4j/
|
116
|
-
- lib/neo4j/
|
117
|
-
- lib/neo4j/
|
118
|
-
- lib/neo4j/
|
119
|
-
- lib/neo4j/
|
120
|
-
- lib/neo4j/
|
121
|
-
- lib/neo4j/
|
122
|
-
- lib/neo4j/
|
123
|
-
- lib/neo4j/
|
124
|
-
- lib/neo4j/
|
125
|
-
- lib/neo4j/rails/
|
126
|
-
- lib/neo4j/rails/
|
127
|
-
- lib/neo4j/rails/
|
128
|
-
- lib/neo4j/rails/
|
129
|
-
- lib/neo4j/rails/
|
130
|
-
- lib/neo4j/rails/
|
131
|
-
- lib/neo4j/rails/
|
132
|
-
- lib/neo4j/rails/
|
133
|
-
- lib/neo4j/rails/
|
134
|
-
- lib/neo4j/rails/
|
135
|
-
- lib/neo4j/rails/
|
136
|
-
- lib/neo4j/rails/
|
137
|
-
- lib/neo4j/rails/
|
138
|
-
- lib/neo4j/rails/
|
139
|
-
- lib/neo4j/rails/
|
140
|
-
- lib/neo4j/rails/
|
141
|
-
- lib/neo4j/rails/
|
142
|
-
- lib/neo4j/rails/
|
143
|
-
- lib/neo4j/rails/
|
144
|
-
- lib/neo4j/rails/
|
145
|
-
- lib/neo4j/
|
146
|
-
- lib/neo4j/
|
147
|
-
- lib/neo4j/
|
148
|
-
- lib/neo4j/
|
149
|
-
- lib/neo4j/
|
150
|
-
- lib/neo4j/
|
151
|
-
- lib/neo4j/
|
152
|
-
- lib/neo4j/
|
153
|
-
- lib/neo4j/
|
154
|
-
- lib/neo4j/
|
155
|
-
- lib/neo4j/
|
156
|
-
- lib/neo4j/
|
157
|
-
- lib/neo4j/
|
158
|
-
- lib/neo4j/
|
159
|
-
- lib/neo4j/
|
160
|
-
- lib/neo4j/
|
161
|
-
- lib/neo4j/
|
162
|
-
- lib/neo4j/
|
163
|
-
- lib/neo4j/
|
164
|
-
- lib/neo4j/
|
165
|
-
- lib/neo4j/
|
166
|
-
- lib/neo4j/
|
167
|
-
- lib/neo4j/
|
168
|
-
- lib/neo4j.rb
|
169
|
-
- lib/
|
170
|
-
-
|
171
|
-
-
|
172
|
-
-
|
173
|
-
-
|
174
|
-
-
|
175
|
-
-
|
176
|
-
-
|
71
|
+
|
72
|
+
extra_rdoc_files:
|
73
|
+
- README.rdoc
|
74
|
+
files:
|
75
|
+
- bin/neo4j-jars
|
76
|
+
- bin/neo4j-shell
|
77
|
+
- bin/neo4j-shell~
|
78
|
+
- bin/neo4j-upgrade
|
79
|
+
- lib/neo4j.rb
|
80
|
+
- lib/Gemfile~
|
81
|
+
- lib/test.rb~
|
82
|
+
- lib/config2.yml~
|
83
|
+
- lib/perf.rb~
|
84
|
+
- lib/generators/neo4j.rb
|
85
|
+
- lib/generators/neo4j/model/model_generator.rb
|
86
|
+
- lib/generators/neo4j/model/templates/model.erb
|
87
|
+
- lib/orm_adapter/adapters/neo4j.rb
|
88
|
+
- lib/neo4j/identity_map.rb
|
89
|
+
- lib/neo4j/event_handler.rb
|
90
|
+
- lib/neo4j/model.rb
|
91
|
+
- lib/neo4j/paginated.rb
|
92
|
+
- lib/neo4j/config.rb
|
93
|
+
- lib/neo4j/transaction.rb
|
94
|
+
- lib/neo4j/neo4j.rb
|
95
|
+
- lib/neo4j/node.rb
|
96
|
+
- lib/neo4j/load.rb
|
97
|
+
- lib/neo4j/database.rb
|
98
|
+
- lib/neo4j/relationship_set.rb
|
99
|
+
- lib/neo4j/version.rb
|
100
|
+
- lib/neo4j/equal.rb
|
101
|
+
- lib/neo4j/relationship.rb
|
102
|
+
- lib/neo4j/to_java.rb
|
103
|
+
- lib/neo4j/algo/algo.rb
|
104
|
+
- lib/neo4j/has_list/mapping.rb
|
105
|
+
- lib/neo4j/has_list/class_methods.rb
|
106
|
+
- lib/neo4j/has_list/has_list.rb
|
107
|
+
- lib/neo4j/property/property.rb
|
108
|
+
- lib/neo4j/property/class_methods.rb
|
109
|
+
- lib/neo4j/traversal/rel_expander.rb
|
110
|
+
- lib/neo4j/traversal/filter_predicate.rb
|
111
|
+
- lib/neo4j/traversal/prune_evaluator.rb
|
112
|
+
- lib/neo4j/traversal/traversal.rb
|
113
|
+
- lib/neo4j/traversal/traverser.rb
|
114
|
+
- lib/neo4j/relationship_mixin/relationship_mixin.rb
|
115
|
+
- lib/neo4j/relationship_mixin/class_methods.rb
|
116
|
+
- lib/neo4j/type_converters/type_converters.rb
|
117
|
+
- lib/neo4j/core_ext/class/inheritable_attributes.rb
|
118
|
+
- lib/neo4j/migrations/migrations.rb
|
119
|
+
- lib/neo4j/migrations/lazy_node_mixin.rb
|
120
|
+
- lib/neo4j/migrations/extensions.rb
|
121
|
+
- lib/neo4j/migrations/node_mixin.rb
|
122
|
+
- lib/neo4j/migrations/migration.rb
|
123
|
+
- lib/neo4j/migrations/class_methods.rb
|
124
|
+
- lib/neo4j/migrations/ref_node_wrapper.rb
|
125
|
+
- lib/neo4j/rels/traverser.rb
|
126
|
+
- lib/neo4j/rels/rels.rb
|
127
|
+
- lib/neo4j/rails/attributes.rb
|
128
|
+
- lib/neo4j/rails/rack_middleware.rb
|
129
|
+
- lib/neo4j/rails/model.rb
|
130
|
+
- lib/neo4j/rails/validations.rb
|
131
|
+
- lib/neo4j/rails/persistence.rb
|
132
|
+
- lib/neo4j/rails/serialization.rb
|
133
|
+
- lib/neo4j/rails/railtie.rb
|
134
|
+
- lib/neo4j/rails/rails.rb
|
135
|
+
- lib/neo4j/rails/observer.rb
|
136
|
+
- lib/neo4j/rails/transaction.rb
|
137
|
+
- lib/neo4j/rails/timestamps.rb
|
138
|
+
- lib/neo4j/rails/callbacks.rb
|
139
|
+
- lib/neo4j/rails/tx_methods.rb
|
140
|
+
- lib/neo4j/rails/accept_id.rb
|
141
|
+
- lib/neo4j/rails/rel_persistence.rb
|
142
|
+
- lib/neo4j/rails/finders.rb
|
143
|
+
- lib/neo4j/rails/relationship.rb
|
144
|
+
- lib/neo4j/rails/compositions.rb
|
145
|
+
- lib/neo4j/rails/relationships/rels_dsl.rb
|
146
|
+
- lib/neo4j/rails/relationships/node_dsl.rb
|
147
|
+
- lib/neo4j/rails/relationships/relationships.rb
|
148
|
+
- lib/neo4j/rails/relationships/storage.rb
|
149
|
+
- lib/neo4j/rails/versioning/versioning.rb
|
150
|
+
- lib/neo4j/rails/mapping/property.rb
|
151
|
+
- lib/neo4j/rails/validations/associated.rb
|
152
|
+
- lib/neo4j/rails/validations/uniqueness.rb
|
153
|
+
- lib/neo4j/rails/validations/non_nil.rb
|
154
|
+
- lib/neo4j/index/indexer.rb
|
155
|
+
- lib/neo4j/index/lucene_query.rb
|
156
|
+
- lib/neo4j/index/indexer_registry.rb
|
157
|
+
- lib/neo4j/index/class_methods.rb
|
158
|
+
- lib/neo4j/index/index.rb
|
159
|
+
- lib/neo4j/batch/inserter.rb
|
160
|
+
- lib/neo4j/batch/indexer.rb
|
161
|
+
- lib/neo4j/batch/rule_inserter.rb
|
162
|
+
- lib/neo4j/batch/rule_node.rb
|
163
|
+
- lib/neo4j/batch/batch.rb
|
164
|
+
- lib/neo4j/has_n/decl_relationship_dsl.rb
|
165
|
+
- lib/neo4j/has_n/has_n.rb
|
166
|
+
- lib/neo4j/has_n/mapping.rb
|
167
|
+
- lib/neo4j/has_n/class_methods.rb
|
168
|
+
- lib/neo4j/node_mixin/node_mixin.rb
|
169
|
+
- lib/neo4j/node_mixin/class_methods.rb
|
170
|
+
- lib/neo4j/rule/rule.rb
|
171
|
+
- lib/neo4j/rule/rule_node.rb
|
172
|
+
- lib/neo4j/rule/class_methods.rb
|
173
|
+
- lib/neo4j/rule/event_listener.rb
|
174
|
+
- lib/neo4j/rule/functions/function.rb
|
175
|
+
- lib/neo4j/rule/functions/count.rb
|
176
|
+
- lib/neo4j/rule/functions/sum.rb
|
177
|
+
- lib/neo4j/rule/functions/functions.rb
|
178
|
+
- lib/db/neostore.relationshiptypestore.db.names
|
179
|
+
- lib/db/neostore.id
|
180
|
+
- lib/db/neostore.relationshiptypestore.db.names.id
|
181
|
+
- lib/db/neostore.nodestore.db.id
|
182
|
+
- lib/db/neostore.propertystore.db.index
|
183
|
+
- lib/db/neostore.propertystore.db.strings.id
|
184
|
+
- lib/db/nioneo_logical.log.active
|
185
|
+
- lib/db/neostore.propertystore.db.strings
|
186
|
+
- lib/db/neostore.relationshiptypestore.db.id
|
187
|
+
- lib/db/neostore
|
188
|
+
- lib/db/neostore.nodestore.db
|
189
|
+
- lib/db/neostore.propertystore.db.index.keys.id
|
190
|
+
- lib/db/neostore.propertystore.db.arrays.id
|
191
|
+
- lib/db/messages.log
|
192
|
+
- lib/db/neostore.relationshipstore.db.id
|
193
|
+
- lib/db/neostore.propertystore.db.arrays
|
194
|
+
- lib/db/neostore.relationshipstore.db
|
195
|
+
- lib/db/neostore.propertystore.db.index.id
|
196
|
+
- lib/db/neostore.propertystore.db.id
|
197
|
+
- lib/db/neostore.propertystore.db
|
198
|
+
- lib/db/tm_tx_log.1
|
199
|
+
- lib/db/neostore.relationshiptypestore.db
|
200
|
+
- lib/db/active_tx_log
|
201
|
+
- lib/db/neostore.propertystore.db.index.keys
|
202
|
+
- lib/db/index/lucene-store.db
|
203
|
+
- lib/db/index/lucene.log.active
|
204
|
+
- config/locales/en.yml
|
205
|
+
- config/neo4j/config.yml
|
206
|
+
- README.rdoc
|
207
|
+
- CHANGELOG
|
208
|
+
- CONTRIBUTORS
|
209
|
+
- Gemfile
|
210
|
+
- neo4j.gemspec
|
177
211
|
homepage: http://github.com/andreasronge/neo4j/tree
|
178
212
|
licenses: []
|
213
|
+
|
179
214
|
post_install_message:
|
180
|
-
rdoc_options:
|
181
|
-
- --quiet
|
182
|
-
- --title
|
183
|
-
- Neo4j.rb
|
184
|
-
- --line-numbers
|
185
|
-
- --main
|
186
|
-
- README.rdoc
|
187
|
-
- --inline-source
|
188
|
-
require_paths:
|
189
|
-
- lib
|
190
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
215
|
+
rdoc_options:
|
216
|
+
- --quiet
|
217
|
+
- --title
|
218
|
+
- Neo4j.rb
|
219
|
+
- --line-numbers
|
220
|
+
- --main
|
221
|
+
- README.rdoc
|
222
|
+
- --inline-source
|
223
|
+
require_paths:
|
224
|
+
- lib
|
225
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
191
226
|
none: false
|
192
|
-
requirements:
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
227
|
+
requirements:
|
228
|
+
- - ">="
|
229
|
+
- !ruby/object:Gem::Version
|
230
|
+
version: 1.8.7
|
231
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
197
232
|
none: false
|
198
|
-
requirements:
|
199
|
-
|
200
|
-
|
201
|
-
|
233
|
+
requirements:
|
234
|
+
- - ">"
|
235
|
+
- !ruby/object:Gem::Version
|
236
|
+
version: 1.3.1
|
202
237
|
requirements: []
|
238
|
+
|
203
239
|
rubyforge_project: neo4j
|
204
|
-
rubygems_version: 1.8.
|
240
|
+
rubygems_version: 1.8.9
|
205
241
|
signing_key:
|
206
242
|
specification_version: 3
|
207
243
|
summary: A graph database for JRuby
|
208
244
|
test_files: []
|
209
|
-
|
245
|
+
|