Class Chunk<T>

One chunk produced from a source row. The source row itself is not modified.

Inheritance
Chunk<T>
Namespace: ETLBox.AI
Assembly: ETLBox.AI.dll
Syntax
    public class Chunk<T>
Type Parameters
NameDescription
T

Type of the source row.

Properties

Context

Header breadcrumb or other context preserved by the chunker. Null when the chunker does not set context.

Declaration
    public string Context { get; set; }
Property Value
TypeDescription
string

Index

Zero-based index of this chunk within the chunks of its source row.

Declaration
    public int Index { get; set; }
Property Value
TypeDescription
int

Source

The unchanged source row this chunk was created from.

Declaration
    public T Source { get; set; }
Property Value
TypeDescription
T

Text

The text of this chunk.

Declaration
    public string Text { get; set; }
Property Value
TypeDescription
string