class

D4::IndexBuilder

Inherits Reference < Object

Builds embedded indexes by copying a local D4 to a temporary file in the same directory, then publishing the fully indexed result on success.

Constants

GRANULARITY = 65536_i64

Class methods

append(path : String | Path, *, track : String | Nil = nil, kinds : Array(IndexKind) = [IndexKind::SecondaryFrames, IndexKind::Sum], control : WriteControl = WriteControl.new) : Nil

Appends in place. A failure can leave unreachable trailing bytes; use build when the original file must remain byte-for-byte unchanged.

Source
build(path : String | Path, *, track : String | Nil = nil, kinds : Array(IndexKind) = [IndexKind::SecondaryFrames, IndexKind::Sum], control : WriteControl = WriteControl.new) : Nil
Source