Files
spark/src/DataStreamSuite/DataStream/Primitives/Map/ISuperStreamMapper.cs
T
2023-09-04 16:25:40 -04:00

29 lines
740 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace BCG
{
public interface ISuperStreamMapper
{
/// <summary>
/// returns output schema for the
/// rows that will be outputted
/// </summary>
/// <param name="schema"></param>
/// <returns></returns>
IBlueTableSchema getOutputSchema(IBlueTableSchema schema);
/// <summary>
/// maps one row to multiple rows
/// </summary>
/// <param name="inputRow"></param>
/// <returns></returns>
IBlueRow[] map(IBlueRow inputRow);
/// <summary>
/// fires an event when the mapper
/// changes itself
/// </summary>
event MapperChangeDelegate onMapperChange;
}
}