https://github.com/dcavar/mongodbjava
Example implementation for connecting MongoDB with Java
Science Score: 13.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
○.zenodo.json file
-
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (5.2%) to scientific vocabulary
Keywords
Repository
Example implementation for connecting MongoDB with Java
Basic Info
- Host: GitHub
- Owner: dcavar
- License: apache-2.0
- Language: Java
- Default Branch: master
- Homepage: http://damir.cavar.me/
- Size: 7.81 KB
Statistics
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
- Releases: 0
Topics
Metadata Files
README.md
mongoDBJava
(C) 2018 by Damir Cavar
This is a simple example of connecting to MongoDB and querying some data from some database.
This is tested with Java 10, the latest MongoDB release, etc.
Set up the database name, collection, and column label, compile and run.
To build:
mvn compile package
To run the jar-file in the target folder with some command line parameters (strings to query in the MongoDB database):
java -jar target/mongoDBQuery-1.0-SNAPSHOT.jar cats dogs
I use this to query word embeddings (word2vec vectors), keywords from knowledge graphs or ontologies, and so on.
The MongoDB library kept on changing in the past. This code should work with the latest release.
Owner
- Name: Damir Cavar
- Login: dcavar
- Kind: user
- Location: Bloomington, IN
- Company: Indiana University
- Website: http://damir.cavar.me/
- Repositories: 29
- Profile: https://github.com/dcavar
GitHub Events
Total
Last Year
Committers
Last synced: 9 months ago
Top Committers
| Name | Commits | |
|---|---|---|
| Damir Cavar | d****r@m****m | 1 |
| Damir Cavar | d****r@g****m | 1 |
Committer Domains (Top 20 + Academic)
Issues and Pull Requests
Last synced: 9 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Dependencies
- org.mongodb:bson 3.8.0
- org.mongodb:mongodb-driver 3.6.4
- junit:junit 4.12 test