Skip to content
/ sqall Public

SQL interface for databases that do not use SQL ;)

Notifications You must be signed in to change notification settings

sfpprxy/sqall

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SQalL

Quick start

// Query from local elasticsearch
public static void main(String[] args) {
    SQall client = new SQElasticsearch();
    client.connect("127.0.0.1");
    client.query("SELECT * FROM customer WHERE age < 41")
            .get()
            .asTable()
            .prettyPrint();
}

// Console result
+----+----------+---------+------+---------+
| id | name     | sex     | age  | country |
+----+----------+---------+------+---------+
| 1  | Anders   | male    | 33   | USA     |
| 2  | Chen     | female  | 16   | CN      |
| 3  | Wang     | male    | 25   | CN      |
| 4  | Alfreds  | male    | 40   | USA     |
| 5  | Zhou     | female  | 21   | CN      |
+----+----------+---------+------+---------+

About

SQL interface for databases that do not use SQL ;)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages