Paper

Paper is an embedded object-oriented storage engine on Android with automatic schema migration support.

History

Paper was created in Sweden in 2015. The main contributor is Oleksii Masnyi (Aleksey Masny), an android software developer. It was initially developed to be used in AppDialer, a smart phone application for searching other apps. The system was mainly developed between 2015 and 2017. Version 1.0 was released in 2015, and Version 2.0 was released in 2016, with major updates in methods and data format. The current version now is 2.6, which was released in 2017.

Stored Procedures

Not Supported

Data Model

Key/Value Object-Oriented

Paper uses custom strings as keys, and objects as values, which is a combination of key/value data model and object-oriented data model.

Concurrency Control

Not Supported

Paper uses concurrent hash map and semaphore to deal with multi-thread reading and writing, but no specific concurrency control approach is being used.

Query Compilation

Not Supported

Storage Organization

Copy-on-Write / Shadow Paging

Paper maintains backup files when performing writing. When writing is done successfully, backup file is deleted.

Query Interface

Custom API

System Architecture

Embedded

Paper is a database system designed for Android.

Foreign Keys

Not Supported

Indexes

Hash Table

Paper uses Java concurrent hash maps to store objects.

Paper Logo
Website

https://github.com/pilgr/Paper

Source Code

https://github.com/pilgr/Paper

Developer

Aleksey Masny

Country of Origin

SE

Start Year

2015

Project Type

Open Source

Written in

Java

Supported languages

Java

Operating Systems

Android

Licenses

Apache v2