Share via


TextLoader.Range Class

Definition

Specifies the range of indices of input columns that should be mapped to an output column.

public sealed class TextLoader.Range
type TextLoader.Range = class
Public NotInheritable Class TextLoader.Range
Inheritance
TextLoader.Range

Constructors

TextLoader.Range()
TextLoader.Range(Int32, Nullable<Int32>)

A range representing a set of values. Will result in a vector column.

TextLoader.Range(Int32)

A range representing a single value. Will result in a scalar column.

Fields

AllOther

Whether this range includes only other indices not specified.

AutoEnd

Whether this range extends to the end of the line, but should be a fixed number of items. If Max is specified, the fields AutoEnd and VariableEnd are ignored.

ForceVector

Force scalar columns to be treated as vectors of length one.

Max

The maximum index of the column, inclusive. If null indicates that the TextLoader should auto-detect the legnth of the lines, and read until the end. If max is specified, the fields AutoEnd and VariableEnd are ignored.

Min

The minimum index of the column, inclusive.

VariableEnd

Whether this range extends to the end of the line, which can vary from line to line. If Max is specified, the fields AutoEnd and VariableEnd are ignored. If AutoEnd is true, then VariableEnd is ignored.

Applies to