SchemaAnnotationsExtensions 类

定义

扩展方法,方便轻松使用热门内容 Annotations

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

方法

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

将输入列的键值存储在提供的缓冲区中,如果这是键类型,并且其键值与ItemType匹配TValueRawType的值相同。 如果没有匹配的键值批注,则会引发异常。

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

如果存在槽名称,请将输入列的槽名称存储在提供的缓冲区中。 否则,它将引发异常。

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)

返回 true 是否且仅当 columnIsNormalized 注设置为 true

适用于