Megosztás a következőn keresztül:


SchemaAnnotationsExtensions Class

Definition

Extension methods to facilitate easy consumption of popular contents of Annotations.

public static class SchemaAnnotationsExtensions
type SchemaAnnotationsExtensions = class
Public Module SchemaAnnotationsExtensions
Inheritance
SchemaAnnotationsExtensions

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