<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:53:30 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-970] 2.12: Support aggregation output as a cursor</title>
                <link>https://jira.mongodb.org/browse/JAVA-970</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;Support in 2.12.&lt;/p&gt;</description>
                <environment></environment>
        <key id="91847">JAVA-970</key>
            <summary>2.12: Support aggregation output as a cursor</summary>
                <type id="5" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14716&amp;avatarType=issuetype">Sub-task</type>
                            <parent id="84225">JAVA-911</parent>
                                    <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="justin.lee">Justin Lee</assignee>
                                    <reporter username="jeff.yemin@mongodb.com">Jeffrey Yemin</reporter>
                        <labels>
                    </labels>
                <created>Fri, 27 Sep 2013 15:59:34 +0000</created>
                <updated>Thu, 3 Apr 2014 15:21:55 +0000</updated>
                            <resolved>Thu, 3 Oct 2013 15:17:33 +0000</resolved>
                                                    <fixVersion>2.12.0</fixVersion>
                                    <component>API</component>
                    <component>Query Operations</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="490984" author="xgen-internal-githook" created="Thu, 30 Jan 2014 18:57:10 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;jyemin&apos;, u&apos;name&apos;: u&apos;Jeff Yemin&apos;, u&apos;email&apos;: u&apos;jeff.yemin@10gen.com&apos;}
&lt;p&gt;Message: &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-970&quot; title=&quot;2.12: Support aggregation output as a cursor&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-970&quot;&gt;&lt;del&gt;JAVA-970&lt;/del&gt;&lt;/a&gt;: Rename MongoCursor to Cursor, override close to not throw IOException, and make DBCursor implement Cursor.&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/2979ae82a2ada9df3447fa8603b58b7d336326be&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/2979ae82a2ada9df3447fa8603b58b7d336326be&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="434890" author="auto" created="Wed, 2 Oct 2013 22:00:54 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{u&apos;username&apos;: u&apos;evanchooly&apos;, u&apos;name&apos;: u&apos;Justin Lee&apos;, u&apos;email&apos;: u&apos;justin.lee@10gen.com&apos;}
&lt;p&gt;Message: back port agg fixes  resolves issues:  &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-968&quot; title=&quot;2.12: Support $out aggregation pipeline operator&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-968&quot;&gt;&lt;del&gt;JAVA-968&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-970&quot; title=&quot;2.12: Support aggregation output as a cursor&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-970&quot;&gt;&lt;del&gt;JAVA-970&lt;/del&gt;&lt;/a&gt;, &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-972&quot; title=&quot;2.12: Support allowDiskUse top-level boolean parameter to aggregate helper&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-972&quot;&gt;&lt;del&gt;JAVA-972&lt;/del&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Squashed commit of the following:&lt;/p&gt;

&lt;p&gt;commit 0f90109f14780e066566b57607ab131b4dacc63c&lt;br/&gt;
Author: Justin Lee &amp;lt;justin.lee@10gen.com&amp;gt;&lt;br/&gt;
Date:   Wed Oct 2 17:51:13 2013 -0400&lt;/p&gt;

&lt;p&gt;    use two collections&lt;/p&gt;

&lt;p&gt;commit 0bf6ece31d48984e2481a7c03b84196b96ffef4a&lt;br/&gt;
Author: Justin Lee &amp;lt;justin.lee@10gen.com&amp;gt;&lt;br/&gt;
Date:   Wed Oct 2 17:35:31 2013 -0400&lt;/p&gt;

&lt;p&gt;    cleaning up force readPreference to primary with $out&lt;br/&gt;
    use the correct input collection for aggregation&lt;/p&gt;

&lt;p&gt;commit 1660765342351b486bc17baa67e92a94855de27e&lt;br/&gt;
Author: Justin Lee &amp;lt;justin.lee@10gen.com&amp;gt;&lt;br/&gt;
Date:   Wed Oct 2 14:39:51 2013 -0400&lt;/p&gt;

&lt;p&gt;    force readPreference to primary with $out&lt;/p&gt;

&lt;p&gt;commit e4734941f9f5da28a0699f4bcdde9f06df0331be&lt;br/&gt;
Author: Jeff Yemin &amp;lt;jeff.yemin@10gen.com&amp;gt;&lt;br/&gt;
Date:   Wed Oct 2 12:32:27 2013 -0400&lt;/p&gt;

&lt;p&gt;    Got rid of &quot;done&quot; field in ResultsCursor, since cursorId is sufficient.&lt;br/&gt;
    Added a call to CommandResult.throwOnError in DBCollection.aggregate, since DB.command does not throw on error&lt;br/&gt;
    Added a failing test, for sending a $out to a secondary.  It should re-route to the primary.&lt;/p&gt;

&lt;p&gt;commit ae8287b686eb10d61dffb90b4979766793a72347&lt;br/&gt;
Author: Justin Lee &amp;lt;justin.lee@10gen.com&amp;gt;&lt;br/&gt;
Date:   Wed Oct 2 09:38:01 2013 -0400&lt;/p&gt;

&lt;p&gt;    backport of 2.6 aggregation new features from 3.0.x&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-java-driver/commit/e47f5c911638594f718bf56c74046a4f48603142&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-java-driver/commit/e47f5c911638594f718bf56c74046a4f48603142&lt;/a&gt;&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_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrt5wf:</customfieldvalue>

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