SizeConstraints
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
हैश सूचियों के साइज़ की सीमाएं.
JSON के काेड में दिखाना |
{
"maxUpdateEntries": integer,
"maxDatabaseEntries": integer
} |
फ़ील्ड |
maxUpdateEntries |
integer
प्रविष्टियों की संख्या में अधिकतम आकार. अपडेट में इस मान से ज़्यादा प्रविष्टियां नहीं होंगी, लेकिन हो सकता है कि अपडेट में इस मान से कम प्रविष्टियां हों. यह कम से कम 1024 होना चाहिए. अगर इसे छोड़ा जाता है या इसकी वैल्यू शून्य होती है, तो अपडेट के साइज़ की कोई सीमा सेट नहीं की जाती.
|
maxDatabaseEntries |
integer
इससे तय होती है कि सूची के लिए, लोकल डेटाबेस में ज़्यादा से ज़्यादा कितनी एंट्री क्लाइंट शामिल करना चाहते हैं. (सर्वर की वजह से, क्लाइंट इस संख्या से कम एंट्री सेव कर सकता है.) अगर इसे छोड़ा जाता है या इसकी वैल्यू शून्य होती है, तो डेटाबेस के साइज़ की कोई सीमा सेट नहीं होती.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-10-11 (UTC) को अपडेट किया गया.
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2024-10-11 (UTC) को अपडेट किया गया."],[[["The JSON schema defines constraints for hash list sizes, using `maxUpdateEntries` and `maxDatabaseEntries`."],["`maxUpdateEntries` limits the number of entries in an update, with a minimum value of 1024 and no limit if omitted or zero."],["`maxDatabaseEntries` limits the total entries allowed in the client's local database, with no limit if omitted or zero."]]],["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"]]