public void TryWhere(Operator op, ComparableColor value, ShortSet result, ExecutionDetails details) { // Base Column can't identify matches for any operator in bulk efficiently. if (details != null) { details.AddError(ExecutionDetails.ColumnDoesNotSupportOperator, op, this.Name); } }
public Array GetValues(IList <ushort> lids) { if (lids == null) { throw new ArgumentNullException("lids"); } int count = lids.Count; ComparableColor[] result = new ComparableColor[count]; for (int i = 0; i < count; ++i) { result[i] = this[lids[i]]; } return(result); }
public bool TryGetIndexOf(ComparableColor value, out ushort index) { // Base column doesn't contain sorting information index = ushort.MaxValue; return(false); }
public bool TryEvaluate(ushort lid, Operator op, ComparableColor value, out bool result) { ComparableColor itemValue = this[lid]; return(itemValue.TryEvaluate(op, value, out result)); }