mongodb-user
[Arriba] [Todas las Listas]

[mongodb-Usuario] Cómo para utilizar el nuevo Codec Infraestructura

To: mongodb-user <mongodb-user@xxxxxxxxxxxxxxxx>
Subject: [mongodb-Usuario] Cómo para utilizar el nuevo Codec Infraestructura
From: Guillaume Forget <gforget@xxxxxxxxx>
Date: Mon, 7 Sep 2015 09:49:24 -0700 (PDT)
Delivery-date: Mon, 07 Sep 2015 13:00:33 -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=fvCRTJCvZKByQZovgx7Q6Xg3tjzpXg6kd1IuUcXImGQ=; b=mjIPQ/+WRwiM+fFyhF/G2UMLp0Su1wyX8IsHLC5eyyrZzDBdXWIDe5l1YOxF+mYfQf SL//p7Kqov5bcLV9j4oXjjEt8RiVXpElsHTmvn0ovx4t7Ntj9ubN3qMpBG2ExVXaW4UT cyY33GQyiHsTdXkJuyeDJIXY11EGRT5jYqzDoU3xAgBS2aDWWKukS+lN0Ej7iBtfNyrR +bBF3k7MO+l/3z9M1XtggtIMFMZ7svwWAUZbKOhvTiKSolXC+Yd8DzCOrEguxvRcS5SX JM9fA9SDWDyqqI8TdfM/gtVnEd1TCLCuf28gR9ydMifyEh/kwq82AzTw5RzfTB+gFUvn bVIg==
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; 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=fvCRTJCvZKByQZovgx7Q6Xg3tjzpXg6kd1IuUcXImGQ=; b=N7ineqjdcm9Ub7l+ILiNFpcJ6ytWfdtiySFpWn3EPcA5dUrlQGp7io4iZsYZIUP3E7 YEYZqc9yhsQ/+WhpkPMqgbhoNcI3ySXBM5ykVYrAFEZK0xpGZDmRj4RuiowAJ21bV52l 7XNuwgl0Vvk7Uos79ClB+h/THOJBw5CBr96pHc+F2/Sz46QnloRr4tN4Kumzg61XAWqB DZu9IXxZ1HxrsXrazUitD3SphawcKhmNX22LVunppIzT6nBpv/Gb0SuJb1go21b7jkPO SJlB0zNrS7sAgCwXgjEU+sqzzSqLDZdVixuPUUBlJnGbr75ta+zM5omf38GwzGq1SZfT 0BdQ==
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
Hola,

Ahora que he *upgraded a la versión más tardía del *Java conductor, estoy 
intentando entender el nuevo *Codec infraestructura. Más específicamente, estoy 
intentando imaginar fuera de lo que necesito hacer a *leverage lo y hacer la escritura/de lectura 
de clases de costumbre más *seamless.  Tienes cualquier muestra 
de código que muestra cómo para hacer aquello? Encontré 2 ejemplos  tan lejos, son ambos 
muy similar y ambos parecen mal a mí:
*http://*matteosilvestri.*blogspot.*com/2015/03/*overview-de-*pluggable-*codecs-dentro-*mongodb.*html
*https://*gist.*github.*com/*JaiHirsch/08397223*c2#uno0*de64*dfc8

Qué parece mal es que el *DocumentCodec que es utilizado internamente es 
siempre *initialized con el *default *codecs. Pensaría tendría que haber una 
manera de recuperar el *DocumentCodec que es registrada y configurado en 
el *CodecRegistry bastante que construyendo un nuevo un. Soy yo mal? 

*Thank Tú

-- 
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/6585*ef98-*c624-4*b33-9133-*e956*c6*fb38#uno6%40*googlegroups.*com.
Para más opciones, visita *https://grupos.*google.*com/*d/*optout.
Hello,

Now that I have upgraded to the latest version of the Java driver, I'm 
trying to understand the new Codec infrastructure. More specifically, I'm 
trying to figure out what I need to do to leverage it and make the 
reading/writing of custom classes more seamless. Do you have any code 
sample that show how to do that? I found 2 examples  so far, they're both 
very similar and both seem wrong to me:
http://matteosilvestri.blogspot.com/2015/03/overview-of-pluggable-codecs-in-mongodb.html
https://gist.github.com/JaiHirsch/08397223c2a0de64dfc8

What seems wrong is that the DocumentCodec which is used internally is 
always initialized with the default codecs. I would think there should be a 
way to retrieve the DocumentCodec that is registered and configured in the 
CodecRegistry rather than building a new one. Am I wrong? 

Thank you

-- 
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/6585ef98-c624-4b33-9133-e956c6fb38a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
<Anterior por Tema] Tema Actual [Siguiente por Tema>