Delen via


DataViewSchema.Column Struct

Definition

This class describes one column in the particular schema.

public struct DataViewSchema.Column
type DataViewSchema.Column = struct
Public Structure DataViewSchema.Column
Inheritance
DataViewSchema.Column

Properties

Annotations

The annotations of the column.

Index

The column's index in the schema.

IsHidden

Whether this column is hidden (accessible only by index).

Name

The name of the column.

Type

The type of the column.

Methods

ToString()

Extension Methods

GetKeyValues<TValue>(DataViewSchema+Column, VBuffer<TValue>)

Stores the key values of the input column into the provided buffer, if this is of key type and whose key values are of ItemType whose RawType matches TValue. If there is no matching key valued annotation this will throw an exception.

GetSlotNames(DataViewSchema+Column, VBuffer<ReadOnlyMemory<Char>>)

Stores the slots names of the input column into the provided buffer, if there are slot names. Otherwise it will throw an exception.

HasKeyValues(DataViewSchema+Column, PrimitiveDataViewType)

Returns true if the input column is of VectorDataViewType, and that has SlotNames annotation of a VectorDataViewType whose ItemType is of TextDataViewType, and further whose Size matches this input vector size.

HasSlotNames(DataViewSchema+Column)

Returns true if the input column is of VectorDataViewType, and that has SlotNames annotation of a VectorDataViewType whose ItemType is of TextDataViewType, and further whose Size matches this input vector size.

IsNormalized(DataViewSchema+Column)

Returns true if and only if column has IsNormalized annotation set to true.

Applies to