class
D4::IndexBuilder
- D4::IndexBuilder
- Reference
- Object
Overview
Builds embedded indexes by copying a local D4 to a temporary file in the same directory, then publishing the fully indexed result on success.
Defined in:
d4/index_builder.crConstant Summary
-
GRANULARITY =
65536_i64
Class Method Summary
-
.append(path : String | Path, *, track : String | Nil = nil, kinds : Array(IndexKind) = [IndexKind::SecondaryFrames, IndexKind::Sum], control : WriteControl = WriteControl.new) : Nil
Appends in place.
- .build(path : String | Path, *, track : String | Nil = nil, kinds : Array(IndexKind) = [IndexKind::SecondaryFrames, IndexKind::Sum], control : WriteControl = WriteControl.new) : Nil
Class Method Detail
def self.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.
def self.build(path : String | Path, *, track : String | Nil = nil, kinds : Array(IndexKind) = [IndexKind::SecondaryFrames, IndexKind::Sum], control : WriteControl = WriteControl.new) : Nil
#