Skip to documentation
SLOP

tiny.sql.RelationRead

Reference tiny.sql RelationRead

Defined in plan.

API (9)

Actions

Public operations.

Fields and members

Public fields and members.

No direct callersNo direct callsplanRelationRead
Static calls · unresolved targets: unknown · external targets: unknown.

Source

Source: lib/sql/src/plan.zig:226

zig
pub const RelationRead = struct {    lease: file.ReadLease,    execution: RelationExecution,    pub fn deinit(self: *RelationRead) void {        self.lease.deinit();        self.* = undefined;    }    pub fn borrow(self: *const RelationRead) RelationExecution {        return self.execution;    }    pub fn get(self: *const RelationRead, allocator: Allocator, rowid: i64) Error!?[]u8 {        return try self.execution.get(allocator, rowid);    }    pub fn scan(        self: *const RelationRead,        target: *relation_mod.Scan,        allocator: Allocator,        start: ?i64,        end: ?i64,    ) Error!void {        try self.execution.scan(target, allocator, start, end);    }    pub fn lookup(        self: *const RelationRead,        target: *index_mod.Scan,        allocator: Allocator,        index_slot: usize,        prefix: []const row.Value,    ) Error!void {        try self.execution.lookup(target, allocator, index_slot, prefix);    }    pub fn indexScan(        self: *const RelationRead,        target: *index_mod.Scan,        allocator: Allocator,        index_slot: usize,        start: ?[]const row.Value,        end: ?[]const row.Value,    ) Error!void {        try self.execution.indexScan(target, allocator, index_slot, start, end);    }    pub fn indexRange(        self: *const RelationRead,        target: *index_mod.Scan,        allocator: Allocator,        index_slot: usize,        start: ?index_mod.Bound,        end: ?index_mod.Bound,    ) Error!void {        try self.execution.indexRange(target, allocator, index_slot, start, end);    }};

Source: lib/sql/src/root.zig:163

zig
pub const RelationRead = plan.RelationRead;
Called byCallsNo direct callersFileReadLeasedeinitRelationReaddeinit
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callersRelationExecutiongetRelationReadget
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callersRelationExecutionindexRangeRelationReadindexRange
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callersRelationExecutionindexScanRelationReadindexScan
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callersRelationExecutionlookupRelationReadlookup
Static calls · unresolved targets: 0 · external targets: 0.
Called byCallsNo direct callersRelationExecutionscanRelationReadscan
Static calls · unresolved targets: 0 · external targets: 0.

Audit

Definitions8
Public names16
Members2
Version26.7.0
Revisiondaab053ee433