📅  最后修改于: 2023-12-03 14:44:47.932000             🧑  作者: Mango
Apache Ignite is an open-source, distributed database that provides in-memory data processing capabilities for real-time transactional, analytical, and streaming workloads. This NuGet package for Apache Ignite allows developers to interact with the database through various shell and Bash scripting commands.
To install the Apache Ignite Shell/Bash package from NuGet, run the following command in the Visual Studio Package Manager Console:
Install-Package Apache.Ignite.Shell
There are several commands available for interacting with Apache Ignite through the shell or Bash scripting. Here are a few examples:
To start an Ignite node, run the following command:
./ignite.sh
To stop an Ignite node, run the following command:
./ignite.sh -stop
To create a new Ignite cache, run the following command:
./ignite.sh -cache myCache
To destroy an existing Ignite cache, run the following command:
./ignite.sh -destroy myCache
To query an Ignite cache and retrieve data, run the following command:
./ignite.sh -query "SELECT * from myCache WHERE id = 1"
The Apache Ignite Shell/Bash package allows developers to interact with the Ignite distributed database through convenient shell and Bash scripting commands. With these commands, developers can start and stop Ignite nodes, create and destroy caches, and query data without leaving the command line.