public GroupSideEffectOperator( GraphViewExecutionOperator inputOp, GroupFunction groupState, ScalarFunction groupByKeyFunction) { this.inputOp = inputOp; this.GroupState = groupState; this.groupByKeyFunction = groupByKeyFunction; this.Open(); }
public GroupSideEffectOperator( GraphViewExecutionOperator inputOp, GroupFunction groupFunction, string sideEffectKey, ScalarFunction groupByKeyFunction) { this.inputOp = inputOp; this.groupFunction = groupFunction; this.groupByKeyFunction = groupByKeyFunction; this.sideEffectKey = sideEffectKey; this.Open(); }
private void Reconstruct(StreamingContext context) { AdditionalSerializationInfo additionalInfo = (AdditionalSerializationInfo)context.Context; this.groupFunction = (GroupFunction)additionalInfo.SideEffectFunctions[this.sideEffectKey]; }