public void ValidateIntoTableCompatible(AggregationMethodFactory intoTableAgg) { AggregationValidationUtil.ValidateAggregationType(this, intoTableAgg); var that = (AggregationMethodFactorySum) intoTableAgg; AggregationValidationUtil.ValidateAggregationInputType(_inputValueType, that._inputValueType); AggregationValidationUtil.ValidateAggregationFilter(_parent.HasFilter, that._parent.HasFilter); }
public void ValidateIntoTableCompatible(AggregationMethodFactory intoTableAgg) { AggregationValidationUtil.ValidateAggregationType(this, intoTableAgg); var that = (AggregationMethodFactoryAvg) intoTableAgg; AggregationValidationUtil.ValidateAggregationInputType(ChildType, that.ChildType); AggregationValidationUtil.ValidateAggregationFilter(Parent.HasFilter, that.Parent.HasFilter); }
public void ValidateIntoTableCompatible(AggregationMethodFactory intoTableAgg) { AggregationValidationUtil.ValidateAggregationType(this, intoTableAgg); var that = (AggregationMethodFactoryNth) intoTableAgg; AggregationValidationUtil.ValidateAggregationInputType(ResultType, that.ResultType); if (_size != that._size) throw new ExprValidationException( "The size is " + _size + " and provided is " + that._size); }
public void ValidateIntoTableCompatible(AggregationMethodFactory intoTableAgg) { AggregationValidationUtil.ValidateAggregationType(this, intoTableAgg); var that = (AggregationMethodFactoryFirstLastUnbound) intoTableAgg; AggregationValidationUtil.ValidateStreamNumZero(that._streamNum); if (_collectionEventType != null) AggregationValidationUtil.ValidateEventType(_collectionEventType, that._collectionEventType); else AggregationValidationUtil.ValidateAggregationInputType(ResultType, that.ResultType); }
public void ValidateIntoTableCompatible(AggregationMethodFactory intoTableAgg) { AggregationValidationUtil.ValidateAggregationType(this, intoTableAgg); var that = (AggregationMethodFactoryCount) intoTableAgg; AggregationValidationUtil.ValidateAggregationFilter(_parent.HasFilter, that._parent.HasFilter); if (_parent.IsDistinct) AggregationValidationUtil.ValidateAggregationInputType(_countedValueType, that._countedValueType); if (_ignoreNulls != that._ignoreNulls) throw new ExprValidationException("The aggregation declares" + (_ignoreNulls ? "" : " no") + " ignore nulls and provided is" + (that._ignoreNulls ? "" : " no") + " ignore nulls"); }
public void ValidateIntoTableCompatible(AggregationMethodFactory intoTableAgg) { AggregationValidationUtil.ValidateAggregationType(this, intoTableAgg); var that = (AggregationMethodFactoryMinMax) intoTableAgg; AggregationValidationUtil.ValidateAggregationInputType(ResultType, that.ResultType); AggregationValidationUtil.ValidateAggregationFilter(_parent.HasFilter, that._parent.HasFilter); if (_parent.MinMaxTypeEnum != that._parent.MinMaxTypeEnum) throw new ExprValidationException( "The aggregation declares " + _parent.MinMaxTypeEnum.GetExpressionText() + " and provided is " + that._parent.MinMaxTypeEnum.GetExpressionText()); AggregationValidationUtil.ValidateAggregationUnbound(_hasDataWindows, that._hasDataWindows); }