com.fizzed:bigmap

Parent pom for all Fizzed maven projects

License

License

GroupId

GroupId

com.fizzed
ArtifactId

ArtifactId

bigmap
Last Version

Last Version

0.0.3
Release Date

Release Date

Type

Type

pom
Description

Description

Parent pom for all Fizzed maven projects
Project Organization

Project Organization

Fizzed, Inc
Source Code Management

Source Code Management

https://github.com/fizzed/bigmap

Download bigmap

Filename Size
bigmap-0.0.3.pom 2 KB
Browse

How to add to project

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

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

  • bigmap-core
  • bigmap-leveldb

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