GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - SparrowDb/sparrowdb_java: SparrowDB is an image database that works like an append-only object store. Sparrow has tools that allow image processing and HTTP server to access images

This repository was archived by the owner on Jul 29, 2025. It is now read-only.
BranchesTags
Open more actions menu

Latest commit

 

History

136 Commits
136 Commits

Folders and files

NameName
Last commit message
Last commit date
bin
bin
 
 
conf
conf
 
 
interface
interface
 
 
sparrow-backup
sparrow-backup
 
 
sparrow-client
sparrow-client
 
 
sparrow-common
sparrow-common
 
 
sparrow-protocol
sparrow-protocol
 
 
sparrow-server
sparrow-server
 
 
sparrow-tools
sparrow-tools
 
 
.gitignore
.gitignore
 
 
.travis.yml
.travis.yml
 
 
README.md
README.md
 
 
pom.xml
pom.xml
 
 

Repository files navigation

Build Status  Whats is SparrowDB?

SparrowDB is an image database that works like an append-only object store. Sparrow has tools that allow image processing and HTTP server to access images.

Sparrow Object Store

Sparrow consists of three files – the actual Sparrow store file containing the images data, plus an index file and a bloom filter file.

There is a corresponding data definition record followed by the image bytes for each image in the storage file. The index file provides the offset of the data definition in the storage file.

Requirements

  1. Java >= 1.8 (OpenJDK and Oracle JVMS have been tested)

Getting started

This short guide will walk you through getting a basic one node cluster up and running, and demonstrate some simple reads and writes.

First, download Sparrow repository:

  • Extract zip file
  • Go to Sparrow directory
  • Run: mvn clean install

After that we start the server. Running the startup script; it can be stopped with ctrl-C. Go to sparrowdb root directory.

$ bin/sparrow.sh

Running client (default port 8082).

$ bin/sparrow.sh client

Using Sparrow

Creating a database:

>>create database database_name;

Sending an image to database:

>>insert into database_name ('image_path_with_extension', 'image_key');

Listing all images in database:

>>select from database_name;
key |    size| extension|           timestamp
key1| 1184791|       png| 2016-04-20 00:51:35+0000
key2|  104547|       jpg| 2016-04-20 01:04:07+0000
key3|  558001|       png| 2016-01-03 22:14:31+0000
key4|  558001|       gif| 2016-01-03 22:16:06+0000
key5|	95889|       bmp| 2016-01-03 22:14:47+0000

You also can use query like:

>>select from database_name where key = image_key;

Deleting image:

>>delete from database_name where key = image_key;

Accessing image from browser:

http://localhost:8081/database_name/image_key

License

This software is under MIT license.

About

SparrowDB is an image database that works like an append-only object store. Sparrow has tools that allow image processing and HTTP server to access images

Resources

Readme
Activity
Custom properties

Stars

11 stars

Watchers

2 watching

Forks

2 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.