Expand description
Term and quad encoding into RocksDB-compatible keys.
Structs§
- Axis
Head Count Hit - One
(head, distinct slot-1 count)hit from an axis head count scan in per-head mode. - Catalog
Put - One catalog put staged into the S-axis
named_graphs_catalogCF. - Catalog
Rebuild Stats - Stats from
crate::Storage::rebuild_named_graph_catalog. - Comparison
Mask - Compiled slot comparisons for one scan.
- Domain
Scan Count Hit - One
(constraint, head, run length)triple from a domain count scan. - Domain
Scan Hit - One distinct
(constraint, head)pair from a domain scan. - Dyadic
Coverer Config - Coverer configuration (temporal twin of the S2 coverer params): the node budget is per interval, the level window bounds grid coarseness. Process configuration on compute; the rebuild receives it over the RPC so policy stays compute-owned even though the partition executes the walk.
- Dyadic
Node - A dyadic node of the key space: level
0..=128, width2^(128-level)keys starting at the multipleindex · 2^(128-level). Level 128 is the single-key leaf (an instant’s exact tick). Nodes order by(level, index)— coarse first — which is the deterministic serialization order. - Encoded
Quad - Encoded quad (subject, predicate, object, graph).
- Encoded
Triple Pattern - Ground or partially-bound encoded triple/quad pattern.
- GeoCandidate
State - State machine for one
GeoCandidateScanstream: MVCC collapse per logical(cell, term)key and a DISTINCT seen-set over full term bytes. - GeoCell
Interval - One merged, sorted cell-id interval to probe (compute-built from a
covering: descendant
[range_min, range_max]ranges ∪ exact ancestor ids). - GeoEnvelope
- CRS84 AABB of one geometry, as packed on a posting value.
- GeoIndex
Put - One staged geometry-index posting (compute-built; O applies verbatim).
- GeoIndex
Row - Raw (key, value) rows of one geo-index scan, in CF order.
- Hexastore
Put - One prepared hexastore
Puttargeting an axis-local column family. - Hexastore
Version - One encoded version used to prepare axis-local index puts (no DB access).
- IriOnly
Mask - IRI-only slot flags pushed by the planner (
FILTER(isIRI(?x))pushdown). - KeyRow
- One raw versioned hexastore row handed to a scan’s emit callback.
- RowMatcher
- Compiled per-scan row matcher replacing per-row key decoding.
- RunCounter
- Per-run counting state for one
(constraint, head)run. - Slot
Comparison - One
slot OP termcomparison attached to a scan. - Small
String - A small inline string stored in 16 bytes (payload + length in byte 15).
- Snapshot
Scan State - State machine for descending-
commit_tsprefix scans under a snapshot. - Sorted
Tight Allow List - Sorted unique allow-list terms with encoded prefixes for a multi-seek scan.
- StrHash
- SipHash-2-4 digest of a UTF-8 string (big-endian on the wire).
- StrHash
Identity Build Hasher BuildHasherthat treatsStrHashas pre-hashed via its upper 64 bits.- Temporal
Candidate State - State machine for one
TemporalCandidateScanstream: MVCC collapse per logical(node_key, term)key, a DISTINCT seen-set over full term bytes (one interval posts under up tomax_nodesnon-adjacent node keys), and the exact-interval reject. - Temporal
Cell Interval - One merged, sorted key interval to probe (compute-built from a covering: per-node descendant ranges ∪ exact ancestor keys as single-value ranges).
- Temporal
Index Put - One staged temporal-index posting (compute-built or rebuild-derived; the O partition applies it verbatim).
- Temporal
Shape - The exact tick interval one stored temporal term covers. Projected once at ingest and carried verbatim in every posting value; the partition rejects against it without interpreting datatypes.
Enums§
- BadSmall
String Error - Error building a
SmallString. - Compare
Op - Comparison applied by one
SlotComparison. - CrsId
- Ingest CRS recorded on native geo terms (one byte on the wire).
- Domain
Count Mode - What one run-count increment of a domain count scan represents.
- Encoded
Term - Encoded RDF term for storage keys and wire transfer.
- GByte
Filter - Byte-level residual graph-membership window (twin of the old decoded-term
GraphMembership). - GWindow
Kind - Walk-entry classification of the G window, computed once per walk.
- GeoCandidate
Decision - Outcome of one geo-index candidate decision.
- GeoDatatype
- Geo literal datatype recorded on native geo terms (one byte on the wire).
- Geom
Kind - Geometry shape class recorded on
EncodedTerm::LiteralGeometry(one byte on the wire; points carry their kind implicitly). The low three bits carry the kind; the high bits are reserved for geometry flags. - Graph
Catalog State - Presence / drop marker stored as a single byte.
- Head
Verdict - Per-key visibility verdict for a head walk: the head term’s byte range within the key, or “not visible”.
- Index
Permutation - Hexastore index key permutation.
- Match
Decision - Verdict of
RowMatcher::matches_rowfor one visited row. - Quad
Slot - Slot within an encoded quad.
- Temporal
Candidate Decision - Outcome of one temporal-index candidate decision.
- Temporal
Query Predicate - Exact interval predicate a
TemporalCandidateScanapplies per candidate (partition-side, integer-only). The scan’s key intervals already produce a superset; this drops postings whose exact pair misses, before the wire.
Constants§
- ATTO_
PER_ DAY - Attoseconds in one day.
- ATTO_
PER_ HOUR - Attoseconds in one hour.
- ATTO_
PER_ MINUTE - Attoseconds in one minute.
- ATTO_
PER_ SECOND - Attoseconds in one second.
- ATTO_
TZ_ INDETERMINATE - The XSD 14-hour rule: a timezone-absent
xsd:dateTime/xsd:dateis order-indeterminate against a timezone-present value by at most ±14 h (oxsdatatypesimplements the same bound in itsPartialOrd). A timezone-absent term posts the uncertainty interval[t − ATTO_TZ_INDETERMINATE, t + ATTO_TZ_INDETERMINATE]— widened by the full day length forxsd:date, whose value is a day of unknown anchoring, not an instant — so every timezone-qualified window overlapping any possible reading finds it; the exact per-row predicate (the engine’s own comparison) decides. - CATALOG_
MIN_ PREFIX_ SIZE - Prefix extractor length: named-node type byte + 16-byte hash (same as SPOG).
- COMMIT_
TS_ LEN - Length of the descending
commit_tskey suffix. - EMPTY_
STR_ HASH - SipHash-2-4 of the empty string (
k0 = k1 = 0). - EMPTY_
STR_ LITERAL - Empty small string literal (
"", SPARQLLANGof an untagged literal). - ENCODED_
TERM_ FALSE - Canonical encoded XSD
false(wire type 29). - ENCODED_
TERM_ TRUE - Canonical encoded XSD
true(wire type 28). - GEO_
AABB_ PAD_ DEGREES - Ingest-time envelope reject padding, in degrees (see the plan: a
conservative reject must never drop a true candidate because
f64→f32rounded the box inward; 4-byte lon/lat truncates near 1e-5°, so the compare-time epsilon is an order of magnitude larger). - GEO_
CELL_ ID_ LEN - Fixed prefix length of the S2 cell id in every geo-index key.
- GEO_
EPOCH_ VALUE_ LEN - Byte length of a persisted epoch value (big-endian
u64). - GEO_
HISTOGRAM_ BUCKET_ LEVEL - Bucket-grid level of the geo cell-count histogram: every posting counts
into its level-11 ancestor bucket (or, for postings coarser than 11, into
the histogram’s coarse side — see
GEO_HISTOGRAM_COARSE_FLOOR_LEVEL). - GEO_
HISTOGRAM_ COARSE_ FLOOR_ LEVEL - Postings at a level below this floor go to the histogram’s coarse side
(keyed by their native cell id) instead of expanding into
4^(11 − level)level-11 buckets. Level 9 bounds the fine expansion at 4^2 = 16 buckets per posting; coarser postings (level 8 and below) stay individual count-once entries. Level 8 was moved onto the coarse side (2026-10) because its 64-bucket expansion multiplied a small posting population into half the fine map’s wire mass on real corpora (18.6k L8 postings = 1.19M of 2.37M incidences on bellendena-geo-10m), while the count-once rung prices such a posting as ONE candidate — the estimate’s actual unit. One continent-scale polygon still cannot make a flush collector emit millions of increments: levels 0–7 were always coarse-side. - GEO_
INDEX_ CF - RocksDB column-family name. Opened only on
crate::PartitionAxis::O. - GEO_
INDEX_ EPOCH_ KEY - The one reserved key in
GEO_INDEX_META_CF: the rebuild epoch as 8-byte big-endian (u64commit_ts). - GEO_
INDEX_ LIVENESS_ KEY - The other reserved key in
GEO_INDEX_META_CF: the rebuild LIVENESS marker, holding the epoch it was stamped with (8-byte big-endian). - GEO_
INDEX_ META_ CF - RocksDB column-family name for geo-index metadata. Opened only on
crate::PartitionAxis::O. Two reserved keys (the rebuild epoch and its liveness marker) — no walker ever touches it, so reserved keys are unambiguous. - GEO_
LIVENESS_ VALUE_ LEN - Byte length of a persisted liveness marker (big-endian
u64epoch). - GEO_
WKB_ LITERAL - The
geo:wkbLiteraldatatype IRI (GeoSPARQL 1.1 core). - GEO_
WKT_ LITERAL - The
geo:wktLiteraldatatype IRI (GeoSPARQL 1.1 core). - MERGE_
NEXT_ CHAIN_ LIMIT - How many same-prefix
Next()advances the merge walks chain before paying oneSeek()to finish the variant chain. - MERGE_
TRIPLE_ PREFIX_ MAX - Maximum byte length of a 4-slot key’s S/P/O prefix (three encoded terms).
- NAMED_
GRAPHS_ CATALOG_ CF - RocksDB column-family name. Opened only on
crate::PartitionAxis::S. - OMIT_
GRAPH omitted_slotsbit for the graph slot.- OMIT_
NONE - No slot omitted.
- OMIT_
OBJECT omitted_slotsbit for the object slot.- OMIT_
PREDICATE omitted_slotsbit for the predicate slot.- OMIT_
SUBJECT omitted_slotsbit for the subject slot.- RDF_
LANG_ STRING - Encoded
rdf:langStringnamed node — SPARQL 1.1DATATYPEof a language-tagged string. - RDF_
LANG_ STRING_ IRI_ ID rdf:langString.- RDF_
TYPE - Encoded
rdf:typenamed node — equality checks and TSG decode injection. - RDF_
TYPE_ IRI_ ID - SipHash-2-4 of
http://www.w3.org/1999/02/22-rdf-syntax-ns#type(k0 = k1 = 0). - STORAGE_
VALUE_ LEN - Fixed length of a hexastore record value (
op+visibility). - TEMPORAL_
EPOCH_ VALUE_ LEN - Byte length of a persisted epoch value (big-endian
u64). - TEMPORAL_
INDEX_ CF - RocksDB column-family name. Opened only on
crate::PartitionAxis::O. - TEMPORAL_
INDEX_ EPOCH_ KEY - The one reserved key in
TEMPORAL_INDEX_META_CF: the rebuild epoch as 8-byte big-endian (u64commit_ts). - TEMPORAL_
INDEX_ META_ CF - RocksDB column-family name for temporal-index metadata (two reserved
keys: the rebuild epoch and its tick-axis origin version). Opened only on
crate::PartitionAxis::O. - TEMPORAL_
INDEX_ ORIGIN_ KEY - The other reserved key in
TEMPORAL_INDEX_META_CF: the version of the tick-axis ORIGIN an epoch was stamped under. - TEMPORAL_
KEY_ LEN - Byte length of a node start key in every temporal-index key.
- TEMPORAL_
ORIGIN_ VALUE_ LEN - Byte length of a persisted origin-version value (big-endian
u64). - TEMPORAL_
ORIGIN_ VERSION - Current tick-axis origin version. Bump ONLY when [
AXIS_ORIGIN_DAYS] changes — i.e. when the calendar-to-stored alignment moves. - TEMPORAL_
VALUE_ LEN - Value length:
op+visibility+ exactbegin+ exactend. - TERM_
WIDTH - Total encoded width in bytes (type byte included) per term type id.
- TERM_
WIDTH_ UNKNOWN TERM_WIDTHentry for type ids that never begin a stored term: unassigned ids, [TYPE_PLACEHOLDER], and reserved [TYPE_TRIPLE].- WRITTEN_
TERM_ MAX_ SIZE - Upper bound on encoded term size for buffer pre-allocation.
- XSD_
BOOLEAN - Encoded
xsd:boolean. - XSD_
BOOLEAN_ IRI_ ID xsd:boolean.- XSD_
BYTE_ IRI_ ID xsd:byte.- XSD_
DATE - Encoded
xsd:date. - XSD_
DATE_ IRI_ ID xsd:date.- XSD_
DATE_ TIME - Encoded
xsd:dateTime. - XSD_
DATE_ TIME_ IRI_ ID xsd:dateTime.- XSD_
DAY_ TIME_ DURATION - Encoded
xsd:dayTimeDuration. - XSD_
DAY_ TIME_ DURATION_ IRI_ ID xsd:dayTimeDuration.- XSD_
DECIMAL - Encoded
xsd:decimal. - XSD_
DECIMAL_ IRI_ ID xsd:decimal.- XSD_
DOUBLE - Encoded
xsd:double. - XSD_
DOUBLE_ IRI_ ID xsd:double.- XSD_
DURATION - Encoded
xsd:duration. - XSD_
DURATION_ IRI_ ID xsd:duration.- XSD_
FLOAT - Encoded
xsd:float. - XSD_
FLOAT_ IRI_ ID - SipHash-2-4 of SPARQL numeric XSD datatype IRIs (
k0 = k1 = 0). - XSD_
G_ DAY - Encoded
xsd:gDay. - XSD_
G_ DAY_ IRI_ ID xsd:gDay.- XSD_
G_ MONTH - Encoded
xsd:gMonth. - XSD_
G_ MONTH_ DAY - Encoded
xsd:gMonthDay. - XSD_
G_ MONTH_ DAY_ IRI_ ID xsd:gMonthDay.- XSD_
G_ MONTH_ IRI_ ID xsd:gMonth.- XSD_
G_ YEAR - Encoded
xsd:gYear. - XSD_
G_ YEAR_ IRI_ ID xsd:gYear.- XSD_
G_ YEAR_ MONTH - Encoded
xsd:gYearMonth. - XSD_
G_ YEAR_ MONTH_ IRI_ ID xsd:gYearMonth.- XSD_
INTEGER - Encoded
xsd:integer. - XSD_
INTEGER_ IRI_ ID xsd:integer.- XSD_
INT_ IRI_ ID xsd:int.- XSD_
LONG_ IRI_ ID xsd:long.- XSD_
NEGATIVE_ INTEGER_ IRI_ ID xsd:negativeInteger.- XSD_
NON_ NEGATIVE_ INTEGER_ IRI_ ID xsd:nonNegativeInteger.- XSD_
NON_ POSITIVE_ INTEGER_ IRI_ ID xsd:nonPositiveInteger.- XSD_
POSITIVE_ INTEGER_ IRI_ ID xsd:positiveInteger.- XSD_
SHORT_ IRI_ ID xsd:short.- XSD_
STRING - Encoded
xsd:string. - XSD_
STRING_ IRI_ ID xsd:string.- XSD_
TIME - Encoded
xsd:time. - XSD_
TIME_ IRI_ ID xsd:time.- XSD_
UNSIGNED_ BYTE_ IRI_ ID xsd:unsignedByte.- XSD_
UNSIGNED_ INT_ IRI_ ID xsd:unsignedInt.- XSD_
UNSIGNED_ LONG_ IRI_ ID xsd:unsignedLong.- XSD_
UNSIGNED_ SHORT_ IRI_ ID xsd:unsignedShort.- XSD_
YEAR_ MONTH_ DURATION - Encoded
xsd:yearMonthDuration. - XSD_
YEAR_ MONTH_ DURATION_ IRI_ ID xsd:yearMonthDuration.
Traits§
- StrResolver
- Source of raw strings for hash-referenced terms.
- Term
Reader - Read encoded terms from a byte buffer.
Functions§
- aabb_
disjoint_ padded - Conservative AABB disjointness:
true= this row can be skipped. - aabb_
skip_ for_ lon_ wrap - True when either side spans at least half the globe in longitude: raw min/max comparison is meaningless for antimeridian-crossing boxes, so the AABB reject must be skipped (conservative — the candidate survives to Relate).
- align_
down_ key - Snap a key DOWN to its containing level-
levelnode’s start key. - byte_
successor - Increment-with-carry exclusive successor of
key. - catalog_
graphs_ from_ versions - Distinct named-node graphs from
Putversions, with the earliest commit_ts. - catalog_
prefix - Term bytes used as the catalog key prefix (no timestamp).
- classify_
g_ window - Classify a G window into the cheapest per-row test with the same
verdict as
domain_graph_allows. - collapse_
merged_ default_ triples - Collapse physical quads to the RDF merge of a SPARQL default graph.
- collect_
dedup_ visible_ catalog_ graphs - Fold a catalog CF (or memory map) into the named graphs visible at
snapshot. - consider_
axis_ head_ key - MVCC + optional G window for one bare axis-head key (head at offset 0).
- consider_
head_ key - MVCC + optional G window for one versioned index key.
- cover_
axis_ range - Cover the inclusive key range
[begin_key, end_key]with dyadic nodes. - days_
from_ civil - Days since the proleptic-Gregorian era for a calendar date
(Howard Hinnant’s
days_from_civil), valid for the fulli64year range. - decide_
slot_ comparison - Decide one slot comparison against one encoded term.
- decode_
catalog_ key - Decode a catalog key into the graph IRI and commit timestamp.
- decode_
catalog_ value - Decode the 1-byte catalog value.
- decode_
geo_ epoch - Decode a persisted geo-index epoch.
- decode_
geo_ liveness - Decode a persisted liveness marker (the epoch it was stamped with).
- decode_
graph_ name - Rebuild a graph name, mapping
EncodedTerm::DefaultGraphto the default graph. - decode_
index_ key - Decode a hexastore index key written in
permutationorder. - decode_
index_ key_ omitting decode_index_keyfor a request that may omit slots.- decode_
named_ node_ term - Decode exactly one
EncodedTerm::NamedNodefrombytes. - decode_
storage_ value - Decode a 5-byte hexastore value into
(op, visibility). - decode_
temporal_ epoch - Decode a persisted temporal-index epoch.
- decode_
temporal_ origin - Decode the tick-axis origin version (
Nonewhen absent or malformed). - decode_
temporal_ posting_ value - Decode one temporal-index posting value:
op(u8) ‖ visibility(u32 BE) ‖ begin(i128 BE) ‖ end(i128 BE)— 37 bytes. - decode_
term - Rebuild an
Termfrom its encoded form. - decode_
versioned_ key - Decode a versioned hexastore key into the logical quad and commit timestamp.
- dedup_
state_ newest_ catalog_ graph - Deduplicate catalog graphs in the State by their IRI.
If this catalog version is the newest visible at
snapshot, return the graph IRI. If this catalog version is Dropped, return None. - domain_
graph_ allows - Residual / bound-G membership after a snapshot-visible version is chosen.
- domain_
graph_ unconstrained - Block-list empty and
graph_nameunset: do not decode G. - encode_
catalog_ key - Versioned catalog key: encoded named node ‖ descending
commit_ts. - encode_
geo_ epoch - Encode a persisted geo-index epoch as 8-byte big-endian.
- encode_
geo_ liveness - Encode the liveness marker for
epoch. - encode_
index_ key - Build a hexastore index key for
quadinpermutationorder. - encode_
quad - Encode a quad for hexastore index writes.
- encode_
storage_ value - Encode
op‖visibilityas a fixed 5-byte value. - encode_
temporal_ epoch - Encode a persisted temporal-index epoch as 8-byte big-endian.
- encode_
temporal_ origin - Encode the tick-axis origin version.
- encode_
term - Encode an RDF term for storage keys and wire transfer.
- encode_
term_ bytes - Encode a single term to bytes.
- encode_
versioned_ key - Build a versioned hexastore key: term bytes ‖ descending
commit_ts. - geo_
cell_ level - S2 level of a u64 cell id: the trailing 1-bit sentinel sits at bit
60 − 2·level. ReturnsNonefor a malformed id (sentinel at an odd bit position, above bit 60, or a face value ≥ 6 — S2 defines six faces, so bits 63–61 holding 6 or 7 is not a cell). - geo_
l8_ parent_ index - Level-8 parent bucket index of a level-11 dense index: dropping the low 6
Hilbert bits (
22 − 16) yieldsface ‖ 16 Hilbert bits(19 bits). The histogram’s coarse remainder summary groups dropped L11 buckets by this parent so a wire-trimmed map still carries each region’s total mass. - geo_
l11_ bucket_ index - Dense level-11 bucket index of
cell_id’s L11 ancestor:face ‖ 22 Hilbert bits(25 bits). Defined for any cell at level ≥ 11. - geo_
l11_ bucket_ range - Inclusive level-11 dense-index range covered by
cell_id. - geo_
lexical_ key - Deterministic strings-map key for a native geo term’s rendered lexical form.
- graph_
hops_ after_ head - How many encoded terms sit between the walked head’s end and the G term inside a versioned key.
- graph_
region - Byte region of the G term inside a versioned key: starts
hopsterms after the walked head’s end (graph_hops_after_head), ends at the logical prefix. The default graph’s region is empty. - hashes_
in_ term - Hashes that must be resolved before
termcan be decoded. - head_
prefix_ resume_ seek - Seek key that starts (or resumes) the walk of one normalized head
prefix, given the exclusive encoded-
start_after_termresume cursor. - head_
resume_ seek - Seek key for
constraintgiven an exclusive(start_after_constraint, start_after_term)resume cursor. - head_
term_ from_ region - Decode the term occupying
region— aHeadVerdict::Candidaterange sliced from its key, or a saved copy of one (encoded terms are valid standalone, so a flush can decode from a copy after the iterator moved on). - intervals_
for_ nodes - Merge a covering into the interval list (the temporal twin of geo’s
intervals_for_covering): each node contributes its inclusive descendant range plus the exact start key of every proper ancestor (which catch postings coarser than the query node — outward-snapped interval postings and coarse-level instants’ containing beacons). Deduped, sorted by key. - is_
catalog_ graph - True when
termis a SPARQL named-graph IRI (catalog member). - is_
numeric_ encoded - SPARQL
isNUMERIC: native numeric variants, or a typed literal whose datatype IRI hash is one of the XSD numeric types (including ill-formed lexicals such as"foo"^^xsd:integer). - key_
u128_ to_ tick - Inverse of
tick_to_key_u128. - merge_
triple_ skip_ seek - Exclusive seek past every G (and version) of this S/P/O prefix.
- month_
start_ tick - First tick of one calendar month (
y,m). - new_
str_ blob_ map - Empty
StrBlobMap. - new_
str_ hash_ map - Empty
StrHashMap. - new_
str_ hash_ set - Empty
StrHashSet. - next_
month_ start_ tick - First tick of the month AFTER (
y,m) (December rolls the year). - next_
year_ start_ tick - First tick of the year AFTER
y. - omitted_
slot_ term - Term a receiver puts back for a slot the sender omitted.
- postings_
for_ term - Compute the postings for one temporal term: the instant’s exact leaf, or the budgeted covering of its interval (each node files the term under the node’s start key). Returns an empty vec for unprojectable terms (they ingest unindexed; the residual path answers).
- prefixed_
iri_ name - Prefixed (Turtle/SPARQL-style) name for an IRI under a
[
WELL_KNOWN_NAMESPACES] namespace, e.g.owl:Classforhttp://www.w3.org/2002/07/owl#Class.Nonefor IRIs outside those namespaces. - prepare_
constraints - Validate slot-0 constraint terms and drop duplicates.
- prepare_
constraints_ sorted - Validate, dedupe, and sort constraints by encoded key bytes.
- prepare_
head_ prefixes - Normalize a head-prefix filter for a prefix-filtered axis head walk.
- prepare_
hexastore_ puts - Encode every axis-local index put for
versionswithout touching storage. - record_
first_ put_ graph - Record the earliest Put
commit_tsfor each named graph in a SPOG version scan. - region_
after_ head - Extent of the term directly following a walked head region inside a versioned key — the component the counts walks fold into their distinct-term / distinct-graph counters, and the PER_HEAD walk’s slot-1.
- require_
catalog_ graph - Reject the RDF default graph and non-IRI graph names.
- stage_
catalog_ puts - Stage
Presentversions for graphs whose newest catalog state is missing or Dropped. - strings_
entries_ for_ term - Collect
(hash, raw)pairs that must be registered in “strings” for an encoded term. - temporal_
term_ interval - Project a native temporal term onto the tick axis.
- term_
in_ quad_ slot - Term in
slotofquad. - term_
width_ at - Total encoded width of the term starting at
key[offset](type byte included). - tick_
from_ date - Midnight tick of a calendar date on the SHARED tick axis,
Noneon representable-range overflow (the tick must fit thei128attosecond axis; values that fail here can never exist as parsed temporal terms anyway — the parser bounds are the representable bounds). - tick_
to_ key_ u128 - Map a signed tick to its order-preserving key-space
u128(biased / offset binary: XOR the sign bit). - triple_
prefix_ len - Byte length of the S/P/O prefix of a 4-slot logical key.
- versioned_
key_ term_ prefix - Term-prefix portion of a versioned key (excludes the
commit_tssuffix). - versioned_
parts - Split a versioned key into its term prefix and commit timestamp without decoding any terms.
- well_
known_ iri - Static IRI for a well-known RDF/RDFS/OWL/SKOS/XSD hash.
- well_
known_ prefixed_ iri - Prefixed name for a well-known RDF/RDFS/OWL/SKOS/XSD hash — the compact
counterpart of
well_known_iri(rdfs:label,xsd:integer, …). - write_
term - Write an encoded term to
sink.
Type Aliases§
- StrBlob
Map HashMapfromStrHash→ blob payload bytes using upper-64 identity hashing (the blob-payload mirror ofStrHashMap).- StrHash
Map HashMapfromStrHash→Stringusing upper-64 identity hashing.- StrHash
Set HashSetofStrHashusing upper-64 identity hashing.