refactor: Replace DataPacket w/ IDataPacket in many places
This commit is contained in:
1 parent
49a952fb32
commit
03a8f4e9c0
64 files changed
+191
-200
No files matched your search
@@ -1,6 +1,4 @@
|
||||
using System;
|
||||
using System.Collections;
|
||||
using BCG.Utilities;
|
||||
|
||||
namespace BCG
|
||||
{
|
||||
@@ -11,7 +9,8 @@ namespace BCG
|
||||
[DataStreamUserRespresentation (false)]
|
||||
public class LeftInternalJoinStream : InternalJoinStream
|
||||
{
|
||||
protected DataPacket myLeftDataPacket, myRightDataPacket;
|
||||
protected IDataPacket? myLeftDataPacket;
|
||||
protected IDataPacket? myRightDataPacket;
|
||||
//Container to contain all the left rows that are orphaned during a deletion operation
|
||||
private IDictionary myLeftOrphanedRows;
|
||||
public LeftInternalJoinStream (ViewStream vsLeft, string jcLeft, ViewStream vsRight, string jcRight) :
|
||||
@@ -62,7 +61,7 @@ namespace BCG
|
||||
private void myTestAndFire (bool isLeft)
|
||||
{
|
||||
JoinOperand jo = isLeft ? myLeftOperand : myRightOperand;
|
||||
DataPacket dp = isLeft ? myLeftDataPacket : myRightDataPacket;
|
||||
var dp = isLeft ? myLeftDataPacket : myRightDataPacket;
|
||||
//to test whether both have received call backs
|
||||
if (myLeftOperand.hasReceivedData)
|
||||
jo.changeHandler (dp);
|
||||
|
||||
Reference in new issue
Block a user