tree: 45e53c5f10b0bb5c5851758aa730cd24c320d477 [path history] [tgz]
  1. config/
  2. src/
  3. .gitignore
  4. pom-standalone.xml
  5. pom.xml
  6. README.md
examples/README.md

Apache Ignite 3 Examples

This project contains code examples for Apache Ignite 3.

Examples are shipped as a separate Maven project, so to start running you simply need to import provided pom.xml file into your favourite IDE.

The following examples are included:

  • RecordViewExample - demonstrates the usage of the org.apache.ignite.table.RecordView API
  • KeyValueViewExample - demonstrates the usage of the org.apache.ignite.table.KeyValueView API
  • SqlJdbcExample - demonstrates the usage of the Apache Ignite JDBC driver.
  • RebalanceExample - demonstrates the data rebalancing process.

To run the RebalanceExample, refer to its JavaDoc for instructions.

To run any other example, do the following:

  1. Import the examples project into you IDE.
  2. Start a server node using the CLI tool:
    ignite node start --config=$IGNITE_HOME/examples/config/ignite-config.json my-first-node
    
  3. Run the preferred example in the IDE.