コード例 #1
0
                public Row GetRow(Row input, Func <int, bool> predicate)
                {
                    var innerRow = _mapper.GetRow(input, predicate);

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