Arangoimport Options
Usage: arangoimport [<options>]
Global Options
Name | Type | Description |
---|---|---|
backslash-escape | boolean | Use backslash as the escape character for quotes, used for csv.
Default: false
|
batch-size | uint64 | Size for individual data batches (in bytes).
Default: 1048576
|
collection | string | Collection name.
Default: ""
|
configuration | string | The configuration file or 'none'.
Default: ""
|
convert | boolean | Convert the strings 'null', 'false', 'true' and strings containing numbers into non-string types (csv and tsv only).
Default: true
|
create-collection | boolean | Create collection if it does not yet exist.
Default: false
|
create-collection-type | string | Type of collection if collection is created (edge or document).
Default: "document"
Possible values:
|
create-database | boolean | Create the target database if it does not exist.
Default: false
|
file | string | File name ("-" for STDIN).
Default: ""
|
from-collection-prefix | string | _from collection name prefix (will be prepended to all values in '_from').
Default: ""
|
ignore-missing | boolean | Ignore missing columns in csv input.
Default: false
|
latency | boolean | Show 10 second latency statistics (values in microseconds).
Default: false
|
on-duplicate | string | Action to perform when a unique key constraint violation occurs. Possible values: ignore, replace, update, error.
Default: "error"
Possible values:
|
overwrite | boolean | Overwrite collection if it exist (WARNING: this will remove any data from the collection).
Default: false
|
progress | boolean | Show progress.
Default: true
|
quote | string | Quote character(s), used for csv.
Default: "\""
|
remove-attribute | string... | Remove an attribute before inserting an attribute into a collection (for csv and tsv only).
Default: []
|
separator | string | Field separator, used for csv and tsv.
Default: ""
|
skip-lines | uint64 | Number of lines to skip for formats (csv and tsv only).
Default: 0
|
threads | uint32 | Number of parallel import threads. Most useful for the rocksdb engine.
Default: 2
|
to-collection-prefix | string | _to collection name prefix (will be prepended to all values in '_to').
Default: ""
|
translate | string... | Translate an attribute name (use as --translate "from=to", for csv and tsv only).
Default: []
|
type | string | Type of import file.
Default: "json"
Possible values:
|
version | boolean | Reports the version and exits.
Default: false
|
Log Options
Name | Type | Description |
---|---|---|
log.color | boolean | Use colors for TTY logging.
Default: true
|
log.escape | boolean | Escape characters when logging.
Default: true
|
log.level | string... | The global or topic-specific log level.
Default: ["info"]
|
log.output | string... | Log destination(s).
Default: []
|
log.role | boolean | Log server role.
Default: false
|
log.use-local-time | boolean | Use local timezone instead of UTC.
Default: false
|
log.use-microtime | boolean | Use microtime instead.
Default: false
|
Server Options
Name | Type | Description |
---|---|---|
server.authentication | boolean | Require authentication credentials when connecting (does not affect the server-side authentication settings).
Default: false
|
server.connection-timeout | double | Connection timeout in seconds.
Default: 5
|
server.database | string | Database name to use when connecting.
Default: "_system"
|
server.endpoint | string | Endpoint to connect to, use 'none' to start without a server.
Default: "http+tcp://127.0.0.1:8529"
|
server.password | string | Password to use when connecting. If not specified and authentication is required, the user will be prompted for a password.
Default: ""
|
server.request-timeout | double | Request timeout in seconds.
Default: 1200
|
server.username | string | Username to use when connecting.
Default: "root"
|
Ssl Options
Name | Type | Description |
---|---|---|
ssl.protocol | uint64 | Ssl protocol (1 = SSLv2, 2 = SSLv2 or SSLv3 (negotiated), 3 = SSLv3, 4 = TLSv1, 5 = TLSV1.2).
Default: 5
Possible values:
|
Temp Options
Name | Type | Description |
---|---|---|
temp.path | string | Path for temporary files.
Default: ""
|