共用方式為


QueryMetrics class

建構函式

QueryMetrics(number, number, number, number, number, TimeSpan, QueryPreparationTimes, TimeSpan, TimeSpan, TimeSpan, RuntimeExecutionTimes, TimeSpan, ClientSideMetrics)

屬性

clientSideMetrics
documentLoadTime
documentWriteTime
indexHitDocumentCount
indexLookupTime
outputDocumentCount
outputDocumentSize
queryPreparationTimes
retrievedDocumentCount
retrievedDocumentSize
runtimeExecutionTimes
totalQueryExecutionTime
vmExecutionTime
zero

方法

add(QueryMetrics[])

會傳回新的 QueryMetrics 實例,這個實例會加入這個 和 引數。

createFromArray(QueryMetrics[])

傳回 QueryMetrics 類別的新實例,此實例是查詢計量陣列的匯總。

createFromDelimitedString(string, ClientSideMetrics)

傳回 QueryMetrics 類別的新實例,這會從分隔字串還原序列化。

建構函式詳細資料

QueryMetrics(number, number, number, number, number, TimeSpan, QueryPreparationTimes, TimeSpan, TimeSpan, TimeSpan, RuntimeExecutionTimes, TimeSpan, ClientSideMetrics)

new QueryMetrics(retrievedDocumentCount: number, retrievedDocumentSize: number, outputDocumentCount: number, outputDocumentSize: number, indexHitDocumentCount: number, totalQueryExecutionTime: TimeSpan, queryPreparationTimes: QueryPreparationTimes, indexLookupTime: TimeSpan, documentLoadTime: TimeSpan, vmExecutionTime: TimeSpan, runtimeExecutionTimes: RuntimeExecutionTimes, documentWriteTime: TimeSpan, clientSideMetrics: ClientSideMetrics)

參數

retrievedDocumentCount

number

retrievedDocumentSize

number

outputDocumentCount

number

outputDocumentSize

number

indexHitDocumentCount

number

totalQueryExecutionTime

TimeSpan

queryPreparationTimes
QueryPreparationTimes
indexLookupTime

TimeSpan

documentLoadTime

TimeSpan

vmExecutionTime

TimeSpan

runtimeExecutionTimes
RuntimeExecutionTimes
documentWriteTime

TimeSpan

clientSideMetrics
ClientSideMetrics

屬性詳細資料

clientSideMetrics

clientSideMetrics: ClientSideMetrics

屬性值

documentLoadTime

documentLoadTime: TimeSpan

屬性值

TimeSpan

documentWriteTime

documentWriteTime: TimeSpan

屬性值

TimeSpan

indexHitDocumentCount

indexHitDocumentCount: number

屬性值

number

indexLookupTime

indexLookupTime: TimeSpan

屬性值

TimeSpan

outputDocumentCount

outputDocumentCount: number

屬性值

number

outputDocumentSize

outputDocumentSize: number

屬性值

number

queryPreparationTimes

queryPreparationTimes: QueryPreparationTimes

屬性值

retrievedDocumentCount

retrievedDocumentCount: number

屬性值

number

retrievedDocumentSize

retrievedDocumentSize: number

屬性值

number

runtimeExecutionTimes

runtimeExecutionTimes: RuntimeExecutionTimes

屬性值

totalQueryExecutionTime

totalQueryExecutionTime: TimeSpan

屬性值

TimeSpan

vmExecutionTime

vmExecutionTime: TimeSpan

屬性值

TimeSpan

zero

static zero: QueryMetrics

屬性值

方法詳細資料

add(QueryMetrics[])

會傳回新的 QueryMetrics 實例,這個實例會加入這個 和 引數。

function add(queryMetricsArray: QueryMetrics[]): QueryMetrics

參數

queryMetricsArray

QueryMetrics[]

傳回

createFromArray(QueryMetrics[])

傳回 QueryMetrics 類別的新實例,此實例是查詢計量陣列的匯總。

static function createFromArray(queryMetricsArray: QueryMetrics[]): QueryMetrics

參數

queryMetricsArray

QueryMetrics[]

傳回

createFromDelimitedString(string, ClientSideMetrics)

傳回 QueryMetrics 類別的新實例,這會從分隔字串還原序列化。

static function createFromDelimitedString(delimitedString: string, clientSideMetrics?: ClientSideMetrics): QueryMetrics

參數

delimitedString

string

clientSideMetrics
ClientSideMetrics

傳回