public Row GetRow(Row input, Func <int, bool> predicate) { var innerRow = _mapper.GetRow(input, predicate); return(new RowImpl(innerRow, OutputSchema)); }
protected override RowCursorState InitializeState(Row input) { return(new RowCursorState(_truncationLevel)); }
protected override ValueGetter <Single> GetScoreGetter(Row row) { return(row.GetGetter <Single>(_bindings.ScoreIndex)); }
/// <summary> /// Return a new state object. /// </summary> protected abstract TState InitializeState(Row input);
/// <summary> /// Get the getter for the second input column. /// </summary> protected abstract ValueGetter<TScore> GetScoreGetter(Row row);
/// <summary> /// Get the getter for the first input column. /// </summary> protected abstract ValueGetter<TLabel> GetLabelGetter(Row row);