GitHub user ezhulenev opened a pull request:
https://github.com/apache/spark/pull/2618
[SPARK-3760] [STREAMING] Add Twitter4j FilterQuery to spark streaming
twitter API
TwitterUtils.createStream(...) allows users to specify keywords that
restrict the tweets that are returned. However FilterQuery from Twitter4j has a
bunch of other options including location that was asked in SPARK-2788. Best
solution will be add alternative createStream method with FilterQuery as
argument instead of keywords.
This PR is a replacement for #1717 and #2098
For new method I can't use "createStream" name, I want to keep public API
stable & binary compatible and introducing new method with same name cause
scalac compilation issue: multiple overloaded alternatives of createStream
define default arguments
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ezhulenev/spark master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/2618.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #2618
----
commit abd3c36990bcbb952ec07cb328a1f7e9c8adc3da
Author: ezhulenev <[email protected]>
Date: 2014-10-01T15:08:03Z
[SPARK-3760] Add Twitter4j FilterQuery to spark streaming twitter API
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]