I'm playing with Mobius (the C# language binding for Spark) and the C# Driver for MongoDB. What I'm aiming to do is use MongoDB as the input/output for the Spark queries within my C# application. I know there's a Java MongoDB Hadoop Connector but I would like to continue using Mobius to write my Spark queries.
Is there a C# equivalent for the Java MongoDB Hadoop Connector?
248 Views Asked by raah At
1
There are 1 best solutions below
Related Questions in C#
- How should I use Consumer object in oauth2 v.2 in Python 3.4?
- Declare Consumer and action with it in one line
- Why does this consumer (running on a servlet) not receive any messages from the kafka topic?
- Topic can't be found when producing messages: UNKNOWN_TOPIC_OR_PARTITION
- Trying to solve consumer-producer in java with multithreading
- One JMS Consumer stops listening active mq topic while second do not
- Hazelcast Queue ItemListener for Pending Item (Producer-Consumer Concept)
- Trying to pass variables to child process
- How can clang avoid to analyze the builtin type/function in C/C++?
- How to use execl() to execute another program
Related Questions in MONGODB
- How should I use Consumer object in oauth2 v.2 in Python 3.4?
- Declare Consumer and action with it in one line
- Why does this consumer (running on a servlet) not receive any messages from the kafka topic?
- Topic can't be found when producing messages: UNKNOWN_TOPIC_OR_PARTITION
- Trying to solve consumer-producer in java with multithreading
- One JMS Consumer stops listening active mq topic while second do not
- Hazelcast Queue ItemListener for Pending Item (Producer-Consumer Concept)
- Trying to pass variables to child process
- How can clang avoid to analyze the builtin type/function in C/C++?
- How to use execl() to execute another program
Related Questions in HADOOP
- How should I use Consumer object in oauth2 v.2 in Python 3.4?
- Declare Consumer and action with it in one line
- Why does this consumer (running on a servlet) not receive any messages from the kafka topic?
- Topic can't be found when producing messages: UNKNOWN_TOPIC_OR_PARTITION
- Trying to solve consumer-producer in java with multithreading
- One JMS Consumer stops listening active mq topic while second do not
- Hazelcast Queue ItemListener for Pending Item (Producer-Consumer Concept)
- Trying to pass variables to child process
- How can clang avoid to analyze the builtin type/function in C/C++?
- How to use execl() to execute another program
Related Questions in APACHE-SPARK
- How should I use Consumer object in oauth2 v.2 in Python 3.4?
- Declare Consumer and action with it in one line
- Why does this consumer (running on a servlet) not receive any messages from the kafka topic?
- Topic can't be found when producing messages: UNKNOWN_TOPIC_OR_PARTITION
- Trying to solve consumer-producer in java with multithreading
- One JMS Consumer stops listening active mq topic while second do not
- Hazelcast Queue ItemListener for Pending Item (Producer-Consumer Concept)
- Trying to pass variables to child process
- How can clang avoid to analyze the builtin type/function in C/C++?
- How to use execl() to execute another program
Related Questions in MOBIUS
- How should I use Consumer object in oauth2 v.2 in Python 3.4?
- Declare Consumer and action with it in one line
- Why does this consumer (running on a servlet) not receive any messages from the kafka topic?
- Topic can't be found when producing messages: UNKNOWN_TOPIC_OR_PARTITION
- Trying to solve consumer-producer in java with multithreading
- One JMS Consumer stops listening active mq topic while second do not
- Hazelcast Queue ItemListener for Pending Item (Producer-Consumer Concept)
- Trying to pass variables to child process
- How can clang avoid to analyze the builtin type/function in C/C++?
- How to use execl() to execute another program
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You could use MongoDB Spark Connector and DataFrame API in Mobius for querying MongoDB. The code to load data will look like
Once the data is loaded, you could do Select(), Filter() operations on the DataFrame. You could also register the DataFrame as TempTable for using SQL queries using the code template below
Note that you need to include the connector and its dependencies in the classpath and "--jars" parameter could be used for that.