コード例 #1
0
 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);
 }
コード例 #2
0
 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);
 }
コード例 #3
0
 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);
 }
コード例 #4
0
 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);
 }
コード例 #5
0
 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");
 }
コード例 #6
0
 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);
 }