Index
HestiaStore is a lightweight, embeddable key-value storage engine optimized for billions of records, designed to run in a single directory with high performance and minimal configuration.
Features:
• Java-based with minimum external dependencies
• Requires Java 17+
• In-memory or file-backed indexes
• Optional write-ahead logging
• Supports user-defined key/value types
• Optionaly could be thread safe
Quick Start with HestiaStore
Index should be created with builder, which make index instance. For example:
// Create an in-memory file system abstraction
Directory directory = new MemDirectory();
// Prepare index configuration
IndexConfiguration<String, String> conf = IndexConfiguration
.<String, String>builder()//
.withKeyClass(String.class)//
.withValueClass(String.class)//
.withName("test_index") //
.build();
// create new index
Index<String, String> index = Index.<String, String>create(directory, conf);
// Do some work with the index
index.put("Hello", "World");
String value = index.get("Hello");
System.out.println("Value for 'Hello': " + value);
Questions
If you encounter a bug, have a feature request, or need help using HestiaStore, please create an issue.