They were originally commented out because the expression parsing utils weren't ready (now they are).
23 lines
584 B
C#
23 lines
584 B
C#
using System;
|
|
using BCG.Utilities;
|
|
|
|
using bts;
|
|
|
|
namespace BCG
|
|
{
|
|
internal class JoinForeignTable : JoinTable
|
|
{
|
|
public JoinForeignTable (JoinTableSchema schema) : base (schema) {}
|
|
|
|
public override void addRow (IBlueRow leftRow, IBlueRow rightRow, DataPacket dp)
|
|
{
|
|
JoinRow newRow = new JoinRow (leftRow, rightRow, mySchema);
|
|
Log.assert(myIdIndex[leftRow["id"]] == null);
|
|
myIdIndex[leftRow["id"]] = newRow;
|
|
((BlueTable)(dp.addedRows)).addRow (newRow);
|
|
myLeftIndex.add (newRow);
|
|
myRightIndex.add (newRow);
|
|
}
|
|
}
|
|
}
|