WindowDefinition 类

定义

命名窗口的定义。

[System.Serializable]
public class WindowDefinition : Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
[<System.Serializable>]
type WindowDefinition = class
    inherit TSqlFragment
Public Class WindowDefinition
Inherits TSqlFragment
继承
WindowDefinition
属性

构造函数

名称 说明
WindowDefinition()

命名窗口的定义。

字段

名称 说明
Uninitialized

用于指示和未初始化令牌的常量。

(继承自 TSqlFragment)

属性

名称 说明
FirstTokenIndex

获取或设置令牌的第一个索引。

(继承自 TSqlFragment)
FragmentLength

定义片段在分析的脚本中占用的字符数。

(继承自 TSqlFragment)
LastTokenIndex

获取或设置令牌的最后一个索引。

(继承自 TSqlFragment)
OrderByClause

order by 子句。 可选可能为 null。

Partitions

分区。 可选,可能具有零个元素。

RefWindowName

引用窗口名称。 可选,可以为 null。

ScriptTokenStream

获取或设置脚本令牌流。

(继承自 TSqlFragment)
StartColumn

获取起始列。

(继承自 TSqlFragment)
StartLine

获取起始行。

(继承自 TSqlFragment)
StartOffset

定义已分析的脚本中片段起始位置的字符偏移量。

(继承自 TSqlFragment)
WindowFrameClause

窗口边界规范,用于窗口聚合。 可选可能为 null。

WindowName

窗口名称。 不能为 null。

方法

名称 说明
Accept(TSqlFragmentVisitor)

接受访问者

AcceptChildren(TSqlFragmentVisitor)

接受儿童访问者

适用于