public override ValueGetter <RowId> GetIdGetter() { return ((ref RowId val) => { Ch.Check(IsGood, RowCursorUtils.FetchValueStateError); val = new RowId((ulong)Position, 0); }); }
public override ValueGetter <RowId> GetIdGetter() { return ((ref RowId val) => { Ch.Check(IsGood, "Cannot call ID getter in current state"); val = new RowId((ulong)Position, 0); }); }
public override ValueGetter <RowId> GetIdGetter() { return ((ref RowId val) => { // Unique row id consists of Position of cursor (how many times MoveNext has been called), and position in file Ch.Check(IsGood, "Cannot call ID getter in current state"); val = new RowId((ulong)(_readerOptions.Offset + _curDataSetRow), 0); }); }
public override ValueGetter <RowId> GetIdGetter() { return ((ref RowId val) => { // Unique row id consists of Position of cursor (how many times MoveNext has been called), and position in file Ch.Check(IsGood, RowCursorUtils.FetchValueStateError); val = new RowId((ulong)(_readerOptions.Offset + _curDataSetRow), 0); }); }
public override ValueGetter <RowId> GetIdGetter() { if (_indices == null) { return ((ref RowId val) => { Ch.Check(IsGood, "Cannot call ID getter in current state"); val = new RowId((ulong)Position, 0); }); } else { return ((ref RowId val) => { Ch.Check(IsGood, "Cannot call ID getter in current state"); val = new RowId((ulong)MappedIndex(), 0); }); } }
public override ValueGetter <RowId> GetIdGetter() { if (_indices == null) { return ((ref RowId val) => { Ch.Check(IsGood, RowCursorUtils.FetchValueStateError); val = new RowId((ulong)Position, 0); }); } else { return ((ref RowId val) => { Ch.Check(IsGood, RowCursorUtils.FetchValueStateError); val = new RowId((ulong)MappedIndex(), 0); }); } }
private void IdGetter(ref RowId val) => val = new RowId((ulong)Position, 0);