find « mongodb « Java Database Q&A

Home
Java Database Q&A
1.Blob
2.cassandra
3.column
4.Connection
5.Cursor
6.dao
7.Data Type
8.Database
9.Database Product
10.DataSource
11.Date
12.db2
13.derby
14.Development
15.Driver
16.Exception
17.file
18.hadoop
19.hbase
20.hsqldb
21.ibatis
22.JDBC
23.memcached
24.mongodb
25.MS Access
26.mysql
27.ODBC
28.Operation
29.oracle
30.postgresql
31.Record
32.result
33.Resultset
34.Schema
35.SQL
36.sqlite
37.SQLserver
38.Statement
39.stored procedure
40.sybase
41.Table
42.Transaction
43.Trigger
Java Database Q&A » mongodb » find 

1. what's the difference of db.mydb.find({tag:'java'}).count() and db.mydb.count({tag:'java'}) in mongodb    stackoverflow.com

I'm need to count a lot of documents (30 M) with a criteria fast in mondodb what's the difference of db.mydb.find({tag:'java'}).count() and db.mydb.count({tag:'java'}) it's one faster than the other? I have and index on ...

2. Mongodb Java - How to return restricted fields with find() or findOne()    stackoverflow.com

With the driver Java Mongodb, I am looking for a way to return just restricted fields with a find() or findOne(). For example, I have a collection "people" with fields : "id", ...

3. How to Find the matched record in mongodb?    stackoverflow.com

I have a record in my collection and I want to fetch the details of the person whose id is 1. But I am getting the details for 2times instead of ...

4. Finding geo spatial with morphia mongodb using Java    stackoverflow.com

I would like to query some geo location points with morphia framework. I use my latitude, longitude, and radius(100 km.) with "Near" method to query the other around my location and ...

5. MongoDB range search on numbers doesn't work as expected    stackoverflow.com

I am trying to do a range search on some numbers in MongoDB. I have the following two records. The import fields are the last two, value and type. I want to ...

6. Find some values in a mongodb collection?    stackoverflow.com

Im trying to read a (mongo)userdatabase with java. On the tutorial page I saw how to read the whole collection. I can do something like that:

    DBCursor cursor ...

java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.