mongodb-user
[Arriba] [Todas las Listas]

[mongodb-Usuario] [java] MongoCollection.findOneAndUpdate() doc Problema

To: mongodb-user <mongodb-user@xxxxxxxxxxxxxxxx>
Subject: [mongodb-Usuario] [java] MongoCollection.findOneAndUpdate() doc Problema?
From: Alan Williamson <alan@xxxxxxxxxx>
Date: Tue, 29 Sep 2015 11:39:51 -0700 (PDT)
Delivery-date: Tue, 29 Sep 2015 14:51:53 -0400
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20120806; h=date:from:to:message-id:subject:mime-version:content-type :x-original-sender:reply-to:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive:sender :list-subscribe:list-unsubscribe; bh=EUO9btsMkiJ8bQmnWYe/wwSPDdWpw3xaFc8aFvjwf90=; b=X/BlZWIIsWZrv+kgfA7cA2sHAP9szLyiUsclyANnHNGfI3Y5MkNBXjBQeCtgelnv+/ c9Y+hH2dzdOrJhBbDGR93zryshwvJmnBbVaXNvB+OT7wzz6uoQIclGqbKER2HO+ndOoC vMv5rfJExzeTpOt+Np+i9NXLlBVP7tT8GGmGgZnjjZWqQbF1G1l30VSrgdGIZ2gqN41I mcZOSo/PkswC5TV7ZqNdMT5NwZqjd/9fOrv+Pd6MqBhdyInb0hQgo45W2CdItm+zBjsq AVrk61Cau8Qataci9kJloZ7m46qNvzqX/XFf+HwzstEhnCp0MKIsN94gFGWUbTIJe1Zs Nz1Q==
Envelope-to: traductor@xxxxxxxxxxx
List-archive: <http://groups.google.com/group/mongodb-use>
List-help: <http://groups.google.com/support/>, <mailto:mongodb-user+help@googlegroups.com>
List-id: <mongodb-user.googlegroups.com>
List-post: <http://groups.google.com/group/mongodb-user/post>, <mailto:mongodb-user@googlegroups.com>
List-subscribe: <http://groups.google.com/group/mongodb-user/subscribe>, <mailto:mongodb-user+subscribe@googlegroups.com>
List-unsubscribe: <mailto:googlegroups-manage+1044811755470+unsubscribe@googlegroups.com>, <http://groups.google.com/group/mongodb-user/subscribe>
Mailing-list: list mongodb-user@xxxxxxxxxxxxxxxx; contact mongodb-user+owners@xxxxxxxxxxxxxxxx
Reply-to: mongodb-user@xxxxxxxxxxxxxxxx
Sender: mongodb-user@xxxxxxxxxxxxxxxx
Día bueno todo,

estoy mirando en la documentación para el *Java conductor para 3.0.4

*http://*api.*mongodb.*org/*java/3.0/*com/*mongodb/*async/cliente/*MongoCollection.*html#*findOneAndUpdate-*org.*bson.Conversiones.*Bson-*org.*bson.Conversiones.*Bson-*com.*mongodb.Cliente.Modelo.*FindOneAndUpdateOptions-*com.*mongodb.*async.*SingleResultCallback-


Esto es la firma de función:

