📜  nuget Apache.Ignite - Shell-Bash (1)

📅  最后修改于: 2023-12-03 14:44:47.932000             🧑  作者: Mango

NuGet Package: Apache.Ignite - Shell/Bash

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.

Installation

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
Usage

There are several commands available for interacting with Apache Ignite through the shell or Bash scripting. Here are a few examples:

Start Ignite

To start an Ignite node, run the following command:

./ignite.sh
Stop Ignite

To stop an Ignite node, run the following command:

./ignite.sh -stop
Create Cache

To create a new Ignite cache, run the following command:

./ignite.sh -cache myCache
Destroy Cache

To destroy an existing Ignite cache, run the following command:

./ignite.sh -destroy myCache
Query Cache

To query an Ignite cache and retrieve data, run the following command:

./ignite.sh -query "SELECT * from myCache WHERE id = 1"
Conclusion

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.