Git Product home page Git Product logo

ignite_world_demo's Introduction

Ignite World Database Usage Sample

The project uses a dump of the word database altered for Ignite DDL syntax and shows how to:

  • Create SQL schema and preload data using prepared ignite_world.sql script.
  • Process the loaded data using SQL queries.
  • Process the loaded data using key-value operations.
  • Execute computations in the cluster.

SQL Schema Creation and Data Preloading

Download Apache Ignite 2.3 or later version: https://ignite.apache.org/download.cgi#binaries

Connect to Ignite cluster and execute the SQL script:

  1. Start one or multiple cluster nodes using command below (use ignite.bat for Windows):
{ignite_folder}/bin/ignite.sh
  1. Connect to the cluster from SQLLine using this command (use sqlline.bat for Windows):
{ignite_folder}/bin/sqlline.sh --color=true --verbose=true -u jdbc:ignite:thin://127.0.0.1/
  1. Create SQL schema and preload data executing using SQLLine syntax:
!run {path_to_the_project}/ignite_world.sql

Refer to this page to see SQLLine commands that work for Ignite: https://apacheignite-sql.readme.io/docs/sqlline

Running Java Code Samples

The project includes the following examples to run after the cluster is started and pre-loaded:

  • SqlDataProcessing - running SQL queries using Java APIs.
  • KeyValueDataProcessing - processing data with key-value APIs.
  • KeyValueBinaryDataProcessing - processing data with key-value APIs avoid objects deserialization on the cluster side.

ignite_world_demo's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.