All Projects → florent37 → Android Nosql

florent37 / Android Nosql

Licence: apache-2.0
Lightweight, simple structured NoSQL database for Android

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Android Nosql

Db
Data access layer for PostgreSQL, CockroachDB, MySQL, SQLite and MongoDB with ORM-like features.
Stars: ✭ 2,832 (+897.18%)
Mutual labels:  sql, mongodb, nosql, db
Mondocks
An alternative way to interact with MongoDB databases from F# that allows you to use mongo-idiomatic constructs
Stars: ✭ 20 (-92.96%)
Mutual labels:  mongo, mongodb, nosql
Westore
更好的小程序项目架构
Stars: ✭ 3,897 (+1272.18%)
Mutual labels:  mongo, mongodb, nosql
Haproxy Configs
80+ HAProxy Configs for Hadoop, Big Data, NoSQL, Docker, Elasticsearch, SolrCloud, HBase, MySQL, PostgreSQL, Apache Drill, Hive, Presto, Impala, Hue, ZooKeeper, SSH, RabbitMQ, Redis, Riak, Cloudera, OpenTSDB, InfluxDB, Prometheus, Kibana, Graphite, Rancher etc.
Stars: ✭ 106 (-62.68%)
Mutual labels:  hadoop, nosql, cassandra
Mongo Seeding
The ultimate solution for populating your MongoDB database.
Stars: ✭ 375 (+32.04%)
Mutual labels:  mongo, mongodb, db
Variety
A schema analyzer for MongoDB
Stars: ✭ 1,592 (+460.56%)
Mutual labels:  mongo, mongodb, nosql
Odmantic
Async ODM (Object Document Mapper) for MongoDB based on python type hints
Stars: ✭ 240 (-15.49%)
Mutual labels:  mongo, mongodb, nosql
Laravel Log To Db
Custom Laravel and Lumen 5.6+ Log channel handler that can store log events to SQL or MongoDB databases. Uses Laravel/Monolog native logging functionality.
Stars: ✭ 76 (-73.24%)
Mutual labels:  sql, mongodb, db
Sql Boot
Advanced REST-wrapper for your SQL-queries (actually not only SQL)
Stars: ✭ 51 (-82.04%)
Mutual labels:  sql, nosql, db
Migrate
Database migrations. CLI and Golang library.
Stars: ✭ 7,712 (+2615.49%)
Mutual labels:  sql, mongodb, cassandra
Dotnetguide
🦸【C#/.NET/.NET Core学习、工作、面试指南】概述:C#/.NET/.NET Core基础知识,学习资料、文章、书籍,社区组织,工具和常见的面试题总结。以及面试时需要注意的事项和优秀简历编写技巧,希望能和大家一起成长进步👊。【让现在的自己不再迷漫✨】
Stars: ✭ 308 (+8.45%)
Mutual labels:  sql, mongodb, nosql
Djongo
Django and MongoDB database connector
Stars: ✭ 1,222 (+330.28%)
Mutual labels:  sql, mongodb, nosql
Migrate
Database migrations. CLI and Golang library.
Stars: ✭ 2,315 (+715.14%)
Mutual labels:  sql, mongodb, cassandra
dockerfiles
Multi docker container images for main Big Data Tools. (Hadoop, Spark, Kafka, HBase, Cassandra, Zookeeper, Zeppelin, Drill, Flink, Hive, Hue, Mesos, ... )
Stars: ✭ 29 (-89.79%)
Mutual labels:  cassandra, hadoop
workshop-intro-to-cassandra
Learn Apache Cassandra fundamentals in this hands-on workshop
Stars: ✭ 208 (-26.76%)
Mutual labels:  cassandra, nosql
deadlines
A simple, offline deadline tracker made with Vue.js and localForage.
Stars: ✭ 22 (-92.25%)
Mutual labels:  local, simple
EngineeringTeam
와이빅타 엔지니어링팀의 자료를 정리해두는 곳입니다.
Stars: ✭ 41 (-85.56%)
Mutual labels:  hadoop, nosql
derivejs
DeriveJS is a reactive ODM - Object Document Mapper - framework, a "wrapper" around a database, that removes all the hassle of data-persistence by handling it transparently in the background, in a DRY manner.
Stars: ✭ 54 (-80.99%)
Mutual labels:  mongo, db
seahorse
ELKFH - Elastic, Logstash, Kibana, Filebeat and Honeypot (HTTP, HTTPS, SSH, RDP, VNC, Redis, MySQL, MONGO, SMB, LDAP)
Stars: ✭ 31 (-89.08%)
Mutual labels:  mongo, elastic
Trino
Official repository of Trino, the distributed SQL query engine for big data, formerly known as PrestoSQL (https://trino.io)
Stars: ✭ 4,581 (+1513.03%)
Mutual labels:  sql, hadoop

Android-NoSql

Lightweight, simple structured NoSQL database for Android

Android app on Google Play

Download

Buy Me a Coffee at ko-fi.com

Download

dependencies {
    implementation 'com.github.florent37:android-nosql:1.0.0'
}

Save your datas as a structured tree

noSql.put("/users/", "florent")
noSql.put("/users/", "kevin")
nosql.put("/identifiers/florent", 10)
nosql.put("/identifiers/kevin", 12)

The data structure will be

/
---users/
      ---"florent"
      ---"kevin"
---identifiers/
      ---florent/
             ---10
      ---kevin/
             ---12

It'll be simple to search data

int myId = noSql.get("/identifiers/florent/").integer();

Serialize objects

You can simply add nodes from POJOS

final User user = new User(
                "flo",
                new House("paris"),
                Arrays.asList(new Car("chevrolet camaro"), new Car("ford gt"))
        );

noSql.put("/user/florent/", user);
/
 ---users/
       ---florent/
               ---name/
                    ---"flo"
               ---house/
                    ---adress/
                           ---"paris"
               ---cars/
                    ---0/
                      ---model/
                            ---"chevrolet camaro"
                    ---1/
                      ---model/
                            ---"ford gt"

Get Objects from node

Or fetch nodes directly into Java Objects

User user = noSql.get("/user/florent/", User.class);

Navigate

noSql.node("/identifiers/")
     .child("florent")
     .childNodes()
     .get(1)
     .put("country", "france");

Listeners

You can listen for nodes updates

noSql.notify("/user/", new Listener() {
            @Override
            public void nodeChanged(String path, NoSql.Value value) {
                //notified when :
                // - the node is created
                // - the node is deleted
                // - a subnode is added / updated
             }
        });

Init

Android-NoSql need to be initialized to store your objects

public class MainApplication extends Application {

    @Override
    public void onCreate() {
        super.onCreate();

        AndroidNoSql.initWithDefault(context);
    }
}

You can also define the datasavers using initWith, it means you can store your data into SqlDatabase, or any storage library your want ;)

Credits

Author: Florent Champigny

Blog : http://www.tutos-android-france.com/

Fiches Plateau Moto : https://www.fiches-plateau-moto.fr/

Android app on Google Play Follow me on Google+ Follow me on Twitter Follow me on LinkedIn

License

Copyright 2017 Florent37, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].