SchemaAnnotationsExtensions 類別

定義

擴充方法,有助於輕鬆取用 的熱門內容 Annotations

public static class SchemaAnnotationsExtensions
type SchemaAnnotationsExtensions = class
Public Module SchemaAnnotationsExtensions
繼承
SchemaAnnotationsExtensions

方法

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

如果這是索引鍵類型,且索引鍵值符合 ,則會將輸入資料行的索引鍵值 ItemTypeRawTypeTValue 儲存至提供的緩衝區。 如果沒有相符的索引鍵值注釋,這會擲回例外狀況。

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

如果有位置名稱,請將輸入資料行的位置名稱儲存到提供的緩衝區中。 否則會擲回例外狀況。

HasKeyValues(DataViewSchema+Column, PrimitiveDataViewType)

true如果輸入資料行為 VectorDataViewType ,且 SlotNames 其 具有 其 ItemTypeTextDataViewType 的注釋 VectorDataViewType ,且其符合此輸入向量大小,則會傳 Size 回 。

HasSlotNames(DataViewSchema+Column)

true如果輸入資料行為 VectorDataViewType ,且 SlotNames 其 具有 其 ItemTypeTextDataViewType 的注釋 VectorDataViewType ,且其符合此輸入向量大小,則會傳 Size 回 。

IsNormalized(DataViewSchema+Column)

只有在 已將 注釋設定為 trueIsNormalizedcolumn ,才會傳 true 回 和 。

適用於