जॉइन का इस्तेमाल, ee.Filter
की बताई गई शर्त के आधार पर, अलग-अलग कलेक्शन (उदाहरण के लिए,
ImageCollection
या FeatureCollection
) के एलिमेंट को जोड़ने के लिए किया जाता है. फ़िल्टर को हर कलेक्शन में मौजूद उन प्रॉपर्टी के लिए आर्ग्युमेंट के साथ बनाया जाता है जो एक-दूसरे से जुड़ी होती हैं. खास तौर पर,
leftField
, प्राइमरी कलेक्शन में मौजूद उस प्रॉपर्टी के बारे में बताता है जो
सेकंडरी कलेक्शन में मौजूद rightField
से जुड़ी है. फ़िल्टर का टाइप (उदाहरण के लिए, equals
, greaterThanOrEquals
, lessThan
वगैरह)
फ़ील्ड के बीच के संबंध को दिखाता है. जॉइन टाइप से पता चलता है कि कलेक्शन के एलिमेंट के बीच एक-से-कई या एक-से-एक संबंध है. साथ ही, यह भी पता चलता है कि कितने मैच बनाए रखने हैं. जॉइन का आउटपुट join.apply()
से जनरेट होता है और यह जॉइन के टाइप के हिसाब से अलग-अलग होगा.
Join की खास जानकारी
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-25 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eJoins combine elements from different collections like \u003ccode\u003eImageCollection\u003c/code\u003e and \u003ccode\u003eFeatureCollection\u003c/code\u003e based on a specified condition using an \u003ccode\u003eee.Filter\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eee.Filter\u003c/code\u003e defines the relationship between properties in the collections using \u003ccode\u003eleftField\u003c/code\u003e and \u003ccode\u003erightField\u003c/code\u003e along with a filter type like \u003ccode\u003eequals\u003c/code\u003e or \u003ccode\u003elessThan\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eDifferent join types handle one-to-one or one-to-many relationships and control the number of matches retained, impacting the output produced by \u003ccode\u003ejoin.apply()\u003c/code\u003e.\u003c/p\u003e\n"]]],["Joins combine elements from different collections using an `ee.Filter` based on a specified condition. `leftField` and `rightField` define related properties within the primary and secondary collections, respectively. The filter type determines the relationship between these fields (e.g., equals, greaterThan). Join type specifies one-to-many or one-to-one relationships and the number of matches. The `join.apply()` method produces the output, which varies based on the chosen join type.\n"],null,["# Join Overview\n\nJoins are used to combine elements from different collections (e.g.\n`ImageCollection` or `FeatureCollection`) based on a condition\nspecified by an `ee.Filter`. The filter is constructed with arguments for\nthe properties in each collection that are related to each other. Specifically,\n`leftField` specifies the property in the primary collection that is related\nto the `rightField` in the secondary collection. The type of filter (e.g.\n`equals`, `greaterThanOrEquals`, `lessThan`, etc.)\nindicates the relationship between the fields. The type of join indicates one-to-many\nor one-to-one relationships between the elements in the collections and how many matches\nto retain. The output of a join is produced by `join.apply()` and will vary\naccording to the type of join."]]