public override bool IsColumnActive(int col) { if (col < _inputCursor.Schema.Count) { return(_inputCursor.IsColumnActive(col)); } return(true); }
/// <summary> /// Returns whether the given column is active in this row. /// </summary> public override bool IsColumnActive(DataViewSchema.Column column) { Contracts.CheckParam(column.Index < Schema.Count, nameof(column)); bool isSrc; int iCol = _parent._bindings.MapColumnIndex(out isSrc, column.Index); if (isSrc) { return(_input.IsColumnActive(_input.Schema[iCol])); } return(_appendedRow.IsColumnActive(_appendedRow.Schema[iCol])); }
public override bool IsColumnActive(int col) { Contracts.CheckParam(0 <= col && col < Schema.Count, nameof(col)); bool isSrc; int iCol = _parent._bindings.MapColumnIndex(out isSrc, col); if (isSrc) { return(_input.IsColumnActive(iCol)); } return(_appendedRow.IsColumnActive(iCol)); }
public override bool IsColumnActive(int col) { return(col >= _inputCursor.Schema.Count || _inputCursor.IsColumnActive(col)); }
public override bool IsColumnActive(int col) { return(_columns.ContainsKey(col) || _needCol(col) || (_otherValues != null && _otherValues.IsColumnActive(col))); }
public override bool IsColumnActive(int col) { return(col == _view._column || _needCol(col) || (_otherValues != null && _otherValues.IsColumnActive(col))); }
public override bool IsColumnActive(int col) { // The column is active if is active in the input view or if it the new vector with the polynomial features. return(col >= _inputCursor.Schema.Count || _inputCursor.IsColumnActive(col)); }
public override bool IsColumnActive(int col) { return(_cursor.IsColumnActive(col)); }
public override bool IsColumnActive(int col) { // The column is active if is active in the input view or if it the new vector with the polynomial features. return(_predicate(col) && _inputCursor.IsColumnActive(col)); }