dse gremlin-console
DSE Gremlin Console automatically connects at startup to DataStax Enterprise (DSE) server. as configured in the remote.yaml file. Override the configured host and port from the command line.
Synopsis
dse gremlin-console [-u username [-p password]] [hostname[:port]] [options]
Syntax conventions | Description |
---|---|
UPPERCASE |
Literal keyword. |
Lowercase |
Not literal. |
<`Italics>` |
Variable value. Replace with a valid option or user-defined value. |
|
Optional.
Square brackets ( |
|
Group.
Parentheses ( |
|
Or.
A vertical bar ( |
|
Repeatable.
An ellipsis ( |
|
Single quotation ( |
|
Map collection.
Braces ( |
|
Set, list, map, or tuple.
Angle brackets ( |
|
End CQL statement.
A semicolon ( |
|
Separate the command line options from the command arguments with two hyphens ( |
|
Search CQL only: Single quotation marks ( |
|
Search CQL only: Identify the entity and literal value to overwrite the XML element in the schema and solrconfig files. |
DSE connection parameters
When starting the Gremlin Console using this command it automatically connects to the host specified in the remote.yaml.
- -u username
-
When DataStax Enterprise Authentication is enabled use this option to login to the database.
Set the username in a file or as an environment variable.
- -p password
-
Optional password for DSE authentication. If omitted when a user name is specified, the password prompt appears.
Set the password in a file or as an environment variable.
- hostname
-
The hostname of the DataStax Enterprise to which the console connects. Overrides the setting in the remote.yaml.
- port
-
Port number of the DataStax Enterpise database port, default is 9042. Overrides the setting in the remote.yaml.
Options
Gremlin console options.
- -C, --color
-
Disable use of ANSI colors.
- -D, --debug
-
Enabled debug console output.
- -Q, --quiet
-
Suppress superfluous console output.
- -V, --verbose
-
Enable verbose Console output
- -e, --execute=SCRIPT_NAME [ARG1 ARG2 …]
-
Execute the specified script and close the console on completion.
- -h, --help
-
Display this help message.
- -i, --interactive=SCRIPT_NAME [ARG1 ARG2 … ]
-
Execute the specified script and leave the console open on completion.
- -l
-
Set the logging level of components that use standard logging output independent of the Console.
- -v, --version
-
Display the version.