bigmap-leveldb

Parent pom for all Fizzed maven projects

License

License

GroupId

GroupId

com.fizzed
ArtifactId

ArtifactId

bigmap-leveldb
Last Version

Last Version

0.0.3
Release Date

Release Date

Type

Type

jar
Description

Description

bigmap-leveldb
Parent pom for all Fizzed maven projects
Project Organization

Project Organization

Fizzed, Inc

Download bigmap-leveldb

How to add to project

<!-- https://jarcasting.com/artifacts/com.fizzed/bigmap-leveldb/ -->
<dependency>
    <groupId>com.fizzed</groupId>
    <artifactId>bigmap-leveldb</artifactId>
    <version>0.0.3</version>
</dependency>
// https://jarcasting.com/artifacts/com.fizzed/bigmap-leveldb/
implementation 'com.fizzed:bigmap-leveldb:0.0.3'
// https://jarcasting.com/artifacts/com.fizzed/bigmap-leveldb/
implementation ("com.fizzed:bigmap-leveldb:0.0.3")
'com.fizzed:bigmap-leveldb:jar:0.0.3'
<dependency org="com.fizzed" name="bigmap-leveldb" rev="0.0.3">
  <artifact name="bigmap-leveldb" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.fizzed', module='bigmap-leveldb', version='0.0.3')
)
libraryDependencies += "com.fizzed" % "bigmap-leveldb" % "0.0.3"
[com.fizzed/bigmap-leveldb "0.0.3"]

Dependencies

compile (3)

Group / Artifact Type Version
com.fizzed : bigmap-core jar 0.0.3
org.iq80.leveldb : leveldb jar 0.12
de.ruedigermoeller : fst jar 2.57

test (8)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.21
com.fizzed : crux-util jar 1.0.13
com.google.guava : guava jar 28.0-jre
org.mockito : mockito-core jar 2.12.0
org.hamcrest : java-hamcrest jar 2.0.0.0
junit : junit jar 4.12
ch.qos.logback : logback-classic jar 1.1.7
commons-io : commons-io jar 2.6

Project Modules

There are no modules declared in this project.

BigMap (and Set) by Fizzed

Lightweight Map and Set implementation(s) with minimal 3rd party dependencies that alleviates memory pressure by offloading to disk.

While there are other alternatives out there, they were almost too complicated. This is a simple way to drop-in as a replacement where you use JVM Maps or Sets and don't want to fuss with settings too much.

An initial implementation based on LevelDB (Java only port) is supplied.

LevelBigMap Usage

LevelBigMap<Long,String> map = new LevelBigMapBuilder()
   .setScratchDirectory(Paths.get("target"))
   .setKeyType(Long.class)
   .setValueType(String.class)
   .build();

LevelBigSet Usage

LevelBigSet<Long> set = new LevelBigSetBuilder()
   .setScratchDirectory(Paths.get("target"))
   .setKeyType(Long.class)
   .build();

Then standard Map (sorted) and Set (sorted) methods all mostly work. Some methods make no sense when you are using this instead (e.g. finding a value vs. lookups by key)

Apache 2 License!

com.fizzed

Fizzed, Inc.

Helping companies launch and grow their mobile, web, and data products

Versions

Version
0.0.3
0.0.2
0.0.1