bbuzz

package bbuzz

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. bbuzz
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. trait ElasticsearchScanTweets extends FromStringIterable

    Provides tweets by scanning an Elasticsearch index.

  2. trait RedisPubsubTweets extends TweetProvider

  3. trait RedisScanTweets extends FromStringIterable

    Provides tweets by scanning a Redis db.

  4. type Tweet = Status

  5. trait TweetConsumer extends TweetObserver

    Consumes tweets of a stream.

  6. type TweetObservable = Observable[Tweet]

  7. type TweetObserver = Observer[Tweet]

  8. trait TweetProvider extends AnyRef

    Provides Tweets.

  9. abstract class TweetStreaming extends TweetConsumer

    Entry point for the app.

  10. trait TwitterApiTweets extends TweetProvider

    Provides Tweets by streaming from the Twitter API.

  11. trait ZeroMqTweets extends TweetProvider

    Provides tweets by listening on a ZeroMQ SUB socket.

Value Members

  1. object TweetProvider

    Factory methods for bbuzz.TweetProvider

  2. def createTweet(json: String): Iterable[Tweet]

    Try to parse a Tweet JSON into an scala.collection.immutable.Iterable.

    Try to parse a Tweet JSON into an scala.collection.immutable.Iterable.

    If the json could be parses successfully into a Tweet, the iterable has one element (the Tweet), otherwise it's empty. Exceptions during parsing will be silently swallowed.

    json

    a string representing a Tweet in JSON.

    returns

    an iterable.

  3. package example

  4. package support

  5. def tryCreateTweet(json: String): Try[Tweet]

    Try to parse a Tweet JSON into an scala.util.Try.

    Try to parse a Tweet JSON into an scala.util.Try.

    If the json could be parses successfully into a Tweet, the result will be a scala.util.Success, otherwise it's a scala.util.Failure. Exceptions during parsing will not be thrown, but are available from the Try.

    json

    a string representing a Tweet in JSON

    returns

    a Try of the parsed JSON

Inherited from AnyRef

Inherited from Any

Ungrouped