Class TextTableSink
- Namespace
- Datafication.Core.Sinks
- Assembly
- Datafication.Core.dll
Transforms a DataBlock object into a textual table representation.
public class TextTableSink : IDataSink<string>
- Inheritance
-
objectTextTableSink
- Implements
-
IDataSink<string>
Properties
ColumnPadding
Gets or sets the column padding for the text table.
public int ColumnPadding { get; set; }
Property Value
- int
MaximumWidth
Gets or sets the maximum width for a single row in the text table.
public int MaximumWidth { get; set; }
Property Value
- int
RowLimit
Gets or sets the row limit for the text table.
public int RowLimit { get; set; }
Property Value
- int
Methods
Transform(DataBlock)
Transforms the provided data records into a textual table representation.
public Task<string> Transform(DataBlock records)
Parameters
recordsDataBlockThe data records to transform.
Returns
- Task<string>
A textual table representation of the data records.