Exemplo n.º 1
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);
 }
 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 = (ExprPlugInAggMultiFunctionNodeFactory) intoTableAgg;
     if (!GetAggregationStateKey(false).Equals(that.GetAggregationStateKey(false)))
         throw new ExprValidationException("Mismatched state key");
 }
Exemplo n.º 4
0
 public void ValidateIntoTableCompatible(AggregationMethodFactory intoTableAgg)
 {
     AggregationValidationUtil.ValidateAggregationType(this, intoTableAgg);
     var that = (AggregationMethodFactoryRate) intoTableAgg;
     if (_intervalTime != that._intervalTime)
         throw new ExprValidationException("The size is " + _intervalTime + " and provided is " + that._intervalTime);
     AggregationValidationUtil.ValidateAggregationUnbound(!_isEver, !that._isEver);
 }
 public void ValidateIntoTableCompatible(AggregationMethodFactory intoTableAgg)
 {
     AggregationValidationUtil.ValidateAggregationType(this, intoTableAgg);
     var other = (ExprAggMultiFunctionSortedMinMaxByNodeFactory) intoTableAgg;
     AggregationValidationUtil.ValidateEventType(ContainedEventType, other.ContainedEventType);
     AggregationValidationUtil.ValidateAggFuncName(Parent.AggregationFunctionName,
         other.Parent.AggregationFunctionName);
 }
Exemplo n.º 6
0
 public void ValidateIntoTableCompatible(
     string tableExpression,
     AggregationPortableValidation intoTableAgg,
     string intoExpression,
     AggregationForgeFactory factory)
 {
     AggregationValidationUtil.ValidateAggregationType(this, tableExpression, intoTableAgg, intoExpression);
 }
Exemplo n.º 7
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);
 }
Exemplo n.º 8
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);
 }
Exemplo n.º 9
0
 public void ValidateIntoTableCompatible(
     string tableExpression,
     AggregationPortableValidation intoTableAgg,
     string intoExpression,
     AggregationForgeFactory factory)
 {
     AggregationValidationUtil.ValidateAggregationType(this, tableExpression, intoTableAgg, intoExpression);
     var other = (AggregationPortableValidationLinear) intoTableAgg;
     AggregationValidationUtil.ValidateEventType(ContainedEventType, other.ContainedEventType);
 }
 public void ValidateIntoTableCompatible(AggregationMethodFactory intoTableAgg)
 {
     AggregationValidationUtil.ValidateAggregationType(this, intoTableAgg);
     var that = (AggregationMethodFactoryCountEver) intoTableAgg;
     if (that._ignoreNulls != _ignoreNulls)
         throw new ExprValidationException("The aggregation declares " +
                                           (_ignoreNulls ? "ignore-nulls" : "no-ignore-nulls") +
                                           " and provided is " +
                                           (that._ignoreNulls ? "ignore-nulls" : "no-ignore-nulls"));
     AggregationValidationUtil.ValidateAggregationFilter(_parent.HasFilter, that._parent.HasFilter);
 }
 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");
 }
Exemplo n.º 12
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);
 }
 public void ValidateIntoTableCompatible(AggregationMethodFactory intoTableAgg)
 {
     AggregationValidationUtil.ValidateAggregationType(this, intoTableAgg);
 }
Exemplo n.º 14
0
 public void ValidateIntoTableCompatible(AggregationMethodFactory intoTableAgg)
 {
     AggregationValidationUtil.ValidateAggregationType(this, intoTableAgg);
     var other = (ExprAggMultiFunctionLinearAccessNodeFactoryAccess) intoTableAgg;
     AggregationValidationUtil.ValidateEventType(ContainedEventType, other.ContainedEventType);
 }