mirror of https://gitee.com/bigwinds/arangodb
git
Merge branch 'devel' of https://github.com/triAGENS/ArangoDB into devel Conflicts: lib/ShapedJson/json-shaper.c
This commit is contained in:
commit
f93eef34d7
|
@ -73,16 +73,20 @@
|
|||
arangod/Ahuacatl/ahuacatl-grammar.output
|
||||
ARCH.*
|
||||
autom4te.cache
|
||||
aclocal.m4
|
||||
bin
|
||||
!bin/*.in
|
||||
build.h
|
||||
build.info
|
||||
commit.sh
|
||||
config/compile
|
||||
config/config.guess
|
||||
config/config.h
|
||||
config/config.sub
|
||||
config/depcomp
|
||||
config.h
|
||||
config/install-sh
|
||||
config.log
|
||||
config/missing
|
||||
config/revision.sh
|
||||
config.status
|
||||
configure
|
||||
|
@ -104,11 +108,9 @@ Doxygen/*.doxy
|
|||
Doxygen/html
|
||||
Doxygen/js
|
||||
Doxygen/latex
|
||||
Doxygen/man
|
||||
Doxygen/web
|
||||
Doxygen/.setup-directories
|
||||
Doxygen/wiki
|
||||
Doxygen/xml
|
||||
Doxygen/.setup-directories
|
||||
.DS_Store
|
||||
etc/arangodb/*.conf
|
||||
*.gcda
|
||||
|
@ -143,6 +145,7 @@ m4/configure.tex
|
|||
m4/external.boost-test
|
||||
m4/external.libxml2
|
||||
Makefile
|
||||
Makefile.am
|
||||
Makefile.local
|
||||
.mruby-build-*
|
||||
/nbproject/private/
|
||||
|
|
17
CHANGELOG
17
CHANGELOG
|
@ -1,6 +1,19 @@
|
|||
not released yet
|
||||
----------------
|
||||
|
||||
* fixed issue #188: intermittent issues with 1.0.0
|
||||
(server-side cursors not cleaned up in all cases)
|
||||
|
||||
* issue #189: key store should use ISO datetime format bug
|
||||
|
||||
* issue #187: run arango-upgrade on server start
|
||||
|
||||
* fixed issue #183: strange unittest error
|
||||
|
||||
* fixed issue #182: manual pages
|
||||
|
||||
* fixed issue #181: use getaddrinfo
|
||||
|
||||
* moved default database directory to "/var/lib/arangodb" in accordance with
|
||||
http://www.pathname.com/fhs/pub/fhs-2.3.html
|
||||
|
||||
|
@ -42,9 +55,11 @@ not released yet
|
|||
All internal and test code has been adjusted for this, however, client code
|
||||
that uses edges.* must be adjusted to use db.* instead.
|
||||
|
||||
* issue #150: call V8 garbage collection on server periodically
|
||||
|
||||
* issue #110: added support for partial updates
|
||||
|
||||
The REST API for documents now offers a HTTP PATCH method to partially update
|
||||
The REST API for documents now offers an HTTP PATCH method to partially update
|
||||
documents. Overwriting/replacing documents is still available via the HTTP PUT method
|
||||
as before. The Javascript API in the shell also offers a new update() method in extension to
|
||||
the previously existing replace() method.
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
#! avocsh
|
||||
|
||||
var console = require("console");
|
||||
var name = "demo";
|
||||
|
||||
var collection = db[name];
|
||||
|
||||
collection.drop(name);
|
||||
|
||||
collection.save({ hallo : "world" });
|
||||
|
||||
collection.save({ world : "hallo" });
|
||||
|
||||
collection.save({ name : "Hugo",
|
||||
firstName : "Egon",
|
||||
address : {
|
||||
street : "Neue Strasse",
|
||||
city : "Hier" },
|
||||
hobbies : [ "swimming", "programming" ]});
|
|
@ -1,16 +0,0 @@
|
|||
#! avocsh
|
||||
|
||||
var console = require("console");
|
||||
var name = "five";
|
||||
|
||||
var collection = db[name];
|
||||
|
||||
collection.drop(name);
|
||||
collection.ensureUniqueConstraint("a");
|
||||
collection.ensureUniqueConstraint("b");
|
||||
|
||||
collection.save({ a : 1, b : "One" });
|
||||
collection.save({ a : 2, b : "Two" });
|
||||
collection.save({ a : 3, b : "Three" });
|
||||
collection.save({ a : 4, b : "Four" });
|
||||
collection.save({ a : 5, b : "Five" });
|
|
@ -1,22 +0,0 @@
|
|||
#! avocsh
|
||||
|
||||
var console = require("console");
|
||||
var name = "geo";
|
||||
|
||||
var collection = db[name];
|
||||
|
||||
collection.drop(name);
|
||||
|
||||
db.geo.ensureGeoIndex("home");
|
||||
db.geo.ensureGeoIndex("work.l", "work.b");
|
||||
|
||||
for (i = -90; i <= 90; i += 10) {
|
||||
for (j = -180; j <= 180; j += 10) {
|
||||
db.geo.save({
|
||||
name : "Name/" + i + "/" + j,
|
||||
home : [ i, j ],
|
||||
work : { b : i, l : j }
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
@ -14,6 +14,8 @@ BUILT_SOURCES += Doxygen/.setup-directories
|
|||
|
||||
Doxygen/.setup-directories:
|
||||
@test -d Doxygen || mkdir Doxygen
|
||||
@test -d Doxygen/doc || mkdir Doxygen/doc
|
||||
@test -d Doxygen/doc/images || mkdir Doxygen/doc/images
|
||||
@test -d Doxygen/js || mkdir Doxygen/js
|
||||
@test -d Doxygen/js/actions || mkdir Doxygen/js/actions
|
||||
@test -d Doxygen/js/actions/system || mkdir Doxygen/js/actions/system
|
||||
|
@ -23,11 +25,13 @@ Doxygen/.setup-directories:
|
|||
@test -d Doxygen/js/server || mkdir Doxygen/js/server
|
||||
@test -d Doxygen/js/server/modules || mkdir Doxygen/js/server/modules
|
||||
@test -d Doxygen/js/client || mkdir Doxygen/js/client
|
||||
@test -d Doxygen/doc || mkdir Doxygen/doc
|
||||
@test -d Doxygen/doc/images || mkdir Doxygen/doc/images
|
||||
@test -d Doxygen/wiki || mkdir Doxygen/wiki
|
||||
@test -d Doxygen/latex || mkdir Doxygen/latex
|
||||
@test -d Doxygen/latex/images || mkdir Doxygen/latex/images
|
||||
@test -d Doxygen/man || mkdir Doxygen/man
|
||||
@test -d Doxygen/man/man1 || mkdir Doxygen/man/man1
|
||||
@test -d Doxygen/man/man8 || mkdir Doxygen/man/man8
|
||||
@test -d Doxygen/wiki || mkdir Doxygen/wiki
|
||||
@test -d Doxygen/xml || mkdir Doxygen/xml
|
||||
@touch $@
|
||||
|
||||
Doxygen/js/actions/system/%.c: @srcdir@/js/actions/system/%.js Doxygen/.setup-directories
|
||||
|
@ -117,6 +121,28 @@ latex: Doxygen/.setup-directories Doxygen/arango-latex.doxy $(DOXYGEN)
|
|||
python @top_srcdir@/Documentation/Scripts/tex2tex.py Doxygen/latex/ImpManual.tex > Doxygen/latex/ImpManual.inc.tex
|
||||
cd Doxygen/latex && pdflatex -interaction batchmode imp-manual.tex || true
|
||||
|
||||
################################################################################
|
||||
### @brief man pages
|
||||
################################################################################
|
||||
|
||||
.PHONY: man
|
||||
|
||||
man: Doxygen/.setup-directories
|
||||
for section in 1 8; do for i in `ls Documentation/man$$section`; do sed -f Documentation/Scripts/man.sed -e "s/\<SECTION\>/$$section/" -e "s/\<COMMAND\>/$$i/g" -e "s/DATE/`date`/g" Documentation/man$$section/$$i > Doxygen/man/man$$section/$$i.$$section; done; done
|
||||
|
||||
################################################################################
|
||||
### @brief install man pages
|
||||
################################################################################
|
||||
|
||||
dist_man_MANS += \
|
||||
Doxygen/man/man1/arangoimp.1 \
|
||||
Doxygen/man/man1/arangosh.1 \
|
||||
Doxygen/man/man8/rcarangod.8 \
|
||||
Doxygen/man/man8/arangod.8 \
|
||||
Doxygen/man/man8/arango-dfdb.8 \
|
||||
Doxygen/man/man8/arango-password.8 \
|
||||
Doxygen/man/man8/arango-upgrade.8
|
||||
|
||||
################################################################################
|
||||
### @brief cleanup
|
||||
################################################################################
|
||||
|
|
|
@ -0,0 +1,23 @@
|
|||
1s/^\(.*\)$/\.TH \1/
|
||||
/NAME/s/^\(.*\)$/\.SH \1/
|
||||
/SYNOPSIS/s/^\(.*\)$/\.SH \1/
|
||||
/DESCRIPTION/s/^\(.*\)$/\.SH \1/
|
||||
/OPTIONS/s/^\(.*\)$/\.SH \1/
|
||||
/\<EXAMPLES\>/s/^\(.*\)$/\.SH \1/
|
||||
/FILES/s/^\(.*\)$/\.SH \1/
|
||||
/AUTHOR/s/^\(.*\)$/\.SH \1/
|
||||
/SEE ALSO/s/^\(.*\)$/\.SH \1/
|
||||
s/\<OPTION\>/\.IP/g
|
||||
s/\<ENDOPTION\>//g
|
||||
s/\<EXAMPLE\>/\.EX\nshell>/g
|
||||
s/\<ENDEXAMPLE\>/\n\.EE\n/g
|
||||
/SEE ALSO/,/AUTHOR/{
|
||||
/^[a-z]/s/^\(.*\)$/\.BR \1/
|
||||
s/(\([1-9]\))/ "(\1), "/g
|
||||
}
|
||||
/AUTHOR/{
|
||||
i\
|
||||
|
||||
a\
|
||||
Copyright 2012, triAGENS GmbH, Cologne, Germany
|
||||
}
|
|
@ -701,8 +701,7 @@ EXAMPLE_PATH = \
|
|||
@srcdir@/Documentation/Examples.Ahuacatl \
|
||||
@srcdir@/Documentation/Examples.ArangoDB \
|
||||
@srcdir@/Documentation/Examples.Durham \
|
||||
@srcdir@/Documentation/Examples.Fyn \
|
||||
@srcdir@/Demos/Scripts
|
||||
@srcdir@/Documentation/Examples.Fyn
|
||||
|
||||
# If the value of the EXAMPLE_PATH tag contains directories, you can use the
|
||||
# EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,35 @@
|
|||
COMMAND SECTION "DATE" "" "ArangoDB"
|
||||
NAME
|
||||
COMMAND - a bulk importer for the ArangoDB database
|
||||
SYNOPSIS
|
||||
COMMAND [options]
|
||||
DESCRIPTION
|
||||
The COMMAND binary can be used to bulk import data from a file into the
|
||||
ArangoDB database. Input data be present in the input file in either CSV
|
||||
format with column headlines, or in JSON format. If JSON format is used,
|
||||
each line in the input file must contain exactly one JSON document with
|
||||
the attribute name/value pairs to import.
|
||||
OPTIONS
|
||||
For a complete list of options, please refer to the ArangoDB
|
||||
online manual, available at http://www.arangodb.org/
|
||||
|
||||
The most important startup options are:
|
||||
|
||||
OPTION "--configuration <string>"
|
||||
read configuration from file <string> ENDOPTION
|
||||
OPTION "--collection <string>"
|
||||
name of collection to import into ENDOPTION
|
||||
OPTION "--create-collection <bool>"
|
||||
set to "true" if collection should be created by the import ENDOPTION
|
||||
OPTION "--file <string>"
|
||||
input file with the data to import ENDOPTION
|
||||
OPTION "--type <string>"
|
||||
set to "json" or "csv", depending on the input file format ENDOPTION
|
||||
OPTION "--server.endpoint <string>"
|
||||
server endpoint to connect to, consisting of protocol, ip address and port ENDOPTION
|
||||
OPTION "--server.username <string>"
|
||||
username to use when connecting (default "root") ENDOPTION
|
||||
OPTION "--server.password <string>"
|
||||
password to use when connecting. Leave empty for a password prompt ENDOPTION
|
||||
EXAMPLES
|
||||
AUTHOR
|
|
@ -0,0 +1,37 @@
|
|||
COMMAND SECTION "DATE" "" "ArangoDB"
|
||||
NAME
|
||||
COMMAND - the ArangoDB shell
|
||||
SYNOPSIS
|
||||
COMMAND [options]
|
||||
DESCRIPTION
|
||||
The arangosh binary can be used to establish an interactive
|
||||
client connection to the ArangoDB database. When the connection
|
||||
is established, it can be used to execute actions on the server.
|
||||
OPTIONS
|
||||
For a complete list of options, please refer to the ArangoDB
|
||||
online manual, available at http://www.arangodb.org/
|
||||
|
||||
The most important startup options are:
|
||||
|
||||
OPTION "--configuration <string>"
|
||||
read configuration from file <string> ENDOPTION
|
||||
OPTION "--log.level <string>"
|
||||
set the log level (possible values: "fatal", "error", "warning", "info", "debug", "trace") ENDOPTION
|
||||
OPTION "--server.endpoint <string>"
|
||||
server endpoint to connect to, consisting of protocol, ip address and port ENDOPTION
|
||||
OPTION "--server.username <string>"
|
||||
username to use when connecting (default "root") ENDOPTION
|
||||
OPTION "--server.password <string>"
|
||||
password to use when connecting. Leave empty for a password prompt ENDOPTION
|
||||
EXAMPLES
|
||||
EXAMPLE COMMAND
|
||||
starts COMMAND with the default user and server endpoint ENDEXAMPLE
|
||||
EXAMPLE COMMAND --server.username fuchsia
|
||||
starts COMMAND with a specific user. Password prompt will follow ENDEXAMPLE
|
||||
EXAMPLE COMMAND --server.username fuchsia --server.password "abcd@34"
|
||||
starts COMMAND with a specific user and password given on command line ENDEXAMPLE
|
||||
EXAMPLE COMMAND --server.endpoint tcp://192.168.173.13:8529
|
||||
starts COMMAND connecting to a specific server ENDEXAMPLE
|
||||
EXAMPLE COMMAND --server.endpoint ssl://192.168.173.13:8530
|
||||
starts COMMAND connecting to a specific server using an SSL connection ENDEXAMPLE
|
||||
AUTHOR
|
|
@ -0,0 +1,19 @@
|
|||
COMMAND SECTION "DATE" "" "ArangoDB"
|
||||
NAME
|
||||
COMMAND - a datafile debugger for ArangoDB
|
||||
SYNOPSIS
|
||||
COMMAND options
|
||||
DESCRIPTION
|
||||
The COMMAND binary can be used to verify the datafiles of an
|
||||
ArangoDB database server. The script must be run with exclusive
|
||||
access to the server's data directory, meaning the ArangoDB
|
||||
server must not be running and accessing the datafiles in the
|
||||
specified data directory.
|
||||
More specific instructions are displayed when the program is invoked.
|
||||
OPTIONS
|
||||
OPTION "--database.directory <string>"
|
||||
path to the database directory ENDOPTION
|
||||
EXAMPLES
|
||||
EXAMPLE COMMAND --database.directory /data/arangodb
|
||||
starts the debugger with database directory /data/arangodb ENDEXAMPLE
|
||||
AUTHOR
|
|
@ -0,0 +1,25 @@
|
|||
COMMAND SECTION "DATE" "" "ArangoDB"
|
||||
NAME
|
||||
COMMAND - user setup utility for the ArangoDB database server
|
||||
SYNOPSIS
|
||||
COMMAND database-directory username [password]
|
||||
DESCRIPTION
|
||||
The COMMAND utility can be used to create additional users in an
|
||||
ArangoDB database server.
|
||||
The utility must be run with exclusive access to the server's data directory,
|
||||
meaning the ArangoDB server must not be running and accessing the
|
||||
datafiles in the specified data directory.
|
||||
OPTIONS
|
||||
The options of the COMMAND utility are:
|
||||
OPTION "--database.directory <string>"
|
||||
path to the database directory ENDOPTION
|
||||
OPTION "username"
|
||||
name of the user to add ENDOPTION
|
||||
OPTION "password"
|
||||
password for the user. Leave empty for a password prompt ENDOPTION
|
||||
EXAMPLES
|
||||
EXAMPLE COMMAND --database.directory /data/arangodb fuchsia
|
||||
creates a new user "fuchsia". Password prompt will follow ENDEXAMPLE
|
||||
EXAMPLE COMMAND --database.directory /data/arangodb fuchsia "1234@ab"
|
||||
creates a new user "fuchsia" with the specified password ENDEXAMPLE
|
||||
AUTHOR
|
|
@ -0,0 +1,25 @@
|
|||
COMMAND SECTION "DATE" "" "ArangoDB"
|
||||
NAME
|
||||
COMMAND - upgrade script for the ArangoDB database server
|
||||
SYNOPSIS
|
||||
COMMAND --database.directory database-directory
|
||||
DESCRIPTION
|
||||
The COMMAND command can be used to perform any necessary system
|
||||
data modification in an ArangoDB database after a version upgrade.
|
||||
The command must be run with exclusive access to the server's data directory,
|
||||
that means the ArangoDB server must not be running and accessing the
|
||||
datafiles in the specified data directory.
|
||||
|
||||
The COMMAND command will print a list of tasks it executes and a
|
||||
success/failure status for each. If some task cannot be accomplished
|
||||
successfully, the root cause must be fixed and the COMMAND command be
|
||||
run again afterwards.
|
||||
OPTIONS
|
||||
The COMMAND binary the following option:
|
||||
|
||||
OPTION "--database.directory <string>"
|
||||
path to the database directory ENDOPTION
|
||||
EXAMPLES
|
||||
EXAMPLE COMMAND --database.directory /data/arangodb
|
||||
starts the upgrade script with database directory /data/arangodb ENDEXAMPLE
|
||||
AUTHOR
|
|
@ -0,0 +1,49 @@
|
|||
COMMAND SECTION "DATE" "" "ArangoDB"
|
||||
NAME
|
||||
COMMAND - the ArangoDB database server
|
||||
SYNOPSIS
|
||||
COMMAND [options] database-directory
|
||||
DESCRIPTION
|
||||
The COMMAND binary can be used to start the ArangoDB database
|
||||
server. By default, the server will run in a mode that allows
|
||||
clients to connect to it via the network. The server also has
|
||||
an emergency console mode that can be used for any sort of
|
||||
maintenance operations. In the emergency console mode, the
|
||||
server does not allow any clients to connect.
|
||||
The server can be stopped gracefully at any time by pressing
|
||||
CTRL-C or by sending the SIGINT signal to the process.
|
||||
OPTIONS
|
||||
The COMMAND binary has many options that can be used to control
|
||||
its behavior.
|
||||
For a complete list of options, please refer to the ArangoDB
|
||||
online manual, available at http://www.arangodb.org/
|
||||
|
||||
The most important startup options are:
|
||||
|
||||
OPTION "--configuration <string>"
|
||||
read configuration from file <string> ENDOPTION
|
||||
OPTION "--console"
|
||||
do not start as server, start an emergency console instead ENDOPTION
|
||||
OPTION "--log.file <string>"
|
||||
log to file <string> ENDOPTION
|
||||
OPTION "--log.level <string>"
|
||||
set the log level (possible values: "fatal", "error", "warning", "info", "debug", "trace") ENDOPTION
|
||||
OPTION "--server.endpoint <string>"
|
||||
listen endpoint for client requests, consisting of protocol, ip address and port ENDOPTION
|
||||
OPTION "--database.directory <string>"
|
||||
path to the database directory ENDOPTION
|
||||
EXAMPLES
|
||||
EXAMPLE COMMAND /data/arangodb
|
||||
starts the server with database directory /data/arangodb ENDEXAMPLE
|
||||
EXAMPLE COMMAND --database.directory /data/arangodb
|
||||
same, but uses --database.directory option instead ENDEXAMPLE
|
||||
EXAMPLE COMMAND --log.level debug /data/arangodb
|
||||
starts server with log level "debug" ENDEXAMPLE
|
||||
EXAMPLE COMMAND --server.endpoint tcp://127.0.0.1:8529 /data/arangodb
|
||||
starts server listening on port 8529 of IP 127.0.0.1 ENDEXAMPLE
|
||||
EXAMPLE COMMAND --server.endpoint tcp://192.168.173.13:8529
|
||||
--server.endpoint ssl://192.168.173.13:8530 /data/arangodb
|
||||
starts server with two endpoints: port 8529 for unencrypted requests and 8530 for ssl-encrypted requests ENDEXAMPLE
|
||||
EXAMPLE COMMAND --console /data/arangodb
|
||||
starts the emergency console ENDEXAMPLE
|
||||
AUTHOR
|
|
@ -0,0 +1,15 @@
|
|||
COMMAND SECTION "DATE" "" "ArangoDB"
|
||||
NAME
|
||||
COMMAND - control script for the ArangoDB database server
|
||||
SYNOPSIS
|
||||
COMMAND start|stop
|
||||
DESCRIPTION
|
||||
The COMMAND script controls the operation of the ArangoDB
|
||||
database server daemon running on the system. The COMMAND script
|
||||
is normally run at system boot time with the "start" argument, and
|
||||
at system shutdown time with the "stop" argument.
|
||||
It can also be invoked manually at any time to start or stop the
|
||||
ArangoDB database server.
|
||||
SEE ALSO
|
||||
arangod(8)
|
||||
AUTHOR
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
@ -157,10 +157,10 @@ level = trace
|
|||
</pre></div><p>or</p>
|
||||
<div class="fragment"><pre class="fragment">--configuration none
|
||||
</pre></div><p>when starting up the server. Note that, the word <code>none</code> is case-insensitive. </p>
|
||||
<p><a class="anchor" id="CommandLineDaemon"></a><hr/>
|
||||
<p><a class="anchor" id="CommandLineDaemon"></a> <hr/>
|
||||
<code><b>--daemon</b></code><hr/>
|
||||
Runs the server as a daemon (as a background process). This parameter can only be set if the pid (process id) file is specified. That is, unless a value to the parameter pid-file is given, then the server will report an error and exit.</p>
|
||||
<p><a class="anchor" id="CommandLineSupervisor"></a><hr/>
|
||||
<p><a class="anchor" id="CommandLineSupervisor"></a> <hr/>
|
||||
<code><b>--supervisor</b></code><hr/>
|
||||
Executes the server in supervisor mode. In the event that the server unexpectedly terminates due to an internal error, the supervisor will automatically restart the server. Setting this flag automatically implies that the server will run as a daemon. Note that, as with the daemon flag, this flag requires that the pid-file parameter will set.</p>
|
||||
<div class="fragment"><pre class="fragment">> ./arangod --supervisor --pid-file /var/run/arangodb.pid /tmp/vocbase/
|
||||
|
@ -300,7 +300,7 @@ DHE-RSA-CAMELLIA256-SHA SSLv3 Kx=DH Au=RSA Enc=Camellia(256) Mac=SHA1
|
|||
...
|
||||
</pre></div><p>The default value for <em>cipher-list</em> is "ALL".</p>
|
||||
<p>Note: this option is only relevant if at least one SSL endpoint is used. </p>
|
||||
<p><a class="anchor" id="CommandLineArangoDisableAdminInterface"></a><hr/>
|
||||
<p><a class="anchor" id="CommandLineArangoDisableAdminInterface"></a> <hr/>
|
||||
<code><b>--disable-admin-interface <em>value</em></b></code><hr/>
|
||||
If this option is specified and <em>value</em> is <code>true</code>, then the HTML administration interface at URL <code><a href="http://server:port/">http://server:port/</a></code> will be disabled and cannot used by any user at all.</p>
|
||||
<p><a class="anchor" id="CommandLineArangoDirectory"></a> <hr/>
|
||||
|
@ -339,7 +339,7 @@ Command-Line Options for Communication</h2>
|
|||
<p><a class="anchor" id="CommandLineSchedulerBackend"></a> <hr/>
|
||||
<code><b>--scheduler.backend <em>arg</em></b></code><hr/>
|
||||
The I/O method used by the event handler. The default (if this option is not specified) is to try all recommended backends. This is platform specific. See libev for further details and the meaning of select, poll and epoll. </p>
|
||||
<p><a class="anchor" id="CommandLineSchedulerShowIoBackends"></a><hr/>
|
||||
<p><a class="anchor" id="CommandLineSchedulerShowIoBackends"></a> <hr/>
|
||||
<code><b>--show-io-backends</b></code><hr/>
|
||||
If this option is specified, then the server will list available backends and exit. This option is useful only when used in conjunction with the option scheduler.backend. An integer is returned (which is platform dependent) which indicates available backends on your platform. See libev for further details and for the meaning of the integer returned. This describes the allowed integers for <code>scheduler.backend</code>, see <a class="el" href="CommandLine.html#CommandLineScheduler">here</a> for details.</p>
|
||||
<h2><a class="anchor" id="CommandLineLogging"></a>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
@ -145,7 +145,7 @@ Basic System Requirements</h3>
|
|||
<li>the GNU ncurses library in version 5 or 6</li>
|
||||
<li>boost header files, at least version 1.33</li>
|
||||
</ul>
|
||||
<p>To compile Google V8 yourself, you will also need SCons.</p>
|
||||
<p>To compile Google V8 yourself, you will also need Python 2 and SCons.</p>
|
||||
<p>Some distributions, for example Centos 5, provide only very out-dated versions of FLEX, BISON, and the V8 engine. In that case you need to compile newer versions of the programs and/or libraries.</p>
|
||||
<p>Install or download the prerequisites</p>
|
||||
<ul>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
@ -22,7 +22,7 @@
|
|||
<hr/>
|
||||
<h2><a class="anchor" id="DbaManualBasicsDurability"></a>
|
||||
Mostly Memory/Durability</h2>
|
||||
<p>Database documents are stored in memory-mapped files. Per default, these memory-mapped files are synced frequently - storing all documents securely at once (durability).</p>
|
||||
<p>Database documents are stored in memory-mapped files. Per default, these memory-mapped files are synced regularly but not instantly. This is often a good tradeoff between storage performance and durability. If this level of durabiity is too low for an application, the server can also sync all modifications to disk instantly. This will give full durability but will come with a performance penalty as each data modification will trigger a sync I/O operation.</p>
|
||||
<h2><a class="anchor" id="DbaManualBasicsMvcc"></a>
|
||||
AppendOnly/MVCC</h2>
|
||||
<p>Instead of overwriting existing documents, a completely new version of the document is generated. The two benefits are:</p>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
@ -12,9 +12,9 @@
|
|||
<a class="el" href="DbaManualDatafileDebugger.html">Datafile Debugger</a> </li>
|
||||
</ul>
|
||||
<hr/>
|
||||
AranagoDB uses append-only journals. The corruption should only occur when the database server is kill. In this case, the corruption should only occur in the last object(s) being written to the journal.</p>
|
||||
AranagoDB uses append-only journals. Data corruption should only occur when the database server is killed. In this case, the corruption should only occur in the last object(s) being written to the journal.</p>
|
||||
<p>If a corruption occurs within a normal datafile, then this can only happen if a hardware fault occurred.</p>
|
||||
<p>If a journal or datafile is corrupt, shutdown the database server and start the program</p>
|
||||
<p>If a journal or datafile is corrupt, shut down the database server and start the program</p>
|
||||
<p><code>arango-dfdb</code></p>
|
||||
<p>in order to check the consistency of the datafiles and journals. </p>
|
||||
</div></div>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
@ -26,7 +26,9 @@
|
|||
<p><a class="anchor" id="DefineActionDefineAction"></a> <hr/>
|
||||
<code><b>internal.defineAction(<em>name</em>, <em>callback</em>, <em>parameter</em>)</b></code><hr/>
|
||||
<p><a class="anchor" id="DefineActionDefineSystemAction"></a> copydetails JS_DefineSystemAction</p>
|
||||
<p><a class="anchor" id="DefineActionActionResult"></a> <a class="anchor" id="DefineActionActionError"></a> <a class="anchor" id="DefineActionQueryResult"></a> copydetails JSF_queryResult</p>
|
||||
<p><a class="anchor" id="DefineActionActionResult"></a></p>
|
||||
<p><a class="anchor" id="DefineActionActionError"></a></p>
|
||||
<p><a class="anchor" id="DefineActionQueryResult"></a> copydetails JSF_queryResult</p>
|
||||
<p><a class="anchor" id="DefineActionQueryReferences"></a> copydetails JSF_queryReferences </p>
|
||||
</div></div>
|
||||
</div></body></html>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
@ -47,26 +47,7 @@ Collection "demo"</h2>
|
|||
}
|
||||
]
|
||||
</pre></div><p>was generated by</p>
|
||||
<div class="fragment"><pre class="fragment">#! avocsh
|
||||
|
||||
var console = require("console");
|
||||
var name = "demo";
|
||||
|
||||
var collection = db[name];
|
||||
|
||||
collection.drop(name);
|
||||
|
||||
collection.save({ hallo : "world" });
|
||||
|
||||
collection.save({ world : "hallo" });
|
||||
|
||||
collection.save({ name : "Hugo",
|
||||
firstName : "Egon",
|
||||
address : {
|
||||
street : "Neue Strasse",
|
||||
city : "Hier" },
|
||||
hobbies : [ "swimming", "programming" ]});
|
||||
</pre></div><h2><a class="anchor" id="ExamplesSetupFive"></a>
|
||||
<div class="fragment"><pre class="fragment"></pre></div><h2><a class="anchor" id="ExamplesSetupFive"></a>
|
||||
Collection "five"</h2>
|
||||
<p>The collection "five" has a unique constraint on the attribute <code>a</code>, and a second unique constraint on the attribute <code>b</code>.</p>
|
||||
<div class="fragment"><pre class="fragment">avocsh> db.five.all();
|
||||
|
@ -107,23 +88,7 @@ Collection "five"</h2>
|
|||
}
|
||||
]
|
||||
</pre></div><p>was generated by</p>
|
||||
<div class="fragment"><pre class="fragment">#! avocsh
|
||||
|
||||
var console = require("console");
|
||||
var name = "five";
|
||||
|
||||
var collection = db[name];
|
||||
|
||||
collection.drop(name);
|
||||
collection.ensureUniqueConstraint("a");
|
||||
collection.ensureUniqueConstraint("b");
|
||||
|
||||
collection.save({ a : 1, b : "One" });
|
||||
collection.save({ a : 2, b : "Two" });
|
||||
collection.save({ a : 3, b : "Three" });
|
||||
collection.save({ a : 4, b : "Four" });
|
||||
collection.save({ a : 5, b : "Five" });
|
||||
</pre></div><h2><a class="anchor" id="ExamplesSetupGeo"></a>
|
||||
<div class="fragment"><pre class="fragment"></pre></div><h2><a class="anchor" id="ExamplesSetupGeo"></a>
|
||||
Collection "geo"</h2>
|
||||
<p>The collection "geo" has two geo fields, one <code>home</code> being a list with two elements, one <code>work</code> being an hash array with latitude <code>b</code> and longitude <code>l</code>.</p>
|
||||
<div class="fragment"><pre class="fragment">[
|
||||
|
@ -171,27 +136,5 @@ Collection "geo"</h2>
|
|||
...
|
||||
]
|
||||
</pre></div><p>was generated by</p>
|
||||
<div class="fragment"><pre class="fragment">#! avocsh
|
||||
|
||||
var console = require("console");
|
||||
var name = "geo";
|
||||
|
||||
var collection = db[name];
|
||||
|
||||
collection.drop(name);
|
||||
|
||||
db.geo.ensureGeoIndex("home");
|
||||
db.geo.ensureGeoIndex("work.l", "work.b");
|
||||
|
||||
for (i = -90; i <= 90; i += 10) {
|
||||
for (j = -180; j <= 180; j += 10) {
|
||||
db.geo.save({
|
||||
name : "Name/" + i + "/" + j,
|
||||
home : [ i, j ],
|
||||
work : { b : i, l : j }
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
</pre></div> </div></div>
|
||||
<div class="fragment"><pre class="fragment"></pre></div> </div></div>
|
||||
</div></body></html>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="contents">
|
||||
<div class="textblock"><p><b>Collection</b>: A collection consists of documents. It is uniquely identified by it's collection identifier. It also has a unique name. </p>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
@ -57,7 +57,6 @@ Documents, Identifiers, Handles</h2>
|
|||
]
|
||||
}
|
||||
</pre></div><p>All documents contain two special fields, the document handle in <code>_id</code> and the etag aka document revision in <code>_rev</code>.</p>
|
||||
<p>Some examples in the manual assume that you have created some example collections, see <a class="el" href="ExamplesSetup.html">Preparing the Examples</a>.</p>
|
||||
<p><b>Document Handle</b>: A document handle uniquely identifies a document in the database. It is a string and consists of a collection identifier and a document identifier separated by <code>/</code>. </p>
|
||||
<p><b>Document Identifier</b>: A document identifier identifies a document in a given collection. It is an integer and is unique within the collection of the document. </p>
|
||||
<p><b>Document Revision</b>: As AvocaodDB supports MVCC, documents can exist in more than one revision. The document revision is the MVCC token used to identify a particular revision of a document. It is an integer and unique within the list of document revision for a single document. Earlier revision of a document have smaller numbers. In order to find a particular revision of a document, you need the document handle and the document revision. </p>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
@ -58,12 +58,14 @@ Address and ETag of an Edge</h2>
|
|||
<p><code><a href="http://localhost:8529/_api/edge/7254820/362549736">http://localhost:8529/_api/edge/7254820/362549736</a></code></p>
|
||||
<h2><a class="anchor" id="RestEdgeHttp"></a>
|
||||
Working with Edges using REST</h2>
|
||||
<p><a class="anchor" id="RestEdgeRead"></a> <hr/>
|
||||
<p><a class="anchor" id="RestEdgeRead"></a></p>
|
||||
<hr/>
|
||||
<em>GET /_api/edge</em> (reads an edge)<hr/>
|
||||
<br/>
|
||||
<code><b>GET /_api/edge/<em>document-handle</em></b></code></p>
|
||||
<p>See <a class="el" href="RestDocument.html">REST Interface for Documents</a> for details.</p>
|
||||
<p><a class="anchor" id="RestEdgeCreate"></a> <hr/>
|
||||
<p><a class="anchor" id="RestEdgeCreate"></a></p>
|
||||
<hr/>
|
||||
<em>POST /_api/edge</em> (creates an edge)<hr/>
|
||||
<br/>
|
||||
<code><b>POST /_api/edge?collection=<em>collection-identifier</em>&from=<em>from-handle</em>&to=<em>to-handle</em></b></code></p>
|
||||
|
@ -100,22 +102,26 @@ etag: "9683012"
|
|||
"_id": "7848004/9683012",
|
||||
"e": 1
|
||||
}
|
||||
</pre></div> <p><a class="anchor" id="RestEdgeUpdate"></a> <hr/>
|
||||
</pre></div> <p><a class="anchor" id="RestEdgeUpdate"></a></p>
|
||||
<hr/>
|
||||
<em>PUT /_api/edge</em> (updates an edge)<hr/>
|
||||
<br/>
|
||||
<code><b>PUT /_api/edge/<em>document-handle</em></b></code></p>
|
||||
<p>See <a class="el" href="RestDocument.html">REST Interface for Documents</a> for details.</p>
|
||||
<p><a class="anchor" id="RestEdgeDelete"></a> <hr/>
|
||||
<p><a class="anchor" id="RestEdgeDelete"></a></p>
|
||||
<hr/>
|
||||
<em>DELETE /_api/edge</em> (deletes an edge)<hr/>
|
||||
<br/>
|
||||
<code><b>DELETE /_api/edge/<em>document-handle</em></b></code></p>
|
||||
<p>See <a class="el" href="RestDocument.html">REST Interface for Documents</a> for details.</p>
|
||||
<p><a class="anchor" id="RestEdgeHead"></a> <hr/>
|
||||
<p><a class="anchor" id="RestEdgeHead"></a></p>
|
||||
<hr/>
|
||||
<em>GET /_api/edge</em> (reads an edge header)<hr/>
|
||||
<br/>
|
||||
<code><b>HEAD /_api/edge/<em>document-handle</em></b></code></p>
|
||||
<p>See <a class="el" href="RestDocument.html">REST Interface for Documents</a> for details.</p>
|
||||
<p><a class="anchor" id="RestEdgeEdges"></a> <hr/>
|
||||
<p><a class="anchor" id="RestEdgeEdges"></a></p>
|
||||
<hr/>
|
||||
<em>GET /_api/edges</em> (reads in- or outbound edges)<hr/>
|
||||
<br/>
|
||||
<code><b>GET /_api/edges/<em>collection-identifier</em>?vertex=<em>vertex-handle</em>&direction=any</b></code></p>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
@ -65,7 +65,6 @@ Documents, Identifiers, Handles</h2>
|
|||
]
|
||||
}
|
||||
</pre></div><p>All documents contain two special fields, the document handle in <code>_id</code> and the etag aka document revision in <code>_rev</code>.</p>
|
||||
<p>Some examples in the manual assume that you have created some example collections, see <a class="el" href="ExamplesSetup.html">Preparing the Examples</a>.</p>
|
||||
<p><b>Document Handle</b>: A document handle uniquely identifies a document in the database. It is a string and consists of a collection identifier and a document identifier separated by <code>/</code>. </p>
|
||||
<p><b>Document Identifier</b>: A document identifier identifies a document in a given collection. It is an integer and is unique within the collection of the document. </p>
|
||||
<p><b>Document Revision</b>: As AvocaodDB supports MVCC, documents can exist in more than one revision. The document revision is the MVCC token used to identify a particular revision of a document. It is an integer and unique within the list of document revision for a single document. Earlier revision of a document have smaller numbers. In order to find a particular revision of a document, you need the document handle and the document revision. </p>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
@ -70,8 +70,8 @@ or give it a <a href="http://www.arangodb.org/try">try</a>. </li>
|
|||
<hr/>
|
||||
<h2><a class="anchor" id="UserManualServerStartStop"></a>
|
||||
Starting the ArangoDB Server</h2>
|
||||
<p>The ArangoDB database server has two modes of operation: as server, where it will answer to client requests and an emergency console, in which you can access the database directly. The latter - as the name suggests - should only be used in case of an emergency, for example, a corrupted collection. Using the emergency console allows you to issue all commands normally available in actions and transactions.</p>
|
||||
<p>You should never start more than one server for the same database, independent from the mode of operation.</p>
|
||||
<p>The ArangoDB database server has two modes of operation: as server, where it will answer to client requests, and an emergency console, in which you can access the database directly. The latter - as the name suggests - should only be used in case of an emergency, for example, a corrupted collection. Using the emergency console allows you to issue all commands normally available in actions and transactions. When starting the server in emergency console mode, the server cannot handle any client requests.</p>
|
||||
<p>You should never start more than one server using the same database directory, independent from the mode of operation. Normally ArangoDB will prevent you from doing this by placing a lockfile in the database directory and not allowing a second ArangoDB instance to use the same database directory if a lockfile is already present.</p>
|
||||
<p>The following command starts the ArangoDB database in server mode. You will be able to access the server using HTTP requests on port 8529. See <a class="el" href="UserManualBasics.html#UserManualServerStartStopOptions">below</a> for a list of frequently used options, see <a class="el" href="CommandLine.html">here</a> for a complete list.</p>
|
||||
<div class="fragment"><pre class="fragment">> ./arangod /tmp/vocbase
|
||||
2012-05-13T12:37:08Z [8145] INFO using built-in JavaScript startup files
|
||||
|
@ -80,6 +80,13 @@ Starting the ArangoDB Server</h2>
|
|||
</pre></div> <p>After starting the server, point your favorite browser to:</p>
|
||||
<p><code><a href="http://localhost:8529/">http://localhost:8529/</a></code></p>
|
||||
<p>to access the administration front-end.</p>
|
||||
<p>To start the server at system boot time, you should use one of the pre-rolled packages that will install the necessary start / stop scripts for ArangoDB. To start and stop the server manually, you can use the start / stop script like this (provided the start / stop script is located in /etc/init.d/arangod, the command actual name and invocation are platform-dependent):</p>
|
||||
<p><code>/etc/init.d/arangod start</code></p>
|
||||
<p>To stop the server, you can use the command</p>
|
||||
<p><code>/etc/init.d/arangod stop</code></p>
|
||||
<p>You may require root privileges to execute these commands.</p>
|
||||
<p>If you compiled ArangoDB from source and did not use any installation package, or you are using non-default locations and/or multiple ArangoDB instances on the same host, you may want to start the server process manually. You can do so by invoking the arangod binary from the command line as shown before. To stop the database server gracefully, you can either pressCTRL-C or by send the SIGINT signal to the server process. On many systems, this can be achieved with the following command:</p>
|
||||
<p><code>kill -2 `pidof arangod`</code></p>
|
||||
<h3><a class="anchor" id="UserManualServerStartStopOptions"></a>
|
||||
Frequently Used Options</h3>
|
||||
<p>The following command-line options are frequently used. For a full list of options see <a class="el" href="CommandLine.html">here</a>.</p>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<html><head><title>ArangoDB Manual</title> <style media="screen" type="text/css" style="display:none">body{background-color:white;font:13px Helvetica,arial,freesans,clean,sans-serif;line-height:1.4;color:#333;}#access{font-size:16px;margin-left:12px;display:block;margin-left:10px;margin-right:10px;background-color:#F3F1EE!important;}#access a{border-right:1px solid #DBDEDF;color:#A49F96;display:block;line-height:38px;padding:0 10px;text-decoration:none;}#navigation ul{text-transform:uppercase;list-style:none;margin:0;}#navigation li{float:left;position:relative;}#container{width:920px;margin:0 auto;}a{color:#4183C4;text-decoration:none;}.contents h2{font-size:24px;border-bottom:1px solid #CCC;color:black;}.contents h1{font-size:33px;border-bottom:1px solid #CCC;color:black;}.clearfix:after{content:".";display:block;clear:both;font-size:0;height:0;visibility:hidden;}/**/ *:first-child+html .clearfix{min-height:0;}/**/ * html .clearfix{height:1%;}</style></head><body><div id="container"><img src="images/logo_arangodb.png" width="397" height="67" alt="ArangoDB"><div id="access" role="navigation"><div id="navigation"><ul id="menu-ahome" class="menu"><li><a href="Home.html">Table of contents</a></li> <li><a href="http://www.arangodb.org">ArangoDB homepage</a></li></ul></div><div class="clearfix"></div></div><div>
|
||||
<!-- Generated by Doxygen 1.7.5.1 -->
|
||||
<!-- Generated by Doxygen 1.7.3 -->
|
||||
</div>
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
|
|
|
@ -0,0 +1,37 @@
|
|||
.TH arangoimp 1 "Di 4. Sep 11:48:53 CEST 2012" "" "ArangoDB"
|
||||
.SH NAME
|
||||
arangoimp - a bulk importer for the ArangoDB database
|
||||
.SH SYNOPSIS
|
||||
arangoimp [options]
|
||||
.SH DESCRIPTION
|
||||
The arangoimp binary can be used to bulk import data from a file into the
|
||||
ArangoDB database. Input data be present in the input file in either CSV
|
||||
format with column headlines, or in JSON format. If JSON format is used,
|
||||
each line in the input file must contain exactly one JSON document with
|
||||
the attribute name/value pairs to import.
|
||||
.SH OPTIONS
|
||||
For a complete list of options, please refer to the ArangoDB
|
||||
online manual, available at http://www.arangodb.org/
|
||||
|
||||
The most important startup options are:
|
||||
|
||||
.IP "--configuration <string>"
|
||||
read configuration from file <string>
|
||||
.IP "--collection <string>"
|
||||
name of collection to import into
|
||||
.IP "--create-collection <bool>"
|
||||
set to "true" if collection should be created by the import
|
||||
.IP "--file <string>"
|
||||
input file with the data to import
|
||||
.IP "--type <string>"
|
||||
set to "json" or "csv", depending on the input file format
|
||||
.IP "--server.endpoint <string>"
|
||||
server endpoint to connect to, consisting of protocol, ip address and port
|
||||
.IP "--server.username <string>"
|
||||
username to use when connecting (default "root")
|
||||
.IP "--server.password <string>"
|
||||
password to use when connecting. Leave empty for a password prompt
|
||||
.SH EXAMPLES
|
||||
|
||||
.SH AUTHOR
|
||||
Copyright 2012, triAGENS GmbH, Cologne, Germany
|
|
@ -0,0 +1,54 @@
|
|||
.TH arangosh 1 "Di 4. Sep 11:48:54 CEST 2012" "" "ArangoDB"
|
||||
.SH NAME
|
||||
arangosh - the ArangoDB shell
|
||||
.SH SYNOPSIS
|
||||
arangosh [options]
|
||||
.SH DESCRIPTION
|
||||
The arangosh binary can be used to establish an interactive
|
||||
client connection to the ArangoDB database. When the connection
|
||||
is established, it can be used to execute actions on the server.
|
||||
.SH OPTIONS
|
||||
For a complete list of options, please refer to the ArangoDB
|
||||
online manual, available at http://www.arangodb.org/
|
||||
|
||||
The most important startup options are:
|
||||
|
||||
.IP "--configuration <string>"
|
||||
read configuration from file <string>
|
||||
.IP "--log.level <string>"
|
||||
set the log level (possible values: "fatal", "error", "warning", "info", "debug", "trace")
|
||||
.IP "--server.endpoint <string>"
|
||||
server endpoint to connect to, consisting of protocol, ip address and port
|
||||
.IP "--server.username <string>"
|
||||
username to use when connecting (default "root")
|
||||
.IP "--server.password <string>"
|
||||
password to use when connecting. Leave empty for a password prompt
|
||||
.SH EXAMPLES
|
||||
.EX
|
||||
shell> arangosh
|
||||
starts arangosh with the default user and server endpoint
|
||||
.EE
|
||||
|
||||
.EX
|
||||
shell> arangosh --server.username fuchsia
|
||||
starts arangosh with a specific user. Password prompt will follow
|
||||
.EE
|
||||
|
||||
.EX
|
||||
shell> arangosh --server.username fuchsia --server.password "abcd@34"
|
||||
starts arangosh with a specific user and password given on command line
|
||||
.EE
|
||||
|
||||
.EX
|
||||
shell> arangosh --server.endpoint tcp://192.168.173.13:8529
|
||||
starts arangosh connecting to a specific server
|
||||
.EE
|
||||
|
||||
.EX
|
||||
shell> arangosh --server.endpoint ssl://192.168.173.13:8530
|
||||
starts arangosh connecting to a specific server using an SSL connection
|
||||
.EE
|
||||
|
||||
|
||||
.SH AUTHOR
|
||||
Copyright 2012, triAGENS GmbH, Cologne, Germany
|
|
@ -0,0 +1,24 @@
|
|||
.TH arango-dfdb 8 "Di 4. Sep 11:48:54 CEST 2012" "" "ArangoDB"
|
||||
.SH NAME
|
||||
arango-dfdb - a datafile debugger for ArangoDB
|
||||
.SH SYNOPSIS
|
||||
arango-dfdb options
|
||||
.SH DESCRIPTION
|
||||
The arango-dfdb binary can be used to verify the datafiles of an
|
||||
ArangoDB database server. The script must be run with exclusive
|
||||
access to the server's data directory, meaning the ArangoDB
|
||||
server must not be running and accessing the datafiles in the
|
||||
specified data directory.
|
||||
More specific instructions are displayed when the program is invoked.
|
||||
.SH OPTIONS
|
||||
.IP "--database.directory <string>"
|
||||
path to the database directory
|
||||
.SH EXAMPLES
|
||||
.EX
|
||||
shell> arango-dfdb --database.directory /data/arangodb
|
||||
starts the debugger with database directory /data/arangodb
|
||||
.EE
|
||||
|
||||
|
||||
.SH AUTHOR
|
||||
Copyright 2012, triAGENS GmbH, Cologne, Germany
|
|
@ -0,0 +1,33 @@
|
|||
.TH arango-password 8 "Di 4. Sep 11:48:54 CEST 2012" "" "ArangoDB"
|
||||
.SH NAME
|
||||
arango-password - user setup utility for the ArangoDB database server
|
||||
.SH SYNOPSIS
|
||||
arango-password database-directory username [password]
|
||||
.SH DESCRIPTION
|
||||
The arango-password utility can be used to create additional users in an
|
||||
ArangoDB database server.
|
||||
The utility must be run with exclusive access to the server's data directory,
|
||||
meaning the ArangoDB server must not be running and accessing the
|
||||
datafiles in the specified data directory.
|
||||
.SH OPTIONS
|
||||
The options of the arango-password utility are:
|
||||
.IP "--database.directory <string>"
|
||||
path to the database directory
|
||||
.IP "username"
|
||||
name of the user to add
|
||||
.IP "password"
|
||||
password for the user. Leave empty for a password prompt
|
||||
.SH EXAMPLES
|
||||
.EX
|
||||
shell> arango-password --database.directory /data/arangodb fuchsia
|
||||
creates a new user "fuchsia". Password prompt will follow
|
||||
.EE
|
||||
|
||||
.EX
|
||||
shell> arango-password --database.directory /data/arangodb fuchsia "1234@ab"
|
||||
creates a new user "fuchsia" with the specified password
|
||||
.EE
|
||||
|
||||
|
||||
.SH AUTHOR
|
||||
Copyright 2012, triAGENS GmbH, Cologne, Germany
|
|
@ -0,0 +1,30 @@
|
|||
.TH arango-upgrade 8 "Di 4. Sep 11:48:54 CEST 2012" "" "ArangoDB"
|
||||
.SH NAME
|
||||
arango-upgrade - upgrade script for the ArangoDB database server
|
||||
.SH SYNOPSIS
|
||||
arango-upgrade --database.directory database-directory
|
||||
.SH DESCRIPTION
|
||||
The arango-upgrade command can be used to perform any necessary system
|
||||
data modification in an ArangoDB database after a version upgrade.
|
||||
The command must be run with exclusive access to the server's data directory,
|
||||
that means the ArangoDB server must not be running and accessing the
|
||||
datafiles in the specified data directory.
|
||||
|
||||
The arango-upgrade command will print a list of tasks it executes and a
|
||||
success/failure status for each. If some task cannot be accomplished
|
||||
successfully, the root cause must be fixed and the arango-upgrade command be
|
||||
run again afterwards.
|
||||
.SH OPTIONS
|
||||
The arango-upgrade binary the following option:
|
||||
|
||||
.IP "--database.directory <string>"
|
||||
path to the database directory
|
||||
.SH EXAMPLES
|
||||
.EX
|
||||
shell> arango-upgrade --database.directory /data/arangodb
|
||||
starts the upgrade script with database directory /data/arangodb
|
||||
.EE
|
||||
|
||||
|
||||
.SH AUTHOR
|
||||
Copyright 2012, triAGENS GmbH, Cologne, Germany
|
|
@ -0,0 +1,69 @@
|
|||
.TH arangod 8 "Di 4. Sep 11:48:54 CEST 2012" "" "ArangoDB"
|
||||
.SH NAME
|
||||
arangod - the ArangoDB database server
|
||||
.SH SYNOPSIS
|
||||
arangod [options] database-directory
|
||||
.SH DESCRIPTION
|
||||
The arangod binary can be used to start the ArangoDB database
|
||||
server. By default, the server will run in a mode that allows
|
||||
clients to connect to it via the network. The server also has
|
||||
an emergency console mode that can be used for any sort of
|
||||
maintenance operations. In the emergency console mode, the
|
||||
server does not allow any clients to connect.
|
||||
The server can be stopped gracefully at any time by pressing
|
||||
CTRL-C or by sending the SIGINT signal to the process.
|
||||
.SH OPTIONS
|
||||
The arangod binary has many options that can be used to control
|
||||
its behavior.
|
||||
For a complete list of options, please refer to the ArangoDB
|
||||
online manual, available at http://www.arangodb.org/
|
||||
|
||||
The most important startup options are:
|
||||
|
||||
.IP "--configuration <string>"
|
||||
read configuration from file <string>
|
||||
.IP "--console"
|
||||
do not start as server, start an emergency console instead
|
||||
.IP "--log.file <string>"
|
||||
log to file <string>
|
||||
.IP "--log.level <string>"
|
||||
set the log level (possible values: "fatal", "error", "warning", "info", "debug", "trace")
|
||||
.IP "--server.endpoint <string>"
|
||||
listen endpoint for client requests, consisting of protocol, ip address and port
|
||||
.IP "--database.directory <string>"
|
||||
path to the database directory
|
||||
.SH EXAMPLES
|
||||
.EX
|
||||
shell> arangod /data/arangodb
|
||||
starts the server with database directory /data/arangodb
|
||||
.EE
|
||||
|
||||
.EX
|
||||
shell> arangod --database.directory /data/arangodb
|
||||
same, but uses --database.directory option instead
|
||||
.EE
|
||||
|
||||
.EX
|
||||
shell> arangod --log.level debug /data/arangodb
|
||||
starts server with log level "debug"
|
||||
.EE
|
||||
|
||||
.EX
|
||||
shell> arangod --server.endpoint tcp://127.0.0.1:8529 /data/arangodb
|
||||
starts server listening on port 8529 of IP 127.0.0.1
|
||||
.EE
|
||||
|
||||
.EX
|
||||
shell> arangod --server.endpoint tcp://192.168.173.13:8529
|
||||
--server.endpoint ssl://192.168.173.13:8530 /data/arangodb
|
||||
starts server with two endpoints: port 8529 for unencrypted requests and 8530 for ssl-encrypted requests
|
||||
.EE
|
||||
|
||||
.EX
|
||||
shell> arangod --console /data/arangodb
|
||||
starts the emergency console
|
||||
.EE
|
||||
|
||||
|
||||
.SH AUTHOR
|
||||
Copyright 2012, triAGENS GmbH, Cologne, Germany
|
|
@ -0,0 +1,17 @@
|
|||
.TH rcarangod 8 "Di 4. Sep 11:48:54 CEST 2012" "" "ArangoDB"
|
||||
.SH NAME
|
||||
rcarangod - control script for the ArangoDB database server
|
||||
.SH SYNOPSIS
|
||||
rcarangod start|stop
|
||||
.SH DESCRIPTION
|
||||
The rcarangod script controls the operation of the ArangoDB
|
||||
database server daemon running on the system. The rcarangod script
|
||||
is normally run at system boot time with the "start" argument, and
|
||||
at system shutdown time with the "stop" argument.
|
||||
It can also be invoked manually at any time to start or stop the
|
||||
ArangoDB database server.
|
||||
.SH SEE ALSO
|
||||
.BR arangod "(8), "
|
||||
|
||||
.SH AUTHOR
|
||||
Copyright 2012, triAGENS GmbH, Cologne, Germany
|
|
@ -16,3 +16,7 @@ setup:
|
|||
@echo AUTOCONF
|
||||
@autoconf -I m4
|
||||
@echo auto system configured, proceed with configure
|
||||
|
||||
setup-git: setup
|
||||
@echo adding changes to GIT
|
||||
git add Makefile.in aclocal.m4 config/compile config/config.guess config/config.sub config/depcomp config/install-sh config/missing
|
||||
|
|
|
@ -10,6 +10,12 @@
|
|||
|
||||
BUILT_SOURCES = build.h
|
||||
|
||||
################################################################################
|
||||
### @brief man pages to install
|
||||
################################################################################
|
||||
|
||||
dist_man_MANS =
|
||||
|
||||
################################################################################
|
||||
### @brief files to cleanup
|
||||
################################################################################
|
||||
|
|
|
@ -81,7 +81,6 @@ WIKI = \
|
|||
DbaManualAuthentication \
|
||||
DbaManualDatafileDebugger \
|
||||
DefineAction \
|
||||
ExamplesSetup \
|
||||
FirstStepsArangoDB \
|
||||
Glossary \
|
||||
Graphs \
|
||||
|
|
212
Makefile.in
212
Makefile.in
|
@ -206,7 +206,7 @@ noinst_PROGRAMS = $(am__EXEEXT_2) $(am__EXEEXT_3)
|
|||
@ENABLE_MRUBY_TRUE@am__append_10 = \
|
||||
@ENABLE_MRUBY_TRUE@ $(shell find @srcdir@/mr/actions/system -name "*.rb" -print)
|
||||
|
||||
DIST_COMMON = README $(am__configure_deps) \
|
||||
DIST_COMMON = README $(am__configure_deps) $(dist_man_MANS) \
|
||||
$(srcdir)/3rdParty/Makefile.all-in-one-libev \
|
||||
$(srcdir)/3rdParty/Makefile.all-in-one-mruby \
|
||||
$(srcdir)/3rdParty/Makefile.all-in-one-protobuf \
|
||||
|
@ -561,6 +561,7 @@ am_lib_libarango_v8_a_OBJECTS = lib/V8/JSLoader.$(OBJEXT) \
|
|||
lib_libarango_v8_a_OBJECTS = $(am_lib_libarango_v8_a_OBJECTS)
|
||||
@ENABLE_MRUBY_TRUE@am__EXEEXT_1 = bin/arangoirb$(EXEEXT)
|
||||
am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" \
|
||||
"$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)" \
|
||||
"$(DESTDIR)$(arangosysconfdir)" "$(DESTDIR)$(pkgdatadir)"
|
||||
@ENABLE_ZEROMQ_TRUE@am__EXEEXT_2 = bin/zclient$(EXEEXT) \
|
||||
@ENABLE_ZEROMQ_TRUE@ bin/zserver$(EXEEXT)
|
||||
|
@ -659,12 +660,13 @@ am__bin_arangod_SOURCES_DIST = arangod/Actions/actions.cpp \
|
|||
arangod/V8Server/v8-actions.cpp \
|
||||
arangod/V8Server/v8-objects.cpp arangod/V8Server/v8-query.cpp \
|
||||
arangod/V8Server/v8-vocbase.cpp arangod/VocBase/auth.c \
|
||||
arangod/VocBase/barrier.c arangod/VocBase/blob-collection.c \
|
||||
arangod/VocBase/barrier.c arangod/VocBase/cleanup.c \
|
||||
arangod/VocBase/collection.c arangod/VocBase/compactor.c \
|
||||
arangod/VocBase/datafile.c \
|
||||
arangod/VocBase/document-collection.c \
|
||||
arangod/VocBase/general-cursor.c arangod/VocBase/headers.c \
|
||||
arangod/VocBase/index.c arangod/VocBase/shadow-data.c \
|
||||
arangod/VocBase/shape-collection.c \
|
||||
arangod/VocBase/simple-collection.c \
|
||||
arangod/VocBase/synchroniser.c arangod/VocBase/voc-shaper.c \
|
||||
arangod/VocBase/vocbase.c arangod/MRServer/ApplicationMR.cpp \
|
||||
|
@ -726,7 +728,7 @@ am_bin_arangod_OBJECTS = \
|
|||
arangod/V8Server/bin_arangod-v8-vocbase.$(OBJEXT) \
|
||||
arangod/VocBase/bin_arangod-auth.$(OBJEXT) \
|
||||
arangod/VocBase/bin_arangod-barrier.$(OBJEXT) \
|
||||
arangod/VocBase/bin_arangod-blob-collection.$(OBJEXT) \
|
||||
arangod/VocBase/bin_arangod-cleanup.$(OBJEXT) \
|
||||
arangod/VocBase/bin_arangod-collection.$(OBJEXT) \
|
||||
arangod/VocBase/bin_arangod-compactor.$(OBJEXT) \
|
||||
arangod/VocBase/bin_arangod-datafile.$(OBJEXT) \
|
||||
|
@ -735,6 +737,7 @@ am_bin_arangod_OBJECTS = \
|
|||
arangod/VocBase/bin_arangod-headers.$(OBJEXT) \
|
||||
arangod/VocBase/bin_arangod-index.$(OBJEXT) \
|
||||
arangod/VocBase/bin_arangod-shadow-data.$(OBJEXT) \
|
||||
arangod/VocBase/bin_arangod-shape-collection.$(OBJEXT) \
|
||||
arangod/VocBase/bin_arangod-simple-collection.$(OBJEXT) \
|
||||
arangod/VocBase/bin_arangod-synchroniser.$(OBJEXT) \
|
||||
arangod/VocBase/bin_arangod-voc-shaper.$(OBJEXT) \
|
||||
|
@ -854,6 +857,10 @@ am__nobase_list = $(am__nobase_strip_setup); \
|
|||
am__base_list = \
|
||||
sed '$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;$$!N;s/\n/ /g' | \
|
||||
sed '$$!N;$$!N;$$!N;$$!N;s/\n/ /g'
|
||||
man1dir = $(mandir)/man1
|
||||
man8dir = $(mandir)/man8
|
||||
NROFF = nroff
|
||||
MANS = $(dist_man_MANS)
|
||||
DATA = $(arangosysconf_DATA) $(nobase_pkgdata_DATA)
|
||||
ETAGS = etags
|
||||
CTAGS = ctags
|
||||
|
@ -1040,6 +1047,19 @@ BUILT_SOURCES = build.h $(JAVASCRIPT_HEADER) $(JAVASCRIPT_BROWSER) \
|
|||
$(PROTOBUF_FILES) $(am__append_24) $(am__append_25) \
|
||||
$(am__append_26) $(am__append_27) $(am__append_28)
|
||||
|
||||
################################################################################
|
||||
### @brief man pages to install
|
||||
################################################################################
|
||||
|
||||
################################################################################
|
||||
### @brief install man pages
|
||||
################################################################################
|
||||
dist_man_MANS = Doxygen/man/man1/arangoimp.1 \
|
||||
Doxygen/man/man1/arangosh.1 Doxygen/man/man8/rcarangod.8 \
|
||||
Doxygen/man/man8/arangod.8 Doxygen/man/man8/arango-dfdb.8 \
|
||||
Doxygen/man/man8/arango-password.8 \
|
||||
Doxygen/man/man8/arango-upgrade.8
|
||||
|
||||
################################################################################
|
||||
### @brief files to cleanup
|
||||
################################################################################
|
||||
|
@ -1230,7 +1250,6 @@ WIKI = \
|
|||
DbaManualAuthentication \
|
||||
DbaManualDatafileDebugger \
|
||||
DefineAction \
|
||||
ExamplesSetup \
|
||||
FirstStepsArangoDB \
|
||||
Glossary \
|
||||
Graphs \
|
||||
|
@ -1471,12 +1490,13 @@ bin_arangod_SOURCES = arangod/Actions/actions.cpp \
|
|||
arangod/V8Server/v8-actions.cpp \
|
||||
arangod/V8Server/v8-objects.cpp arangod/V8Server/v8-query.cpp \
|
||||
arangod/V8Server/v8-vocbase.cpp arangod/VocBase/auth.c \
|
||||
arangod/VocBase/barrier.c arangod/VocBase/blob-collection.c \
|
||||
arangod/VocBase/barrier.c arangod/VocBase/cleanup.c \
|
||||
arangod/VocBase/collection.c arangod/VocBase/compactor.c \
|
||||
arangod/VocBase/datafile.c \
|
||||
arangod/VocBase/document-collection.c \
|
||||
arangod/VocBase/general-cursor.c arangod/VocBase/headers.c \
|
||||
arangod/VocBase/index.c arangod/VocBase/shadow-data.c \
|
||||
arangod/VocBase/shape-collection.c \
|
||||
arangod/VocBase/simple-collection.c \
|
||||
arangod/VocBase/synchroniser.c arangod/VocBase/voc-shaper.c \
|
||||
arangod/VocBase/vocbase.c $(am__append_13)
|
||||
|
@ -2714,7 +2734,7 @@ arangod/VocBase/bin_arangod-auth.$(OBJEXT): \
|
|||
arangod/VocBase/bin_arangod-barrier.$(OBJEXT): \
|
||||
arangod/VocBase/$(am__dirstamp) \
|
||||
arangod/VocBase/$(DEPDIR)/$(am__dirstamp)
|
||||
arangod/VocBase/bin_arangod-blob-collection.$(OBJEXT): \
|
||||
arangod/VocBase/bin_arangod-cleanup.$(OBJEXT): \
|
||||
arangod/VocBase/$(am__dirstamp) \
|
||||
arangod/VocBase/$(DEPDIR)/$(am__dirstamp)
|
||||
arangod/VocBase/bin_arangod-collection.$(OBJEXT): \
|
||||
|
@ -2741,6 +2761,9 @@ arangod/VocBase/bin_arangod-index.$(OBJEXT): \
|
|||
arangod/VocBase/bin_arangod-shadow-data.$(OBJEXT): \
|
||||
arangod/VocBase/$(am__dirstamp) \
|
||||
arangod/VocBase/$(DEPDIR)/$(am__dirstamp)
|
||||
arangod/VocBase/bin_arangod-shape-collection.$(OBJEXT): \
|
||||
arangod/VocBase/$(am__dirstamp) \
|
||||
arangod/VocBase/$(DEPDIR)/$(am__dirstamp)
|
||||
arangod/VocBase/bin_arangod-simple-collection.$(OBJEXT): \
|
||||
arangod/VocBase/$(am__dirstamp) \
|
||||
arangod/VocBase/$(DEPDIR)/$(am__dirstamp)
|
||||
|
@ -2924,7 +2947,7 @@ mostlyclean-compile:
|
|||
-rm -f arangod/V8Server/bin_arangod-v8-vocbase.$(OBJEXT)
|
||||
-rm -f arangod/VocBase/bin_arangod-auth.$(OBJEXT)
|
||||
-rm -f arangod/VocBase/bin_arangod-barrier.$(OBJEXT)
|
||||
-rm -f arangod/VocBase/bin_arangod-blob-collection.$(OBJEXT)
|
||||
-rm -f arangod/VocBase/bin_arangod-cleanup.$(OBJEXT)
|
||||
-rm -f arangod/VocBase/bin_arangod-collection.$(OBJEXT)
|
||||
-rm -f arangod/VocBase/bin_arangod-compactor.$(OBJEXT)
|
||||
-rm -f arangod/VocBase/bin_arangod-datafile.$(OBJEXT)
|
||||
|
@ -2933,6 +2956,7 @@ mostlyclean-compile:
|
|||
-rm -f arangod/VocBase/bin_arangod-headers.$(OBJEXT)
|
||||
-rm -f arangod/VocBase/bin_arangod-index.$(OBJEXT)
|
||||
-rm -f arangod/VocBase/bin_arangod-shadow-data.$(OBJEXT)
|
||||
-rm -f arangod/VocBase/bin_arangod-shape-collection.$(OBJEXT)
|
||||
-rm -f arangod/VocBase/bin_arangod-simple-collection.$(OBJEXT)
|
||||
-rm -f arangod/VocBase/bin_arangod-synchroniser.$(OBJEXT)
|
||||
-rm -f arangod/VocBase/bin_arangod-voc-shaper.$(OBJEXT)
|
||||
|
@ -3189,7 +3213,7 @@ distclean-compile:
|
|||
@AMDEP_TRUE@@am__include@ @am__quote@arangod/V8Server/$(DEPDIR)/bin_arangod-v8-vocbase.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@arangod/VocBase/$(DEPDIR)/bin_arangod-auth.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@arangod/VocBase/$(DEPDIR)/bin_arangod-barrier.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@arangod/VocBase/$(DEPDIR)/bin_arangod-blob-collection.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@arangod/VocBase/$(DEPDIR)/bin_arangod-cleanup.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@arangod/VocBase/$(DEPDIR)/bin_arangod-collection.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@arangod/VocBase/$(DEPDIR)/bin_arangod-compactor.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@arangod/VocBase/$(DEPDIR)/bin_arangod-datafile.Po@am__quote@
|
||||
|
@ -3198,6 +3222,7 @@ distclean-compile:
|
|||
@AMDEP_TRUE@@am__include@ @am__quote@arangod/VocBase/$(DEPDIR)/bin_arangod-headers.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@arangod/VocBase/$(DEPDIR)/bin_arangod-index.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@arangod/VocBase/$(DEPDIR)/bin_arangod-shadow-data.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@arangod/VocBase/$(DEPDIR)/bin_arangod-shape-collection.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@arangod/VocBase/$(DEPDIR)/bin_arangod-simple-collection.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@arangod/VocBase/$(DEPDIR)/bin_arangod-synchroniser.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@arangod/VocBase/$(DEPDIR)/bin_arangod-voc-shaper.Po@am__quote@
|
||||
|
@ -3987,21 +4012,21 @@ arangod/VocBase/bin_arangod-barrier.obj: arangod/VocBase/barrier.c
|
|||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bin_arangod_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o arangod/VocBase/bin_arangod-barrier.obj `if test -f 'arangod/VocBase/barrier.c'; then $(CYGPATH_W) 'arangod/VocBase/barrier.c'; else $(CYGPATH_W) '$(srcdir)/arangod/VocBase/barrier.c'; fi`
|
||||
|
||||
arangod/VocBase/bin_arangod-blob-collection.o: arangod/VocBase/blob-collection.c
|
||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bin_arangod_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT arangod/VocBase/bin_arangod-blob-collection.o -MD -MP -MF arangod/VocBase/$(DEPDIR)/bin_arangod-blob-collection.Tpo -c -o arangod/VocBase/bin_arangod-blob-collection.o `test -f 'arangod/VocBase/blob-collection.c' || echo '$(srcdir)/'`arangod/VocBase/blob-collection.c
|
||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) arangod/VocBase/$(DEPDIR)/bin_arangod-blob-collection.Tpo arangod/VocBase/$(DEPDIR)/bin_arangod-blob-collection.Po
|
||||
arangod/VocBase/bin_arangod-cleanup.o: arangod/VocBase/cleanup.c
|
||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bin_arangod_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT arangod/VocBase/bin_arangod-cleanup.o -MD -MP -MF arangod/VocBase/$(DEPDIR)/bin_arangod-cleanup.Tpo -c -o arangod/VocBase/bin_arangod-cleanup.o `test -f 'arangod/VocBase/cleanup.c' || echo '$(srcdir)/'`arangod/VocBase/cleanup.c
|
||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) arangod/VocBase/$(DEPDIR)/bin_arangod-cleanup.Tpo arangod/VocBase/$(DEPDIR)/bin_arangod-cleanup.Po
|
||||
@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='arangod/VocBase/blob-collection.c' object='arangod/VocBase/bin_arangod-blob-collection.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='arangod/VocBase/cleanup.c' object='arangod/VocBase/bin_arangod-cleanup.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bin_arangod_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o arangod/VocBase/bin_arangod-blob-collection.o `test -f 'arangod/VocBase/blob-collection.c' || echo '$(srcdir)/'`arangod/VocBase/blob-collection.c
|
||||
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bin_arangod_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o arangod/VocBase/bin_arangod-cleanup.o `test -f 'arangod/VocBase/cleanup.c' || echo '$(srcdir)/'`arangod/VocBase/cleanup.c
|
||||
|
||||
arangod/VocBase/bin_arangod-blob-collection.obj: arangod/VocBase/blob-collection.c
|
||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bin_arangod_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT arangod/VocBase/bin_arangod-blob-collection.obj -MD -MP -MF arangod/VocBase/$(DEPDIR)/bin_arangod-blob-collection.Tpo -c -o arangod/VocBase/bin_arangod-blob-collection.obj `if test -f 'arangod/VocBase/blob-collection.c'; then $(CYGPATH_W) 'arangod/VocBase/blob-collection.c'; else $(CYGPATH_W) '$(srcdir)/arangod/VocBase/blob-collection.c'; fi`
|
||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) arangod/VocBase/$(DEPDIR)/bin_arangod-blob-collection.Tpo arangod/VocBase/$(DEPDIR)/bin_arangod-blob-collection.Po
|
||||
arangod/VocBase/bin_arangod-cleanup.obj: arangod/VocBase/cleanup.c
|
||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bin_arangod_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT arangod/VocBase/bin_arangod-cleanup.obj -MD -MP -MF arangod/VocBase/$(DEPDIR)/bin_arangod-cleanup.Tpo -c -o arangod/VocBase/bin_arangod-cleanup.obj `if test -f 'arangod/VocBase/cleanup.c'; then $(CYGPATH_W) 'arangod/VocBase/cleanup.c'; else $(CYGPATH_W) '$(srcdir)/arangod/VocBase/cleanup.c'; fi`
|
||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) arangod/VocBase/$(DEPDIR)/bin_arangod-cleanup.Tpo arangod/VocBase/$(DEPDIR)/bin_arangod-cleanup.Po
|
||||
@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='arangod/VocBase/blob-collection.c' object='arangod/VocBase/bin_arangod-blob-collection.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='arangod/VocBase/cleanup.c' object='arangod/VocBase/bin_arangod-cleanup.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bin_arangod_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o arangod/VocBase/bin_arangod-blob-collection.obj `if test -f 'arangod/VocBase/blob-collection.c'; then $(CYGPATH_W) 'arangod/VocBase/blob-collection.c'; else $(CYGPATH_W) '$(srcdir)/arangod/VocBase/blob-collection.c'; fi`
|
||||
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bin_arangod_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o arangod/VocBase/bin_arangod-cleanup.obj `if test -f 'arangod/VocBase/cleanup.c'; then $(CYGPATH_W) 'arangod/VocBase/cleanup.c'; else $(CYGPATH_W) '$(srcdir)/arangod/VocBase/cleanup.c'; fi`
|
||||
|
||||
arangod/VocBase/bin_arangod-collection.o: arangod/VocBase/collection.c
|
||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bin_arangod_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT arangod/VocBase/bin_arangod-collection.o -MD -MP -MF arangod/VocBase/$(DEPDIR)/bin_arangod-collection.Tpo -c -o arangod/VocBase/bin_arangod-collection.o `test -f 'arangod/VocBase/collection.c' || echo '$(srcdir)/'`arangod/VocBase/collection.c
|
||||
|
@ -4131,6 +4156,22 @@ arangod/VocBase/bin_arangod-shadow-data.obj: arangod/VocBase/shadow-data.c
|
|||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bin_arangod_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o arangod/VocBase/bin_arangod-shadow-data.obj `if test -f 'arangod/VocBase/shadow-data.c'; then $(CYGPATH_W) 'arangod/VocBase/shadow-data.c'; else $(CYGPATH_W) '$(srcdir)/arangod/VocBase/shadow-data.c'; fi`
|
||||
|
||||
arangod/VocBase/bin_arangod-shape-collection.o: arangod/VocBase/shape-collection.c
|
||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bin_arangod_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT arangod/VocBase/bin_arangod-shape-collection.o -MD -MP -MF arangod/VocBase/$(DEPDIR)/bin_arangod-shape-collection.Tpo -c -o arangod/VocBase/bin_arangod-shape-collection.o `test -f 'arangod/VocBase/shape-collection.c' || echo '$(srcdir)/'`arangod/VocBase/shape-collection.c
|
||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) arangod/VocBase/$(DEPDIR)/bin_arangod-shape-collection.Tpo arangod/VocBase/$(DEPDIR)/bin_arangod-shape-collection.Po
|
||||
@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='arangod/VocBase/shape-collection.c' object='arangod/VocBase/bin_arangod-shape-collection.o' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bin_arangod_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o arangod/VocBase/bin_arangod-shape-collection.o `test -f 'arangod/VocBase/shape-collection.c' || echo '$(srcdir)/'`arangod/VocBase/shape-collection.c
|
||||
|
||||
arangod/VocBase/bin_arangod-shape-collection.obj: arangod/VocBase/shape-collection.c
|
||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bin_arangod_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT arangod/VocBase/bin_arangod-shape-collection.obj -MD -MP -MF arangod/VocBase/$(DEPDIR)/bin_arangod-shape-collection.Tpo -c -o arangod/VocBase/bin_arangod-shape-collection.obj `if test -f 'arangod/VocBase/shape-collection.c'; then $(CYGPATH_W) 'arangod/VocBase/shape-collection.c'; else $(CYGPATH_W) '$(srcdir)/arangod/VocBase/shape-collection.c'; fi`
|
||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) arangod/VocBase/$(DEPDIR)/bin_arangod-shape-collection.Tpo arangod/VocBase/$(DEPDIR)/bin_arangod-shape-collection.Po
|
||||
@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='arangod/VocBase/shape-collection.c' object='arangod/VocBase/bin_arangod-shape-collection.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bin_arangod_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o arangod/VocBase/bin_arangod-shape-collection.obj `if test -f 'arangod/VocBase/shape-collection.c'; then $(CYGPATH_W) 'arangod/VocBase/shape-collection.c'; else $(CYGPATH_W) '$(srcdir)/arangod/VocBase/shape-collection.c'; fi`
|
||||
|
||||
arangod/VocBase/bin_arangod-simple-collection.o: arangod/VocBase/simple-collection.c
|
||||
@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bin_arangod_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT arangod/VocBase/bin_arangod-simple-collection.o -MD -MP -MF arangod/VocBase/$(DEPDIR)/bin_arangod-simple-collection.Tpo -c -o arangod/VocBase/bin_arangod-simple-collection.o `test -f 'arangod/VocBase/simple-collection.c' || echo '$(srcdir)/'`arangod/VocBase/simple-collection.c
|
||||
@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) arangod/VocBase/$(DEPDIR)/bin_arangod-simple-collection.Tpo arangod/VocBase/$(DEPDIR)/bin_arangod-simple-collection.Po
|
||||
|
@ -4788,6 +4829,82 @@ PerfTests/bin_zserver-zserver.obj: PerfTests/zserver.cpp
|
|||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ source='PerfTests/zserver.cpp' object='PerfTests/bin_zserver-zserver.obj' libtool=no @AMDEPBACKSLASH@
|
||||
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
|
||||
@am__fastdepCXX_FALSE@ $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(bin_zserver_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o PerfTests/bin_zserver-zserver.obj `if test -f 'PerfTests/zserver.cpp'; then $(CYGPATH_W) 'PerfTests/zserver.cpp'; else $(CYGPATH_W) '$(srcdir)/PerfTests/zserver.cpp'; fi`
|
||||
install-man1: $(dist_man_MANS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(man1dir)" || $(MKDIR_P) "$(DESTDIR)$(man1dir)"
|
||||
@list=''; test -n "$(man1dir)" || exit 0; \
|
||||
{ for i in $$list; do echo "$$i"; done; \
|
||||
l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \
|
||||
sed -n '/\.1[a-z]*$$/p'; \
|
||||
} | while read p; do \
|
||||
if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
|
||||
echo "$$d$$p"; echo "$$p"; \
|
||||
done | \
|
||||
sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
|
||||
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
|
||||
sed 'N;N;s,\n, ,g' | { \
|
||||
list=; while read file base inst; do \
|
||||
if test "$$base" = "$$inst"; then list="$$list $$file"; else \
|
||||
echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man1dir)/$$inst'"; \
|
||||
$(INSTALL_DATA) "$$file" "$(DESTDIR)$(man1dir)/$$inst" || exit $$?; \
|
||||
fi; \
|
||||
done; \
|
||||
for i in $$list; do echo "$$i"; done | $(am__base_list) | \
|
||||
while read files; do \
|
||||
test -z "$$files" || { \
|
||||
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man1dir)'"; \
|
||||
$(INSTALL_DATA) $$files "$(DESTDIR)$(man1dir)" || exit $$?; }; \
|
||||
done; }
|
||||
|
||||
uninstall-man1:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list=''; test -n "$(man1dir)" || exit 0; \
|
||||
files=`{ for i in $$list; do echo "$$i"; done; \
|
||||
l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \
|
||||
sed -n '/\.1[a-z]*$$/p'; \
|
||||
} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^1][0-9a-z]*$$,1,;x' \
|
||||
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
|
||||
test -z "$$files" || { \
|
||||
echo " ( cd '$(DESTDIR)$(man1dir)' && rm -f" $$files ")"; \
|
||||
cd "$(DESTDIR)$(man1dir)" && rm -f $$files; }
|
||||
install-man8: $(dist_man_MANS)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(man8dir)" || $(MKDIR_P) "$(DESTDIR)$(man8dir)"
|
||||
@list=''; test -n "$(man8dir)" || exit 0; \
|
||||
{ for i in $$list; do echo "$$i"; done; \
|
||||
l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \
|
||||
sed -n '/\.8[a-z]*$$/p'; \
|
||||
} | while read p; do \
|
||||
if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
|
||||
echo "$$d$$p"; echo "$$p"; \
|
||||
done | \
|
||||
sed -e 'n;s,.*/,,;p;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
|
||||
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,' | \
|
||||
sed 'N;N;s,\n, ,g' | { \
|
||||
list=; while read file base inst; do \
|
||||
if test "$$base" = "$$inst"; then list="$$list $$file"; else \
|
||||
echo " $(INSTALL_DATA) '$$file' '$(DESTDIR)$(man8dir)/$$inst'"; \
|
||||
$(INSTALL_DATA) "$$file" "$(DESTDIR)$(man8dir)/$$inst" || exit $$?; \
|
||||
fi; \
|
||||
done; \
|
||||
for i in $$list; do echo "$$i"; done | $(am__base_list) | \
|
||||
while read files; do \
|
||||
test -z "$$files" || { \
|
||||
echo " $(INSTALL_DATA) $$files '$(DESTDIR)$(man8dir)'"; \
|
||||
$(INSTALL_DATA) $$files "$(DESTDIR)$(man8dir)" || exit $$?; }; \
|
||||
done; }
|
||||
|
||||
uninstall-man8:
|
||||
@$(NORMAL_UNINSTALL)
|
||||
@list=''; test -n "$(man8dir)" || exit 0; \
|
||||
files=`{ for i in $$list; do echo "$$i"; done; \
|
||||
l2='$(dist_man_MANS)'; for i in $$l2; do echo "$$i"; done | \
|
||||
sed -n '/\.8[a-z]*$$/p'; \
|
||||
} | sed -e 's,.*/,,;h;s,.*\.,,;s,^[^8][0-9a-z]*$$,8,;x' \
|
||||
-e 's,\.[0-9a-z]*$$,,;$(transform);G;s,\n,.,'`; \
|
||||
test -z "$$files" || { \
|
||||
echo " ( cd '$(DESTDIR)$(man8dir)' && rm -f" $$files ")"; \
|
||||
cd "$(DESTDIR)$(man8dir)" && rm -f $$files; }
|
||||
install-arangosysconfDATA: $(arangosysconf_DATA)
|
||||
@$(NORMAL_INSTALL)
|
||||
test -z "$(arangosysconfdir)" || $(MKDIR_P) "$(DESTDIR)$(arangosysconfdir)"
|
||||
|
@ -4885,6 +5002,19 @@ distclean-tags:
|
|||
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH tags
|
||||
|
||||
distdir: $(DISTFILES)
|
||||
@list='$(MANS)'; if test -n "$$list"; then \
|
||||
list=`for p in $$list; do \
|
||||
if test -f $$p; then d=; else d="$(srcdir)/"; fi; \
|
||||
if test -f "$$d$$p"; then echo "$$d$$p"; else :; fi; done`; \
|
||||
if test -n "$$list" && \
|
||||
grep 'ab help2man is required to generate this page' $$list >/dev/null; then \
|
||||
echo "error: found man pages containing the \`missing help2man' replacement text:" >&2; \
|
||||
grep -l 'ab help2man is required to generate this page' $$list | sed 's/^/ /' >&2; \
|
||||
echo " to fix them, install help2man, remove and regenerate the man pages;" >&2; \
|
||||
echo " typically \`make maintainer-clean' will remove them" >&2; \
|
||||
exit 1; \
|
||||
else :; fi; \
|
||||
else :; fi
|
||||
$(am__remove_distdir)
|
||||
test -d "$(distdir)" || mkdir "$(distdir)"
|
||||
@srcdirstrip=`echo "$(srcdir)" | sed 's/[].[^$$\\*]/\\\\&/g'`; \
|
||||
|
@ -5034,9 +5164,9 @@ distcleancheck: distclean
|
|||
check-am: all-am
|
||||
check: $(BUILT_SOURCES)
|
||||
$(MAKE) $(AM_MAKEFLAGS) check-am
|
||||
all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(DATA)
|
||||
all-am: Makefile $(LIBRARIES) $(PROGRAMS) $(MANS) $(DATA)
|
||||
installdirs:
|
||||
for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(arangosysconfdir)" "$(DESTDIR)$(pkgdatadir)"; do \
|
||||
for dir in "$(DESTDIR)$(bindir)" "$(DESTDIR)$(sbindir)" "$(DESTDIR)$(man1dir)" "$(DESTDIR)$(man8dir)" "$(DESTDIR)$(arangosysconfdir)" "$(DESTDIR)$(pkgdatadir)"; do \
|
||||
test -z "$$dir" || $(MKDIR_P) "$$dir"; \
|
||||
done
|
||||
install: $(BUILT_SOURCES)
|
||||
|
@ -5183,7 +5313,8 @@ info: info-am
|
|||
|
||||
info-am:
|
||||
|
||||
install-data-am: install-arangosysconfDATA install-nobase_pkgdataDATA
|
||||
install-data-am: install-arangosysconfDATA install-man \
|
||||
install-nobase_pkgdataDATA
|
||||
|
||||
install-dvi: install-dvi-am
|
||||
|
||||
|
@ -5199,7 +5330,7 @@ install-info: install-info-am
|
|||
|
||||
install-info-am:
|
||||
|
||||
install-man:
|
||||
install-man: install-man1 install-man8
|
||||
|
||||
install-pdf: install-pdf-am
|
||||
|
||||
|
@ -5231,7 +5362,10 @@ ps: ps-am
|
|||
ps-am:
|
||||
|
||||
uninstall-am: uninstall-arangosysconfDATA uninstall-binPROGRAMS \
|
||||
uninstall-nobase_pkgdataDATA uninstall-sbinPROGRAMS
|
||||
uninstall-man uninstall-nobase_pkgdataDATA \
|
||||
uninstall-sbinPROGRAMS
|
||||
|
||||
uninstall-man: uninstall-man1 uninstall-man8
|
||||
|
||||
.MAKE: all check install install-am install-strip
|
||||
|
||||
|
@ -5246,13 +5380,14 @@ uninstall-am: uninstall-arangosysconfDATA uninstall-binPROGRAMS \
|
|||
install-arangosysconfDATA install-binPROGRAMS install-data \
|
||||
install-data-am install-dvi install-dvi-am install-exec \
|
||||
install-exec-am install-html install-html-am install-info \
|
||||
install-info-am install-man install-nobase_pkgdataDATA \
|
||||
install-pdf install-pdf-am install-ps install-ps-am \
|
||||
install-sbinPROGRAMS install-strip installcheck \
|
||||
installcheck-am installdirs maintainer-clean \
|
||||
install-info-am install-man install-man1 install-man8 \
|
||||
install-nobase_pkgdataDATA install-pdf install-pdf-am \
|
||||
install-ps install-ps-am install-sbinPROGRAMS install-strip \
|
||||
installcheck installcheck-am installdirs maintainer-clean \
|
||||
maintainer-clean-generic mostlyclean mostlyclean-compile \
|
||||
mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
|
||||
uninstall-am uninstall-arangosysconfDATA uninstall-binPROGRAMS \
|
||||
uninstall-man uninstall-man1 uninstall-man8 \
|
||||
uninstall-nobase_pkgdataDATA uninstall-sbinPROGRAMS
|
||||
|
||||
|
||||
|
@ -5371,6 +5506,7 @@ start-server:
|
|||
|
||||
@test -d "$(VOCDIR)"
|
||||
|
||||
$(VALGRIND) @builddir@/bin/arango-upgrade --database.directory "$(VOCDIR)"
|
||||
($(VALGRIND) @builddir@/bin/arangod "$(VOCDIR)" $(SERVER_OPT) --pid-file $(PIDFILE) --watch-process $(PID) && rm -rf "$(VOCDIR)") &
|
||||
|
||||
@test "$(PROTO)" == "unix" || (rm -f "$(STARTFILE)"; while [ ! -s "$(STARTFILE)" ]; do $(CURL) $(CURL_OPT) --insecure -X GET -s "$(PROTO)://$(VOCHOST):$(VOCPORT)/_api/version" > "$(STARTFILE)" || sleep 2; done)
|
||||
|
@ -5428,6 +5564,7 @@ unittests-shell-server:
|
|||
@rm -rf "$(VOCDIR)"
|
||||
@mkdir "$(VOCDIR)"
|
||||
|
||||
$(VALGRIND) @builddir@/bin/arango-upgrade --database.directory "$(VOCDIR)"
|
||||
$(VALGRIND) @builddir@/bin/arangod "$(VOCDIR)" $(SERVER_OPT) $(UNITTESTS_SERVER) || test "x$(FORCE)" == "x1"
|
||||
|
||||
@rm -rf "$(VOCDIR)"
|
||||
|
@ -5445,6 +5582,7 @@ unittests-shell-server-ahuacatl:
|
|||
@rm -rf "$(VOCDIR)"
|
||||
@mkdir "$(VOCDIR)"
|
||||
|
||||
@test "x$(SKIP_AHUACATL)" == "x1" || $(VALGRIND) @builddir@/bin/arango-upgrade --database.directory "$(VOCDIR)"
|
||||
@test "x$(SKIP_AHUACATL)" == "x1" || $(VALGRIND) @builddir@/bin/arangod "$(VOCDIR)" $(SERVER_OPT) $(UNITTESTS_SERVER_AHUACATL) || test "x$(FORCE)" == "x1"
|
||||
@test "x$(SKIP_AHUACATL)" == "x1" || test "x$(SKIP_RANGES)" == "x1" || $(VALGRIND) @builddir@/bin/arangod "$(VOCDIR)" $(SERVER_OPT) $(UNITTESTS_SERVER_AHUACATL_EXTENDED) || test "x$(FORCE)" == "x1"
|
||||
|
||||
|
@ -5560,6 +5698,7 @@ unittests-bitarray-index:
|
|||
@rm -rf "$(VOCDIR)"
|
||||
@mkdir "$(VOCDIR)"
|
||||
|
||||
$(VALGRIND) @builddir@/bin/arango-upgrade --database.directory "$(VOCDIR)"
|
||||
$(VALGRIND) @builddir@/bin/arangod "$(VOCDIR)" $(SERVER_OPT) $(UNITTESTS_SERVER_BITARRAY) || test "x$(FORCE)" == "x1"
|
||||
|
||||
@ rm -rf "$(VOCDIR)"
|
||||
|
@ -5602,6 +5741,8 @@ built-sources: build.h errorfiles $(JAVASCRIPT_HEADER)
|
|||
|
||||
Doxygen/.setup-directories:
|
||||
@test -d Doxygen || mkdir Doxygen
|
||||
@test -d Doxygen/doc || mkdir Doxygen/doc
|
||||
@test -d Doxygen/doc/images || mkdir Doxygen/doc/images
|
||||
@test -d Doxygen/js || mkdir Doxygen/js
|
||||
@test -d Doxygen/js/actions || mkdir Doxygen/js/actions
|
||||
@test -d Doxygen/js/actions/system || mkdir Doxygen/js/actions/system
|
||||
|
@ -5611,11 +5752,13 @@ Doxygen/.setup-directories:
|
|||
@test -d Doxygen/js/server || mkdir Doxygen/js/server
|
||||
@test -d Doxygen/js/server/modules || mkdir Doxygen/js/server/modules
|
||||
@test -d Doxygen/js/client || mkdir Doxygen/js/client
|
||||
@test -d Doxygen/doc || mkdir Doxygen/doc
|
||||
@test -d Doxygen/doc/images || mkdir Doxygen/doc/images
|
||||
@test -d Doxygen/wiki || mkdir Doxygen/wiki
|
||||
@test -d Doxygen/latex || mkdir Doxygen/latex
|
||||
@test -d Doxygen/latex/images || mkdir Doxygen/latex/images
|
||||
@test -d Doxygen/man || mkdir Doxygen/man
|
||||
@test -d Doxygen/man/man1 || mkdir Doxygen/man/man1
|
||||
@test -d Doxygen/man/man8 || mkdir Doxygen/man/man8
|
||||
@test -d Doxygen/wiki || mkdir Doxygen/wiki
|
||||
@test -d Doxygen/xml || mkdir Doxygen/xml
|
||||
@touch $@
|
||||
|
||||
Doxygen/js/actions/system/%.c: @srcdir@/js/actions/system/%.js Doxygen/.setup-directories
|
||||
|
@ -5705,6 +5848,15 @@ latex: Doxygen/.setup-directories Doxygen/arango-latex.doxy $(DOXYGEN)
|
|||
python @top_srcdir@/Documentation/Scripts/tex2tex.py Doxygen/latex/ImpManual.tex > Doxygen/latex/ImpManual.inc.tex
|
||||
cd Doxygen/latex && pdflatex -interaction batchmode imp-manual.tex || true
|
||||
|
||||
################################################################################
|
||||
### @brief man pages
|
||||
################################################################################
|
||||
|
||||
.PHONY: man
|
||||
|
||||
man: Doxygen/.setup-directories
|
||||
for section in 1 8; do for i in `ls Documentation/man$$section`; do sed -f Documentation/Scripts/man.sed -e "s/\<SECTION\>/$$section/" -e "s/\<COMMAND\>/$$i/g" -e "s/DATE/`date`/g" Documentation/man$$section/$$i > Doxygen/man/man$$section/$$i.$$section; done; done
|
||||
|
||||
################################################################################
|
||||
################################################################################
|
||||
|
||||
|
|
|
@ -39,7 +39,14 @@ describe ArangoDB do
|
|||
collections = doc.parsed_response['collections']
|
||||
names = doc.parsed_response['names']
|
||||
|
||||
collections.length.should eq(3)
|
||||
found = 0
|
||||
for n in names do
|
||||
if n[0] == "units" or n[0] == "employees" or n[0] == "locations"
|
||||
found = found + 1
|
||||
end
|
||||
end
|
||||
|
||||
found.should eq(3)
|
||||
|
||||
for collection in collections do
|
||||
names[collection['name']].should eq(collection)
|
||||
|
|
|
@ -170,6 +170,42 @@ describe ArangoDB do
|
|||
doc.parsed_response['code'].should eq(400)
|
||||
end
|
||||
|
||||
it "creates a cursor and deletes it in the middle" do
|
||||
cmd = api
|
||||
body = "{ \"query\" : \"FOR u IN #{@cn} LIMIT 5 RETURN u.n\", \"count\" : true, \"batchSize\" : 2 }"
|
||||
doc = ArangoDB.log_post("#{prefix}-create-for-limit-return", cmd, :body => body)
|
||||
|
||||
doc.code.should eq(201)
|
||||
doc.headers['content-type'].should eq("application/json")
|
||||
doc.parsed_response['error'].should eq(false)
|
||||
doc.parsed_response['code'].should eq(201)
|
||||
doc.parsed_response['id'].should be_kind_of(Integer)
|
||||
doc.parsed_response['hasMore'].should eq(true)
|
||||
doc.parsed_response['count'].should eq(5)
|
||||
doc.parsed_response['result'].length.should eq(2)
|
||||
|
||||
id = doc.parsed_response['id']
|
||||
|
||||
cmd = api + "/#{id}"
|
||||
doc = ArangoDB.log_put("#{prefix}-create-for-limit-return-cont", cmd)
|
||||
|
||||
doc.code.should eq(200)
|
||||
doc.headers['content-type'].should eq("application/json")
|
||||
doc.parsed_response['error'].should eq(false)
|
||||
doc.parsed_response['code'].should eq(200)
|
||||
doc.parsed_response['hasMore'].should eq(true)
|
||||
doc.parsed_response['count'].should eq(5)
|
||||
doc.parsed_response['result'].length.should eq(2)
|
||||
|
||||
cmd = api + "/#{id}"
|
||||
doc = ArangoDB.log_delete("#{prefix}-delete", cmd)
|
||||
|
||||
doc.code.should eq(202)
|
||||
doc.headers['content-type'].should eq("application/json")
|
||||
doc.parsed_response['error'].should eq(false)
|
||||
doc.parsed_response['code'].should eq(202)
|
||||
end
|
||||
|
||||
it "deleting a cursor" do
|
||||
cmd = api
|
||||
body = "{ \"query\" : \"FOR u IN #{@cn} LIMIT 5 RETURN u.n\", \"count\" : true, \"batchSize\" : 2 }"
|
||||
|
@ -194,6 +230,51 @@ describe ArangoDB do
|
|||
doc.parsed_response['error'].should eq(false)
|
||||
doc.parsed_response['code'].should eq(202)
|
||||
end
|
||||
|
||||
it "deleting a deleted cursor" do
|
||||
cmd = api
|
||||
body = "{ \"query\" : \"FOR u IN #{@cn} LIMIT 5 RETURN u.n\", \"count\" : true, \"batchSize\" : 2 }"
|
||||
doc = ArangoDB.post(cmd, :body => body)
|
||||
|
||||
doc.code.should eq(201)
|
||||
doc.headers['content-type'].should eq("application/json")
|
||||
doc.parsed_response['error'].should eq(false)
|
||||
doc.parsed_response['code'].should eq(201)
|
||||
doc.parsed_response['id'].should be_kind_of(Integer)
|
||||
doc.parsed_response['hasMore'].should eq(true)
|
||||
doc.parsed_response['count'].should eq(5)
|
||||
doc.parsed_response['result'].length.should eq(2)
|
||||
|
||||
id = doc.parsed_response['id']
|
||||
|
||||
cmd = api + "/#{id}"
|
||||
doc = ArangoDB.log_delete("#{prefix}-delete", cmd)
|
||||
|
||||
doc.code.should eq(202)
|
||||
doc.headers['content-type'].should eq("application/json")
|
||||
doc.parsed_response['error'].should eq(false)
|
||||
doc.parsed_response['code'].should eq(202)
|
||||
|
||||
doc = ArangoDB.log_delete("#{prefix}-delete", cmd)
|
||||
|
||||
doc.code.should eq(400)
|
||||
doc.headers['content-type'].should eq("application/json")
|
||||
doc.parsed_response['error'].should eq(true)
|
||||
doc.parsed_response['errorNum'].should eq(1600);
|
||||
doc.parsed_response['code'].should eq(400)
|
||||
end
|
||||
|
||||
it "deleting an invalid cursor" do
|
||||
cmd = api
|
||||
cmd = api + "/999999" # we assume this cursor id is invalid
|
||||
doc = ArangoDB.log_delete("#{prefix}-delete", cmd)
|
||||
|
||||
doc.code.should eq(400)
|
||||
doc.headers['content-type'].should eq("application/json")
|
||||
doc.parsed_response['error'].should eq(true);
|
||||
doc.parsed_response['errorNum'].should eq(1600);
|
||||
doc.parsed_response['code'].should eq(400)
|
||||
end
|
||||
end
|
||||
|
||||
################################################################################
|
||||
|
|
|
@ -109,6 +109,7 @@ start-server:
|
|||
|
||||
@test -d "$(VOCDIR)"
|
||||
|
||||
$(VALGRIND) @builddir@/bin/arango-upgrade --database.directory "$(VOCDIR)"
|
||||
($(VALGRIND) @builddir@/bin/arangod "$(VOCDIR)" $(SERVER_OPT) --pid-file $(PIDFILE) --watch-process $(PID) && rm -rf "$(VOCDIR)") &
|
||||
|
||||
@test "$(PROTO)" == "unix" || (rm -f "$(STARTFILE)"; while [ ! -s "$(STARTFILE)" ]; do $(CURL) $(CURL_OPT) --insecure -X GET -s "$(PROTO)://$(VOCHOST):$(VOCPORT)/_api/version" > "$(STARTFILE)" || sleep 2; done)
|
||||
|
@ -222,6 +223,7 @@ unittests-shell-server:
|
|||
@rm -rf "$(VOCDIR)"
|
||||
@mkdir "$(VOCDIR)"
|
||||
|
||||
$(VALGRIND) @builddir@/bin/arango-upgrade --database.directory "$(VOCDIR)"
|
||||
$(VALGRIND) @builddir@/bin/arangod "$(VOCDIR)" $(SERVER_OPT) $(UNITTESTS_SERVER) || test "x$(FORCE)" == "x1"
|
||||
|
||||
@rm -rf "$(VOCDIR)"
|
||||
|
@ -288,6 +290,7 @@ unittests-shell-server-ahuacatl:
|
|||
@rm -rf "$(VOCDIR)"
|
||||
@mkdir "$(VOCDIR)"
|
||||
|
||||
@test "x$(SKIP_AHUACATL)" == "x1" || $(VALGRIND) @builddir@/bin/arango-upgrade --database.directory "$(VOCDIR)"
|
||||
@test "x$(SKIP_AHUACATL)" == "x1" || $(VALGRIND) @builddir@/bin/arangod "$(VOCDIR)" $(SERVER_OPT) $(UNITTESTS_SERVER_AHUACATL) || test "x$(FORCE)" == "x1"
|
||||
@test "x$(SKIP_AHUACATL)" == "x1" || test "x$(SKIP_RANGES)" == "x1" || $(VALGRIND) @builddir@/bin/arangod "$(VOCDIR)" $(SERVER_OPT) $(UNITTESTS_SERVER_AHUACATL_EXTENDED) || test "x$(FORCE)" == "x1"
|
||||
|
||||
|
@ -424,6 +427,7 @@ unittests-bitarray-index:
|
|||
@rm -rf "$(VOCDIR)"
|
||||
@mkdir "$(VOCDIR)"
|
||||
|
||||
$(VALGRIND) @builddir@/bin/arango-upgrade --database.directory "$(VOCDIR)"
|
||||
$(VALGRIND) @builddir@/bin/arangod "$(VOCDIR)" $(SERVER_OPT) $(UNITTESTS_SERVER_BITARRAY) || test "x$(FORCE)" == "x1"
|
||||
|
||||
@ rm -rf "$(VOCDIR)"
|
||||
|
|
|
@ -402,12 +402,15 @@ bool TRI_ReadLockCollectionsAql (TRI_aql_context_t* const context) {
|
|||
lockResult = documentCollection->beginRead(documentCollection);
|
||||
if (lockResult != TRI_ERROR_NO_ERROR) {
|
||||
// couldn't acquire the read lock
|
||||
LOG_WARNING("couldn't acquire read-lock on collection '%s'", collection->_name);
|
||||
|
||||
result = false;
|
||||
TRI_SetErrorContextAql(context, TRI_ERROR_QUERY_COLLECTION_LOCK_FAILED, collection->_name);
|
||||
break;
|
||||
}
|
||||
else {
|
||||
collection->_readLocked = true;
|
||||
TRI_AQL_LOG("read-locked collection '%s'", collection->_name);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -449,6 +452,7 @@ void TRI_ReadUnlockCollectionsAql (TRI_aql_context_t* const context) {
|
|||
|
||||
documentCollection->endRead(documentCollection);
|
||||
collection->_readLocked = false;
|
||||
TRI_AQL_LOG("read-unlocked collection '%s'", collection->_name);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -84,8 +84,12 @@
|
|||
///////////////////////////////////////////////////////////////
|
||||
///
|
||||
/// Database documents are stored in memory-mapped files. Per default, these
|
||||
/// memory-mapped files are synced frequently - storing all documents securely
|
||||
/// at once (durability).
|
||||
/// memory-mapped files are synced regularly but not instantly. This is often a
|
||||
/// good tradeoff between storage performance and durability. If this level of
|
||||
/// durabiity is too low for an application, the server can also sync all
|
||||
/// modifications to disk instantly. This will give full durability but will come
|
||||
/// with a performance penalty as each data modification will trigger a sync
|
||||
/// I/O operation.
|
||||
///
|
||||
/// @section DbaManualBasicsMvcc AppendOnly/MVCC
|
||||
////////////////////////////////////////////////
|
||||
|
@ -163,14 +167,14 @@
|
|||
///
|
||||
/// @EMBEDTOC{DbaManualDatafileDebuggerTOC}
|
||||
///
|
||||
/// AranagoDB uses append-only journals. The corruption should only occur when
|
||||
/// the database server is kill. In this case, the corruption should only
|
||||
/// AranagoDB uses append-only journals. Data corruption should only occur when
|
||||
/// the database server is killed. In this case, the corruption should only
|
||||
/// occur in the last object(s) being written to the journal.
|
||||
///
|
||||
/// If a corruption occurs within a normal datafile, then this can only happen
|
||||
/// if a hardware fault occurred.
|
||||
///
|
||||
/// If a journal or datafile is corrupt, shutdown the database server and start
|
||||
/// If a journal or datafile is corrupt, shut down the database server and start
|
||||
/// the program
|
||||
///
|
||||
/// @LIT{arango-dfdb}
|
||||
|
|
|
@ -1,87 +0,0 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief over the wire protocol
|
||||
///
|
||||
/// @file
|
||||
///
|
||||
/// DISCLAIMER
|
||||
///
|
||||
/// Copyright 2012 triagens GmbH, Cologne, Germany
|
||||
///
|
||||
/// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
/// you may not use this file except in compliance with the License.
|
||||
/// You may obtain a copy of the License at
|
||||
///
|
||||
/// http://www.apache.org/licenses/LICENSE-2.0
|
||||
///
|
||||
/// Unless required by applicable law or agreed to in writing, software
|
||||
/// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
/// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
/// See the License for the specific language governing permissions and
|
||||
/// limitations under the License.
|
||||
///
|
||||
/// Copyright holder is triAGENS GmbH, Cologne, Germany
|
||||
///
|
||||
/// @author Dr. Frank Celler
|
||||
/// @author Copyright 2012, triAGENS GmbH, Cologne, Germany
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @page ExamplesSetup Preparing the Examples
|
||||
///
|
||||
/// Some examples in the manuals assume that you have created the following
|
||||
/// collections:
|
||||
///
|
||||
/// - demo
|
||||
/// - five
|
||||
/// - geo
|
||||
///
|
||||
/// Some of the examples may destroy the collection. In that case you can
|
||||
/// use one of the following script to restore the collection.
|
||||
///
|
||||
/// @LIT{examples.js}: A JavaScript script usable within the ArangoDB shell to
|
||||
/// regenerate the above collections.
|
||||
///
|
||||
/// @LIT{examples.sh}: A shell script using curl to setup the collections. The
|
||||
/// script works without any additional client, but will not be able to detect
|
||||
/// any errors.
|
||||
///
|
||||
/// @section ExamplesSetupDemo Collection "demo"
|
||||
////////////////////////////////////////////////
|
||||
///
|
||||
/// @verbinclude demo1
|
||||
///
|
||||
/// was generated by
|
||||
///
|
||||
/// @verbinclude demo.js
|
||||
///
|
||||
/// @section ExamplesSetupFive Collection "five"
|
||||
////////////////////////////////////////////////
|
||||
///
|
||||
/// The collection "five" has a unique constraint on the attribute @LIT{a},
|
||||
/// and a second unique constraint on the attribute @LIT{b}.
|
||||
///
|
||||
/// @verbinclude five1
|
||||
///
|
||||
/// was generated by
|
||||
///
|
||||
/// @verbinclude five.js
|
||||
///
|
||||
/// @section ExamplesSetupGeo Collection "geo"
|
||||
//////////////////////////////////////////////
|
||||
///
|
||||
/// The collection "geo" has two geo fields, one @LIT{home} being a list with
|
||||
/// two elements, one @LIT{work} being an hash array with latitude @LIT{b} and
|
||||
/// longitude @LIT{l}.
|
||||
///
|
||||
/// @verbinclude geojs1
|
||||
///
|
||||
/// was generated by
|
||||
///
|
||||
/// @verbinclude geo.js
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// Local Variables:
|
||||
// mode: c++
|
||||
// mode: outline-minor
|
||||
// outline-regexp: "^\\(/// @brief\\|/// {@inheritDoc}\\|/// @addtogroup\\|// --SECTION--\\|/// @page\\|/// @\\}\\)"
|
||||
// End:
|
|
@ -468,7 +468,7 @@
|
|||
/// - the GNU ncurses library in version 5 or 6
|
||||
/// - boost header files, at least version 1.33
|
||||
///
|
||||
/// To compile Google V8 yourself, you will also need SCons.
|
||||
/// To compile Google V8 yourself, you will also need Python 2 and SCons.
|
||||
///
|
||||
/// Some distributions, for example Centos 5, provide only very out-dated
|
||||
/// versions of FLEX, BISON, and the V8 engine. In that case you need to compile
|
||||
|
|
|
@ -74,9 +74,6 @@
|
|||
/// All documents contain two special fields, the document handle in @LIT{_id}
|
||||
/// and the etag aka document revision in @LIT{_rev}.
|
||||
///
|
||||
/// Some examples in the manual assume that you have created some example
|
||||
/// collections, see @ref ExamplesSetup.
|
||||
///
|
||||
/// @copydoc GlossaryDocumentHandle
|
||||
///
|
||||
/// @copydoc GlossaryDocumentIdentifier
|
||||
|
|
|
@ -88,9 +88,6 @@
|
|||
/// All documents contain two special fields, the document handle in @LIT{_id}
|
||||
/// and the etag aka document revision in @LIT{_rev}.
|
||||
///
|
||||
/// Some examples in the manual assume that you have created some example
|
||||
/// collections, see @ref ExamplesSetup.
|
||||
///
|
||||
/// @copydoc GlossaryDocumentHandle
|
||||
///
|
||||
/// @copydoc GlossaryDocumentIdentifier
|
||||
|
|
|
@ -154,14 +154,18 @@
|
|||
///////////////////////////////////////////////////////////////////
|
||||
///
|
||||
/// The ArangoDB database server has two modes of operation: as server, where it
|
||||
/// will answer to client requests and an emergency console, in which you can
|
||||
/// will answer to client requests, and an emergency console, in which you can
|
||||
/// access the database directly. The latter - as the name suggests - should
|
||||
/// only be used in case of an emergency, for example, a corrupted
|
||||
/// collection. Using the emergency console allows you to issue all commands
|
||||
/// normally available in actions and transactions.
|
||||
/// normally available in actions and transactions. When starting the server in
|
||||
/// emergency console mode, the server cannot handle any client requests.
|
||||
///
|
||||
/// You should never start more than one server for the same database,
|
||||
/// independent from the mode of operation.
|
||||
/// You should never start more than one server using the same database directory,
|
||||
/// independent from the mode of operation. Normally ArangoDB will prevent
|
||||
/// you from doing this by placing a lockfile in the database directory and
|
||||
/// not allowing a second ArangoDB instance to use the same database directory
|
||||
/// if a lockfile is already present.
|
||||
///
|
||||
/// The following command starts the ArangoDB database in server mode. You will
|
||||
/// be able to access the server using HTTP requests on port 8529. See @ref
|
||||
|
@ -176,6 +180,31 @@
|
|||
///
|
||||
/// to access the administration front-end.
|
||||
///
|
||||
/// To start the server at system boot time, you should use one of the
|
||||
/// pre-rolled packages that will install the necessary start / stop
|
||||
/// scripts for ArangoDB. To start and stop the server manually, you can
|
||||
/// use the start / stop script like this (provided the start / stop script
|
||||
/// is located in /etc/init.d/arangod, the command actual name and invocation are
|
||||
/// platform-dependent):
|
||||
///
|
||||
/// @LIT{/etc/init.d/arangod start}
|
||||
///
|
||||
/// To stop the server, you can use the command
|
||||
///
|
||||
/// @LIT{/etc/init.d/arangod stop}
|
||||
///
|
||||
/// You may require root privileges to execute these commands.
|
||||
///
|
||||
/// If you compiled ArangoDB from source and did not use any installation
|
||||
/// package, or you are using non-default locations and/or multiple ArangoDB
|
||||
/// instances on the same host, you may want to start the server process
|
||||
/// manually. You can do so by invoking the arangod binary from the command
|
||||
/// line as shown before. To stop the database server gracefully, you can
|
||||
/// either pressCTRL-C or by send the SIGINT signal to the server process.
|
||||
/// On many systems, this can be achieved with the following command:
|
||||
///
|
||||
/// @LIT{kill -2 `pidof arangod`}
|
||||
///
|
||||
/// @subsection UserManualServerStartStopOptions Frequently Used Options
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
///
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief MR enigne configuration
|
||||
/// @brief MR engine configuration
|
||||
///
|
||||
/// @file
|
||||
///
|
||||
|
@ -28,6 +28,8 @@
|
|||
#include "ApplicationMR.h"
|
||||
|
||||
#include "Basics/ConditionLocker.h"
|
||||
#include "Basics/ReadLocker.h"
|
||||
#include "Basics/WriteLocker.h"
|
||||
#include "Logger/Logger.h"
|
||||
#include "MRServer/mr-actions.h"
|
||||
#include "VocBase/vocbase.h"
|
||||
|
@ -58,16 +60,42 @@ namespace {
|
|||
public:
|
||||
MRGcThread (ApplicationMR* applicationMR)
|
||||
: Thread("mr-gc"),
|
||||
_applicationMR(applicationMR) {
|
||||
_applicationMR(applicationMR),
|
||||
_lock(),
|
||||
_lastGcStamp(TRI_microtime()) {
|
||||
}
|
||||
|
||||
public:
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief collect garbage in an endless loop (main functon of GC thread)
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void run () {
|
||||
_applicationMR->collectGarbage();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief get the timestamp of the last GC
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
double getLastGcStamp () {
|
||||
READ_LOCKER(_lock);
|
||||
return _lastGcStamp;
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief set the global GC timestamp
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void updateGcStamp (double value) {
|
||||
WRITE_LOCKER(_lock);
|
||||
}
|
||||
|
||||
private:
|
||||
ApplicationMR* _applicationMR;
|
||||
ReadWriteLock _lock;
|
||||
double _lastGcStamp;
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -99,6 +127,7 @@ ApplicationMR::ApplicationMR (string const& binaryPath)
|
|||
_startupModules(),
|
||||
_actionPath(),
|
||||
_gcInterval(1000),
|
||||
_gcFrequency(10.0),
|
||||
_startupLoader(),
|
||||
_actionLoader(),
|
||||
_vocbase(0),
|
||||
|
@ -171,16 +200,25 @@ ApplicationMR::MRContext* ApplicationMR::enterContext () {
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void ApplicationMR::exitContext (MRContext* context) {
|
||||
MRGcThread* gc = dynamic_cast<MRGcThread*>(_gcThread);
|
||||
assert(gc != 0);
|
||||
double lastGc = gc->getLastGcStamp();
|
||||
|
||||
++context->_dirt;
|
||||
|
||||
{
|
||||
CONDITION_LOCKER(guard, _contextCondition);
|
||||
|
||||
if (context->_dirt < _gcInterval) {
|
||||
_freeContexts.push_back(context);
|
||||
if (context->_lastGcStamp + _gcFrequency < lastGc) {
|
||||
LOGGER_TRACE << "periodic gc interval reached";
|
||||
_dirtyContexts.push_back(context);
|
||||
}
|
||||
else if (context->_dirt >= _gcInterval) {
|
||||
LOGGER_TRACE << "maximum number of requests reached";
|
||||
_dirtyContexts.push_back(context);
|
||||
}
|
||||
else {
|
||||
_dirtyContexts.push_back(context);
|
||||
_freeContexts.push_back(context);
|
||||
}
|
||||
|
||||
guard.broadcast();
|
||||
|
@ -194,28 +232,50 @@ void ApplicationMR::exitContext (MRContext* context) {
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void ApplicationMR::collectGarbage () {
|
||||
MRGcThread* gc = dynamic_cast<MRGcThread*>(_gcThread);
|
||||
assert(gc != 0);
|
||||
uint64_t waitTime = (uint64_t) (_gcFrequency * 1000.0 * 1000.0);
|
||||
|
||||
while (_stopping == 0) {
|
||||
MRContext* context = 0;
|
||||
bool gotSignal = false;
|
||||
|
||||
{
|
||||
CONDITION_LOCKER(guard, _contextCondition);
|
||||
|
||||
if (_dirtyContexts.empty()) {
|
||||
guard.wait();
|
||||
// check whether we got a wait timeout or a signal
|
||||
gotSignal = guard.wait(waitTime);
|
||||
}
|
||||
|
||||
if (! _dirtyContexts.empty()) {
|
||||
context = _dirtyContexts.back();
|
||||
_dirtyContexts.pop_back();
|
||||
}
|
||||
else if (! gotSignal && ! _freeContexts.empty()) {
|
||||
// we timed out waiting for a signal
|
||||
|
||||
// do nothing for now
|
||||
// TODO: fix this if MRuby needs some proactive GC
|
||||
context = 0;
|
||||
|
||||
// TODO: pick one of the free contexts to clean up, based on its last GC stamp
|
||||
// this is already implemented in ApplicationV8::pickContextForFc()
|
||||
// if necessary for MRuby, the code in pickContextForGc() can be used as a prototype
|
||||
}
|
||||
}
|
||||
|
||||
// update last gc time
|
||||
double lastGc = TRI_microtime();
|
||||
gc->updateGcStamp(lastGc);
|
||||
|
||||
if (context != 0) {
|
||||
LOGGER_TRACE << "collecting MR garbage";
|
||||
|
||||
// TODO
|
||||
|
||||
context->_dirt = 0;
|
||||
context->_lastGcStamp = lastGc;
|
||||
|
||||
{
|
||||
CONDITION_LOCKER(guard, _contextCondition);
|
||||
|
@ -254,7 +314,8 @@ void ApplicationMR::disableActions () {
|
|||
|
||||
void ApplicationMR::setupOptions (map<string, basics::ProgramOptionsDescription>& options) {
|
||||
options["RUBY Options:help-admin"]
|
||||
("ruby.gc-interval", &_gcInterval, "Ruby garbage collection interval (each x requests)")
|
||||
("ruby.gc-interval", &_gcInterval, "Ruby request-based garbage collection interval (each x requests)")
|
||||
("ruby.gc-frequency", &_gcFrequency, "Ruby time-based garbage collection frequency (each x seconds)")
|
||||
;
|
||||
|
||||
options["RUBY Options:help-admin"]
|
||||
|
@ -407,6 +468,8 @@ bool ApplicationMR::prepareMRInstance (size_t i) {
|
|||
}
|
||||
}
|
||||
|
||||
context->_lastGcStamp = TRI_microtime();
|
||||
|
||||
// and return from the context
|
||||
LOGGER_TRACE << "initialised MR context #" << i;
|
||||
|
||||
|
|
|
@ -89,7 +89,19 @@ namespace triagens {
|
|||
|
||||
struct MRContext {
|
||||
MR_state_t* _mrs;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief number of requests since last GC of the context
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
size_t _dirt;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief timestamp of last GC for the context
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
double _lastGcStamp;
|
||||
|
||||
};
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
@ -287,16 +299,28 @@ namespace triagens {
|
|||
string _actionPath;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief JavaScript garbage collection interval (each x requests)
|
||||
/// @brief MRuby garbage collection interval (each x requests)
|
||||
///
|
||||
/// @CMDOPT{--ruby.gc-interval @CA{interval}}
|
||||
///
|
||||
/// Specifies the interval (approximately in number of requests) that the
|
||||
/// garbage collection for JavaScript objects will be run in each thread.
|
||||
/// garbage collection for MRuby objects will be run in each thread.
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
uint64_t _gcInterval;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief MRuby garbage collection frequency (each x seconds)
|
||||
///
|
||||
/// @CMDOPT{--ruby.gc-frequency @CA{frequency}}
|
||||
///
|
||||
/// Specifies the frequency in seconds for the automatic garbage collection of
|
||||
/// MRuby objects. This setting is useful to have the garbage collection
|
||||
/// still work in periods with no or little numbers of requests.
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
double _gcFrequency;
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
/// @brief MR startup loader
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
|
@ -74,7 +74,7 @@ bin_arangod_SOURCES = \
|
|||
arangod/V8Server/v8-vocbase.cpp \
|
||||
arangod/VocBase/auth.c \
|
||||
arangod/VocBase/barrier.c \
|
||||
arangod/VocBase/blob-collection.c \
|
||||
arangod/VocBase/cleanup.c \
|
||||
arangod/VocBase/collection.c \
|
||||
arangod/VocBase/compactor.c \
|
||||
arangod/VocBase/datafile.c \
|
||||
|
@ -83,6 +83,7 @@ bin_arangod_SOURCES = \
|
|||
arangod/VocBase/headers.c \
|
||||
arangod/VocBase/index.c \
|
||||
arangod/VocBase/shadow-data.c \
|
||||
arangod/VocBase/shape-collection.c \
|
||||
arangod/VocBase/simple-collection.c \
|
||||
arangod/VocBase/synchroniser.c \
|
||||
arangod/VocBase/voc-shaper.c \
|
||||
|
|
|
@ -267,6 +267,7 @@ bool RestDocumentHandler::createDocument () {
|
|||
int res = useCollection(collection, getCollectionType(), create);
|
||||
|
||||
if (res != TRI_ERROR_NO_ERROR) {
|
||||
// error is already generated by useCollection!
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -279,7 +280,7 @@ bool RestDocumentHandler::createDocument () {
|
|||
bool waitForSync = _documentCollection->base._waitForSync;
|
||||
TRI_voc_cid_t cid = _documentCollection->base._cid;
|
||||
|
||||
// note: unlocked is performed by createJson()
|
||||
// unlocking is performed in createJson()
|
||||
TRI_doc_mptr_t const mptr = _documentCollection->createJson(_documentCollection, TRI_DOC_MARKER_DOCUMENT, json, 0, reuseId, true);
|
||||
|
||||
// .............................................................................
|
||||
|
@ -411,6 +412,7 @@ bool RestDocumentHandler::readSingleDocument (bool generateBody) {
|
|||
int res = useCollection(collection, getCollectionType());
|
||||
|
||||
if (res != TRI_ERROR_NO_ERROR) {
|
||||
// error is already generated by useCollection!
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -503,6 +505,7 @@ bool RestDocumentHandler::readAllDocuments () {
|
|||
int res = useCollection(collection, getCollectionType());
|
||||
|
||||
if (res != TRI_ERROR_NO_ERROR) {
|
||||
// error is already generated by useCollection!
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -736,6 +739,7 @@ bool RestDocumentHandler::modifyDocument (bool isPatch) {
|
|||
// auto-ptr that will free JSON data when scope is left
|
||||
JsonContainer container(TRI_UNKNOWN_MEM_ZONE, parseJsonBody());
|
||||
TRI_json_t* json = container.ptr();
|
||||
|
||||
if (json == 0) {
|
||||
return false;
|
||||
}
|
||||
|
@ -753,6 +757,7 @@ bool RestDocumentHandler::modifyDocument (bool isPatch) {
|
|||
int res = useCollection(collection, getCollectionType());
|
||||
|
||||
if (res != TRI_ERROR_NO_ERROR) {
|
||||
// error is already generated by useCollection!
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -786,7 +791,9 @@ bool RestDocumentHandler::modifyDocument (bool isPatch) {
|
|||
|
||||
// read the existing document
|
||||
TRI_doc_mptr_t document = _documentCollection->read(_documentCollection, did);
|
||||
TRI_json_t* old = TRI_JsonShapedJson(_documentCollection->_shaper, &document._document);
|
||||
TRI_shaped_json_t shapedJson;
|
||||
TRI_EXTRACT_SHAPED_JSON_MARKER(shapedJson, document._data);
|
||||
TRI_json_t* old = TRI_JsonShapedJson(_documentCollection->_shaper, &shapedJson);
|
||||
|
||||
if (old != 0) {
|
||||
TRI_json_t* patchedJson = TRI_MergeJson(TRI_UNKNOWN_MEM_ZONE, old, json, nullMeansRemove);
|
||||
|
@ -933,6 +940,7 @@ bool RestDocumentHandler::deleteDocument () {
|
|||
int res = useCollection(collection, getCollectionType());
|
||||
|
||||
if (res != TRI_ERROR_NO_ERROR) {
|
||||
// error is already generated by useCollection!
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
|
@ -162,6 +162,7 @@ bool RestEdgeHandler::createDocument () {
|
|||
int res = useCollection(collection, getCollectionType(), create);
|
||||
|
||||
if (res != TRI_ERROR_NO_ERROR) {
|
||||
// error is already generated by useCollection!
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue