Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
查詢說明報表參考資料
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
使用「查詢說明」執行的作業會傳回下列值做為結果。
方案記錄
| 鍵 |
類型 |
是否會變更? |
說明 |
| indexes_used
|
一般結構體清單
|
是,Struct 回應中的內容可能會變更。 |
這項查詢選取的索引清單。詳情請參閱下文。
|
使用的索引
隨著 Datastore 模式的發展,所用索引的內容可能會有所變更。
| 鍵 |
類型 |
說明 |
| query_scope
|
字串
|
執行查詢的範圍。例如 Collection、Collection Group 和 Includes Ancestors。 |
| 屬性
|
字串
|
格式中的索引欄位,例如 (age ASC, __name__ ASC)。 |
執行作業統計資料
查詢的匯總執行統計資料。
| 金鑰
|
類型
|
這個領域是否會變動? |
說明
|
| results_returned
|
long
|
否 |
傳回的結果總數,包括實體、投影、
匯總結果、鍵。
|
| execution_duration
|
時間長度
|
否 |
在後端執行查詢的總時間。
|
| read_operations
|
long
|
否 |
可計費的讀取作業總數。 |
| debug_stats
|
一般結構體
|
是,Struct 回應中的內容可能會變更。 |
查詢執行作業的偵錯統計資料。
詳情請參閱下文。
|
偵錯統計資料
下列結果有助於偵錯用途,以及分析原始的選用統計資料。
隨著 Datastore 模式演進,偵錯統計資料的內容可能會有所變更。
| 金鑰
|
類型
|
說明
|
| index_entries_scanned
|
String
|
查詢期間檢查的索引項目總數。
|
| documents_scanned
|
String
|
查詢期間掃描的文件總數。
|
| billing_details
|
一般結構體
|
帳單詳細資料,包括「documents_billable」、「index_entries_billable」、「min_query_cost」等指標。 |
後續步驟
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-05-16 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2026-05-16 (世界標準時間)。"],[],[]]