Skip to content

IPgRescannableCustomScan<TState>

Namespace: Ankus

Assembly: Ankus.Runtime.dll

Restarts a custom scan in place when the executor rescans it, such as the inner side of a nested loop.

public interface IPgRescannableCustomScan<TState> : IPgCustomScan<TState> where TState : class

Type parameters:

TState

The per-scan state.

Without this capability, Ankus disposes the state and calls Begin(PgCustomScanContext) again.

Restarts the scan so the next call to Read(TState, PgHeapTuple) returns its first row.

public static abstract void Rescan(TState state)

Parameters:

state — TState

The scan’s state.