public Row GetRow(Row input, Func <int, bool> predicate)
                {
                    var innerRow = _mapper.GetRow(input, predicate);

                    return(new RowImpl(innerRow, OutputSchema));
                }
Example #2
0
 protected override RowCursorState InitializeState(Row input)
 {
     return(new RowCursorState(_truncationLevel));
 }
Example #3
0
 protected override ValueGetter <Single> GetScoreGetter(Row row)
 {
     return(row.GetGetter <Single>(_bindings.ScoreIndex));
 }
Example #4
0
 /// <summary>
 /// Return a new state object.
 /// </summary>
 protected abstract TState InitializeState(Row input);
Example #5
0
 /// <summary>
 /// Get the getter for the second input column.
 /// </summary>
 protected abstract ValueGetter<TScore> GetScoreGetter(Row row);
Example #6
0
 /// <summary>
 /// Get the getter for the first input column.
 /// </summary>
 protected abstract ValueGetter<TLabel> GetLabelGetter(Row row);