ঘোষণা :
15 এপ্রিল, 2025 এর আগে আর্থ ইঞ্জিন ব্যবহার করার জন্য নিবন্ধিত সমস্ত অবাণিজ্যিক প্রকল্পগুলিকে অবশ্যই আর্থ ইঞ্জিন অ্যাক্সেস বজায় রাখার জন্য
অ-বাণিজ্যিক যোগ্যতা যাচাই করতে হবে।
ee.Reducer.combine
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
একটি Reducer তৈরি করে যা সমান্তরালে দুটি রিডুসার চালায়। সম্মিলিত রিডুসারের আউটপুট হবে Reducer1 এর পরে, Reducer2 এর আউটপুট, যেখানে প্রদত্ত স্ট্রিংয়ের সাথে রিডুসার 2-এর আউটপুট নামগুলি প্রিফিক্স করা হয়েছে।
যদি শেয়ার্ড ইনপুট সত্য হয়, রিডুসারদের অবশ্যই একই সংখ্যক ইনপুট থাকতে হবে এবং সম্মিলিত রিডুসারগুলি তাদের সাথে মিলবে; যদি এটি মিথ্যা হয়, তাহলে সম্মিলিত রিডুসারের ইনপুট হবে Reducer1 এর পরে Reducer2 এর ইনপুটগুলি।
ব্যবহার | রিটার্নস | Reducer. combine (reducer2, outputPrefix , sharedInputs ) | হ্রাসকারী |
যুক্তি | টাইপ | বিস্তারিত | এটি: reducer1 | হ্রাসকারী | প্রথম হ্রাসকারী। |
reducer2 | হ্রাসকারী | দ্বিতীয় হ্রাসকারী। |
outputPrefix | স্ট্রিং, ডিফল্ট: "" | Reducer2 এর আউটপুট নামের উপসর্গ। |
sharedInputs | বুলিয়ান, ডিফল্ট: মিথ্যা | হ্রাসকারীরা ইনপুট ভাগ করে কিনা। |
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003eCreates a combined Reducer by running two reducers (reducer1 and reducer2) concurrently, with the outputs of reducer1 preceding those of reducer2.\u003c/p\u003e\n"],["\u003cp\u003eOutputs of reducer2 are prefixed with a specified string to differentiate them from reducer1's outputs.\u003c/p\u003e\n"],["\u003cp\u003eInput handling for the combined reducer is configurable: if \u003ccode\u003esharedInputs\u003c/code\u003e is true, both reducers utilize the same inputs; otherwise, the combined reducer's inputs are those of reducer1 followed by those of reducer2.\u003c/p\u003e\n"],["\u003cp\u003eIt can be invoked using \u003ccode\u003eReducer.combine()\u003c/code\u003e method, accepting reducer2, output prefix, and shared input preference as arguments.\u003c/p\u003e\n"]]],[],null,["# ee.Reducer.combine\n\nCreates a Reducer that runs two reducers in parallel. The combined reducer's outputs will be those of reducer1 followed by those of reducer2, where the output names of reducer2 are prefixed with the given string.\n\n\u003cbr /\u003e\n\nIf sharedInputs is true, the reducers must have the same number of inputs, and the combined reducer's will match them; if it is false, the inputs of the combined reducer will be those of reducer1 followed by those of reducer2.\n\n| Usage | Returns |\n|------------------------------------------------------------------|---------|\n| Reducer.combine`(reducer2, `*outputPrefix* `, `*sharedInputs*`)` | Reducer |\n\n| Argument | Type | Details |\n|------------------|-------------------------|-------------------------------------|\n| this: `reducer1` | Reducer | The first reducer. |\n| `reducer2` | Reducer | The second reducer. |\n| `outputPrefix` | String, default: \"\" | Prefix for reducer2's output names. |\n| `sharedInputs` | Boolean, default: false | Whether the reducers share inputs. |"]]