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 : classType parameters:
TState
The per-scan state.
Without this capability, Ankus disposes the state and calls Begin(PgCustomScanContext) again.
Methods
Section titled “Methods”Rescan(TState)
Section titled “Rescan(TState)”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.