Esempio n. 1
0
        public GroupOperator(
            GraphViewExecutionOperator inputOp,
            ScalarFunction groupByKeyFunction,
            int groupByKeyFieldIndex,
            ConstantSourceOperator tempSourceOp,
            ContainerOperator groupedSourceOp,
            GraphViewExecutionOperator aggregateOp,
            int elementPropertyProjectionIndex,
            int carryOnCount)
        {
            this.inputOp = inputOp;

            this.groupByKeyFunction   = groupByKeyFunction;
            this.groupByKeyFieldIndex = groupByKeyFieldIndex;

            this.tempSourceOp    = tempSourceOp;
            this.groupedSourceOp = groupedSourceOp;
            this.aggregateOp     = aggregateOp;

            this.elementPropertyProjectionIndex = elementPropertyProjectionIndex;
            this.carryOnCount = carryOnCount;

            groupedStates = new Dictionary <FieldObject, List <RawRecord> >();
            Open();
        }
Esempio n. 2
0
 public GroupFunction(ConstantSourceOperator tempSourceOp,
                      ContainerOperator groupedSourceOp,
                      GraphViewExecutionOperator aggregateOp,
                      bool isProjectingACollection)
 {
     this.groupedStates           = new Dictionary <FieldObject, List <RawRecord> >();
     this.tempSourceOp            = tempSourceOp;
     this.groupedSourceOp         = groupedSourceOp;
     this.aggregateOp             = aggregateOp;
     this.isProjectingACollection = isProjectingACollection;
 }
Esempio n. 3
0
 public GroupFunction(ConstantSourceOperator tempSourceOp,
                      ContainerOperator groupedSourceOp,
                      GraphViewExecutionOperator aggregateOp,
                      int elementPropertyProjectionIndex)
 {
     groupedStates        = new Dictionary <FieldObject, List <RawRecord> >();
     this.tempSourceOp    = tempSourceOp;
     this.groupedSourceOp = groupedSourceOp;
     this.aggregateOp     = aggregateOp;
     this.elementPropertyProjectionIndex = elementPropertyProjectionIndex;
 }
Esempio n. 4
0
        public GroupOperator(
            GraphViewExecutionOperator inputOp,
            ScalarFunction groupByKeyFunction,
            ConstantSourceOperator tempSourceOp,
            ContainerOperator groupedSourceOp,
            GraphViewExecutionOperator aggregateOp,
            bool isProjectingACollection,
            int carryOnCount)
        {
            this.inputOp = inputOp;

            this.groupByKeyFunction = groupByKeyFunction;

            this.tempSourceOp    = tempSourceOp;
            this.groupedSourceOp = groupedSourceOp;
            this.aggregateOp     = aggregateOp;

            this.isProjectingACollection = isProjectingACollection;
            this.carryOnCount            = carryOnCount;

            this.groupedStates = new Dictionary <FieldObject, List <RawRecord> >();
            this.Open();
        }
 public ContainerEnumerator(List <RawRecord> tableCache, ContainerOperator containerOp)
 {
     offset           = -1;
     this.tableCache  = tableCache;
     this.containerOp = containerOp;
 }