pub fn generate_embedded_triple_id(
subject: u64,
predicate: u64,
object: u64,
) -> u64Expand description
Generates a Virtual ID for a SPARQL-Star embedded triple <>.
This function serializes the three u64 component IDs into a 24-byte array and hashes them using FNV-1a, then tags the result with TAG_EMBEDDED.
§Arguments
- subject - The subject u64 ID
- predicate - The predicate u64 ID
- object - The object u64 ID
§Returns
A 64-bit Virtual ID with the TAG_EMBEDDED bit set, suitable for storage in the Subject or Object position of a NQuin.