SizeConstraints
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
القيود المفروضة على أحجام قوائم التجزئة.
تمثيل JSON |
{
"maxUpdateEntries": integer,
"maxDatabaseEntries": integer
} |
الحقول |
maxUpdateEntries |
integer
الحد الأقصى لحجم الإدخالات. لن يحتوي التحديث على إدخالات أكثر من هذه القيمة، ولكن من المحتمل أن يحتوي التحديث على إدخالات أقل من هذه القيمة. يجب أن يكون العدد 1024 على الأقل. في حال الإسقاط أو القيمة صفرًا، لن يتم ضبط حد أقصى لحجم التعديل.
|
maxDatabaseEntries |
integer
تُحدِّد الحد الأقصى لعدد الإدخالات التي يرغب العميل في امتلاكها في قاعدة البيانات المحلية للقائمة. (قد يتسبب الخادم في تخزين العميل أقل من هذا العدد من الإدخالات). في حال حذف عنصر أو صفر، لا يتم ضبط حد أقصى لحجم قاعدة البيانات.
|
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThe JSON schema defines constraints for hash list sizes, using \u003ccode\u003emaxUpdateEntries\u003c/code\u003e and \u003ccode\u003emaxDatabaseEntries\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003emaxUpdateEntries\u003c/code\u003e limits the number of entries in an update, with a minimum value of 1024 and no limit if omitted or zero.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003emaxDatabaseEntries\u003c/code\u003e limits the total entries allowed in the client's local database, with no limit if omitted or zero.\u003c/p\u003e\n"]]],["The content defines the structure for specifying constraints on hash list sizes using a JSON object with two integer fields: `maxUpdateEntries` and `maxDatabaseEntries`. `maxUpdateEntries` sets the maximum number of entries in an update, with a minimum of 1024. `maxDatabaseEntries` limits the number of entries a client is willing to store locally. Omitting either field or setting it to zero indicates no size limit for that aspect.\n"],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. |"]]