29 lines
740 B
C#
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;
|
|
}
|
|
}
|