Files
spark/src/DataStreamSuite/DataStreamCore/LightTableStream.cs
T

45 lines
1.4 KiB
C#

// using System;
// using System.Collections;
// using System.Data;
// using BCG.Utilities;
// /* this class reprsents a table stream for use with CppDataStreams. It does not hold on to the last value fired.
// * This way, the last value is purged from managed memory and only the slimmer, sexier Cpp implementation of the row remains.
// *
// */
// namespace BCG {
// public class LightTableStream : TableStream {
// public LightTableStream(string tableName)
// :
// base(tableName, null, null) {
// }
// public LightTableStream(string tableName, ViewStreamDatabase db)
// :
// base(tableName, db, null) { }
// public LightTableStream(string tableName, string colExp)
// :
// base(tableName,
// null,
// colExp) { }
// public LightTableStream(string ttableName, ViewStreamDatabase db, string colExp) :
// base(ttableName, db, colExp) {
// }
// protected override void _handle_updates(IBlueRowCollection newRows, IBlueRowCollection addedRows, IBlueRowCollection deletedRows) {
// base._handle_updates(newRows, addedRows, deletedRows);
// //once you've fired the rows, delete them becuase we don't want to hold onto them in memory
// myLastValue = null;
// }
// }
// }