<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:03:36 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[JAVA-5047] MongoBatchCursorAdapter with setBatchSize and getBatchSize</title>
                <link>https://jira.mongodb.org/browse/JAVA-5047</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;We would like to implement an automatic adaption of the cursor size during iteration. But the sync-driver is not exposing the methods necessary.&lt;/p&gt;

&lt;p&gt;When using &lt;tt&gt;FindIterable&lt;/tt&gt; or &lt;tt&gt;AggregateIterable&lt;/tt&gt; &lt;tt&gt;.iterator()&lt;/tt&gt; a new &lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/blob/master/driver-sync/src/main/com/mongodb/client/internal/MongoBatchCursorAdapter.java&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;MongoBatchCursorAdapter&lt;/a&gt; instance is created.&#160;&lt;/p&gt;

&lt;p&gt;But it hides the &lt;tt&gt;setBatchSize&lt;/tt&gt; and &lt;tt&gt;getBatchSize&lt;/tt&gt; methods of the BatchCursor, which it wraps.&lt;/p&gt;

&lt;p&gt;We can only use these methods using undesired reflection to access the private &lt;tt&gt;batchCursor&lt;/tt&gt; field of the &lt;tt&gt;MongoBatchCursorAdapter&lt;/tt&gt;.&#160;&lt;/p&gt;

&lt;p&gt;It would be great to have these batch size methods available in the &lt;tt&gt;MongoBatchCursorAdapter&lt;/tt&gt;.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="2381436">JAVA-5047</key>
            <summary>MongoBatchCursorAdapter with setBatchSize and getBatchSize</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="10300" iconUrl="https://jira.mongodb.org/images/icons/priorities/medium.svg">Unknown</priority>
                        <status id="10038" iconUrl="https://jira.mongodb.org/images/icons/subtask.gif" description="">Backlog</status>
                    <statusCategory id="2" key="new" colorName="default"/>
                                    <resolution id="-1">Unresolved</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="hed1wa3@bosch.com">Dominik Herbst</reporter>
                        <labels>
                    </labels>
                <created>Fri, 30 Jun 2023 14:38:14 +0000</created>
                <updated>Mon, 3 Jul 2023 15:52:22 +0000</updated>
                                                                            <component>Query Operations</component>
                                        <votes>1</votes>
                                    <watches>4</watches>
                                                                                                                <comments>
                            <comment id="5540850" author="JIRAUSER1268547" created="Mon, 3 Jul 2023 15:52:22 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=hed1wa3%40bosch.com&quot; class=&quot;user-hover&quot; rel=&quot;hed1wa3@bosch.com&quot;&gt;hed1wa3@bosch.com&lt;/a&gt; - thank you for filing this feature request! I&apos;ll take it back to the team and we can discuss possible prioritization. I&apos;ll drop updates on this ticket as we have them, and I will leave this ticket in Backlog to gather additional votes and comments from the community.&lt;/p&gt;

&lt;p&gt;In the meantime, if you have additional details on your use case, please reach out.&lt;/p&gt;</comment>
                            <comment id="5536935" author="dbeng-pm-bot" created="Fri, 30 Jun 2023 14:38:17 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=hed1wa3%40bosch.com&quot; class=&quot;user-hover&quot; rel=&quot;hed1wa3@bosch.com&quot;&gt;hed1wa3@bosch.com&lt;/a&gt;, thank you for reporting this issue! The team will look into it and get back to you soon. &lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                            <customfield id="customfield_14266" key="com.atlassian.jira.plugin.system.customfieldtypes:textarea">
                        <customfieldname>Documentation Changes Summary</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>&lt;p&gt;1.  What would you like to communicate to the user about this feature?&lt;br/&gt;
2.  Would you like the user to see examples of the syntax and/or executable code and its output?&lt;br/&gt;
3.  Which versions of the driver/connector does this apply to?&lt;/p&gt;</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|i1yaow:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>