SizeConstraints
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ข้อจำกัดเกี่ยวกับขนาดของรายการแฮช
การแสดง JSON |
{
"maxUpdateEntries": integer,
"maxDatabaseEntries": integer
} |
ช่อง |
maxUpdateEntries |
integer
จํานวนรายการสูงสุด การอัปเดตจะมีรายการไม่เกินค่านี้ แต่อาจมีการอัปเดตที่มีรายการน้อยกว่าค่านี้ ค่านี้ต้องมีอย่างน้อย 1,024 หากไม่ระบุหรือเป็น 0 ระบบจะไม่จำกัดขนาดการอัปเดต
|
maxDatabaseEntries |
integer
กำหนดจำนวนรายการสูงสุดที่ไคลเอ็นต์ต้องการให้มีในฐานข้อมูลในเครื่องสำหรับรายการ (เซิร์ฟเวอร์อาจทําให้ไคลเอ็นต์จัดเก็บรายการน้อยกว่าจํานวนนี้) หากไม่ระบุหรือเป็น 0 ระบบจะไม่จำกัดขนาดฐานข้อมูล
|
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-25 UTC
[null,null,["อัปเดตล่าสุด 2025-07-25 UTC"],[],[],null,["# SizeConstraints\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nThe constraints on the sizes of the hash lists.\n\n| JSON representation |\n|------------------------------------------------------------------------|\n| ``` { \"maxUpdateEntries\": integer, \"maxDatabaseEntries\": integer } ``` |\n\n| Fields ||\n|----------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `maxUpdateEntries` | `integer` The maximum size in number of entries. The update will not contain more entries than this value, but it is possible that the update will contain fewer entries than this value. This MUST be at least 1024. If omitted or zero, no update size limit is set. |\n| `maxDatabaseEntries` | `integer` Sets the maximum number of entries that the client is willing to have in the local database for the list. (The server MAY cause the client to store less than this number of entries.) If omitted or zero, no database size limit is set. |"]]