*void *findOneAndUpdate(*Bson <*http://*api.*mongodb.*org/*java/3.0/*org/*bson/conversiones/*Bson.*html> Filtro,
                      *Bson <*http://*api.*mongodb.*org/*java/3.0/*org/*bson/conversiones/*Bson.*html> Actualiza,
                      *FindOneAndUpdateOptions <*http://*api.*mongodb.*org/*java/3.0/*com/*mongodb/modelo/de cliente/*FindOneAndUpdateOptions.*html> Opciones,
                      *SingleResultCallback <*http://*api.*mongodb.*org/*java/3.0/*com/*mongodb/*async/*SingleResultCallback.*html><*TDocument <*http://*api.*mongodb.*org/*java/3.0/*com/*mongodb/*async/cliente/*MongoCollection.*html>> *callback)



Aun así el 3.0.4 conductor no tiene esta firma, falta el *callback parámetro y en cambio tiene el siguiendo firma:


Documento *findOneAndUpdate(*Bson <*http://*api.*mongodb.*org/*java/3.0/*org/*bson/conversiones/*Bson.*html> Filtro,
                      *Bson <*http://*api.*mongodb.*org/*java/3.0/*org/*bson/conversiones/*Bson.*html> Actualiza,
                      *FindOneAndUpdateOptions <*http://*api.*mongodb.*org/*java/3.0/*com/*mongodb/modelo/de cliente/*FindOneAndUpdateOptions.*html> Opciones )



Tan hay algo fuera de *sync *somewhere.


Cualquiera más *noticed este problema?   Es allí cualquier *JavaDoc documentación para 3.0.4 que de hecho empareja el *jar?


*thanks




Un -- 
recibiste este mensaje porque eres *subscribed al *Google Grupos "*mongodb-grupo"
de usuario.

Para otro *MongoDB opciones de apoyo técnico, ve: *http://www.mongodb.org/sobre/apoyo/.
--- 
Recibiste este mensaje porque eres *subscribed al *Google Grupos "*mongodb-grupo" de usuario.
A *unsubscribe de este grupo y la parón que recibe *emails de él, enviar un *email a *mongodb-usuario+unsubscribe@xxxxxxxxxxxxxxxx.
A correo a este grupo, envía *email a *mongodb-user@xxxxxxxxxxxxxxxx.
Visita este grupo en *http://grupos.*google.*com/Grupo/*mongodb-usuario.
Para ver esta discusión en la visita de web *https://grupos.*google.*com/*d/*msgid/*mongodb-Usuario/1*b8#uno8*f81-8*c93-4838-*b416-9*dd7*c78*ebd7#uno%40*googlegroups.*com.
Para más opciones, visita *https://grupos.*google.*com/*d/*optout.
Good day all,

I am looking at the documentation for the Java driver for 3.0.4

http://api.mongodb.org/java/3.0/com/mongodb/async/client/MongoCollection.html#findOneAndUpdate-org.bson.conversions.Bson-org.bson.conversions.Bson-com.mongodb.client.model.FindOneAndUpdateOptions-com.mongodb.async.SingleResultCallback-


This is the function signature:

void findOneAndUpdate(Bson <http://api.mongodb.org/java/3.0/org/bson/conversions/Bson.html> filter,
                      Bson <http://api.mongodb.org/java/3.0/org/bson/conversions/Bson.html> update,
                      FindOneAndUpdateOptions <http://api.mongodb.org/java/3.0/com/mongodb/client/model/FindOneAndUpdateOptions.html> options,
                      SingleResultCallback <http://api.mongodb.org/java/3.0/com/mongodb/async/SingleResultCallback.html><TDocument <http://api.mongodb.org/java/3.0/com/mongodb/async/client/MongoCollection.html>> callback)



However the 3.0.4 driver does not have this signature, it is missing the callback parameter and instead has the following signature:


Document findOneAndUpdate(Bson <http://api.mongodb.org/java/3.0/org/bson/conversions/Bson.html> filter,
                      Bson <http://api.mongodb.org/java/3.0/org/bson/conversions/Bson.html> update,
                      FindOneAndUpdateOptions <http://api.mongodb.org/java/3.0/com/mongodb/client/model/FindOneAndUpdateOptions.html> options )



So there is something out of sync somewhere.


Anyone else noticed this problem?   Is there any JavaDoc documentation for 3.0.4 that actually matches the jar?


thanks


a

-- 
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.

For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
--- 
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user+unsubscribe@xxxxxxxxxxxxxxxx.
To post to this group, send email to mongodb-user@xxxxxxxxxxxxxxxx.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/1b8a8f81-8c93-4838-b416-9dd7c78ebd7a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<Anterior por Tema] Tema Actual [Siguiente por Tema>