GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - griddb/cli: GridDB CLI(command line interface)

BranchesTags
Open more actions menu

Latest commit

 

History

65 Commits
65 Commits

Folders and files

NameName
Last commit message
Last commit date
3rd_party
3rd_party
 
 
common
common
 
 
gradle/wrapper
gradle/wrapper
 
 
installer
installer
 
 
lib
lib
 
 
sample
sample
 
 
src
src
 
 
CLA_rev1.1.pdf
CLA_rev1.1.pdf
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
Specification_en.md
Specification_en.md
 
 
Specification_ja.md
Specification_ja.md
 
 
build.gradle
build.gradle
 
 
build.xml
build.xml
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
gs_sh_logback.xml
gs_sh_logback.xml
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

GridDB

GridDB CLI

Overview

The GridDB CLI provides command line interface tool to manage GridDB cluster operations and data operations.

Operating environment

Building and program execution are checked in the environment below.

OS: Ubuntu 22.04 (x64)
GridDB Server: V5.9 CE(Community Edition)
Java: OpenJDK 1.8.0

Quick start from CLI Source Code

Preparations

Install GridDB Server with RPM or DEB package.

When you build with ant, please take the following steps.

Install GridDB Java Client library and JDBC Driver.  
And place gridstore.jar(GridDB Java Client library) and gridstore-jdbc.jar(GridDB JDBC Driver) under common/lib directory on project directory.

Build

Run the make command like the following:

$ ant

Or build with gradle:

$ ./gradlew build

and the following file is created under release/ folder.

griddb-cli.jar

Start GridDB CLI

Run GridDB CLI after build with ant:

$ CP=.
$ CP=$CP:common/lib/commons-io-2.15.1.jar:release/griddb-cli.jar:common/lib/gridstore.jar:common/lib/gridstore-jdbc.jar:common/lib/jackson-annotations-2.16.1.jar:common/lib/jackson-core-2.16.1.jar:common/lib/jackson-databind-2.16.1.jar:common/lib/javax.json-1.0.jar:common/lib/jersey-client-1.17.1.jar:common/lib/jersey-core-1.17.1.jar:common/lib/orion-ssh2-214.jar:lib/commons-beanutils-1.9.4.jar:lib/commons-cli-1.6.0.jar:lib/commons-collections-3.2.2.jar:lib/commons-lang3-3.14.0.jar:lib/commons-logging-1.3.0.jar:lib/jline-3.21.0.jar:lib/logback-classic-1.2.13.jar:lib/logback-core-1.0.13.jar:lib/opencsv-3.9.jar:lib/slf4j-api-1.7.36.jar
$ java -Xmx1024m -Dlogback.configurationFile=gs_sh_logback.xml -classpath "$CP:$CLASSPATH"  com.toshiba.mwcloud.gs.tools.shell.GridStoreShell $*
gs> version
gs_sh-ce version 5.9.0

Run GridDB CLI after build with gradle:

$ CP=.
$ CP=$CP:release/griddb-cli.jar
$ java -Xmx1024m -Dlogback.configurationFile=gs_sh_logback.xml -classpath "$CP:$CLASSPATH"  com.toshiba.mwcloud.gs.tools.shell.GridStoreShell $*
gs> version
gs_sh-ce version 5.9.0

Quick start from CLI Package

(Rocky Linux)
$ rpm -ivh griddb-X.X.X-linux.x86_64.rpm
$ rpm -ivh griddb-ce-cli-X.X.X-linux.x86_64.rpm
$ gs_sh

(Ubuntu)
$ dpkg -i griddb_x.x.x_amd64.deb
$ dpkg -i griddb-cli_X.X.X_amd64.deb
$ gs_sh

Note: - X.X.X is the GridDB version.
      - {release} is the GridDB release version.
  • Note:
    • We can download the last version of griddb-X.X.X-linux.x86_64.rpm, griddb_x.x.x_amd64.deb at https://github.com/griddb/griddb/releases/ .

Document

Refer to the file below for more detailed information.

  • Specification_en.md
  • Specification_ja.md

Community

  • Issues
    Use the GitHub issue function if you have any requests, questions, or bug reports.
  • PullRequest
    Use the GitHub pull request function if you want to contribute code. You'll need to agree GridDB Contributor License Agreement(CLA_rev1.1.pdf). By using the GitHub pull request function, you shall be deemed to have agreed to GridDB Contributor License Agreement.

License

The GridDB CLI source license is Apache License, version 2.0.

About

GridDB CLI(command line interface)

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

1 star

Watchers

4 watching

Forks

0 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.