Class ValueStoreWalSearch
java.lang.Object
org.eclipse.rdf4j.sail.nativerdf.wal.ValueStoreWalSearch
Utility to search a ValueStore WAL for a specific minted value ID efficiently.
Strategy: scan the first minted record in each segment to determine the best candidate segment (binary search on the
first IDs), then scan only that segment to locate the requested ID.
-
Method Summary
Modifier and TypeMethodDescriptionfindValueById(int id) Find and reconstruct aValueby its ValueStore id using WAL contents only.static ValueStoreWalSearchopen(ValueStoreWalConfig config)
-
Method Details
-
open
-
findValueById
Find and reconstruct aValueby its ValueStore id using WAL contents only.- Returns:
- the reconstructed value if present;
nullotherwise - Throws:
IOException
-