예제 #1
0
 public AggregationFactoryMethodMedian(
     ExprMedianNode parent,
     Type aggregatedValueType)
 {
     this.parent = parent;
     this.aggregatedValueType = aggregatedValueType;
 }
예제 #2
0
 public AggregationMethodFactory MakeMedian(
     StatementExtensionSvcContext statementExtensionSvcContext,
     ExprMedianNode exprMedianNode,
     Type childType)
 {
     return(new AggregationMethodFactoryMedian(exprMedianNode, childType));
 }
예제 #3
0
        private ExprMedianNode MakeNode(Object value, Type type)
        {
            ExprMedianNode medianNode = new ExprMedianNode(false);

            medianNode.AddChildNode(new SupportExprNode(value, type));
            SupportExprNodeFactory.Validate3Stream(medianNode);
            return(medianNode);
        }
예제 #4
0
 public AggregationForgeFactoryMedian(
     ExprMedianNode parent,
     Type aggregatedValueType,
     DataInputOutputSerdeForge distinctSerde)
 {
     _parent = parent;
     _aggregatedValueType = aggregatedValueType;
     _distinctSerde       = distinctSerde;
 }
 public AggregationMethodFactoryMedian(ExprMedianNode parent, Type aggregatedValueType)
 {
     Parent = parent;
     AggregatedValueType = aggregatedValueType;
 }