Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
MongoURI - collection?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jonas  
View profile  
 More options Jul 24 2012, 5:29 am
From: Jonas <jo89...@gmail.com>
Date: Tue, 24 Jul 2012 02:29:15 -0700 (PDT)
Local: Tues, Jul 24 2012 5:29 am
Subject: MongoURI - collection?

Hello.

I am using the Java driver and the MongoURI class. I am confused, it seems
to me that there is a method to get the collection name. But there is no
way to choose the collection in the URI string? If there is, could someone
give me an example.

http://api.mongodb.org/java/2.8.0/com/mongodb/MongoURI.html#getCollec...()

Thank you!
/Jonas


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott Hernandez  
View profile  
 More options Jul 24 2012, 8:57 am
From: Scott Hernandez <scotthernan...@gmail.com>
Date: Tue, 24 Jul 2012 08:57:21 -0400
Local: Tues, Jul 24 2012 8:57 am
Subject: Re: [mongodb-user] MongoURI - collection?
The Uri is for connecting to a server and is used to return a Mongo
instance. From there you need to get the DB and Collection normally
through the Mongo instance.

Those collection related methods are going to be deprecated and are
not part of the (mongo) URI connection string.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jonas  
View profile  
 More options Jul 24 2012, 9:07 am
From: Jonas <jo89...@gmail.com>
Date: Tue, 24 Jul 2012 06:07:53 -0700 (PDT)
Local: Tues, Jul 24 2012 9:07 am
Subject: Re: [mongodb-user] MongoURI - collection?

Thank you for the speedy response!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bryan Absher  
View profile  
 More options Aug 13 2012, 4:24 pm
From: Bryan Absher <bryan.abs...@gmail.com>
Date: Mon, 13 Aug 2012 13:24:58 -0700 (PDT)
Local: Mon, Aug 13 2012 4:24 pm
Subject: Re: [mongodb-user] MongoURI - collection?

On what time frame are they going to be deprecated? Are they going to be
replaced with something else?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Scott Hernandez  
View profile  
 More options Aug 13 2012, 4:37 pm
From: Scott Hernandez <scotthernan...@gmail.com>
Date: Mon, 13 Aug 2012 13:37:20 -0700
Local: Mon, Aug 13 2012 4:37 pm
Subject: Re: [mongodb-user] MongoURI - collection?
Are you asking because of hadoop, or for some other reason? It will
probably be another version or so; so not too soon.

We need to add this support in the hadoop adapter or some up with a
new config schema there.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »