Packages

class RSSSource extends RichSourceFunction[RSSItem] with Logging

Linear Supertypes
Logging, RichSourceFunction[RSSItem], SourceFunction[RSSItem], AbstractRichFunction, RichFunction, Function, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RSSSource
  2. Logging
  3. RichSourceFunction
  4. SourceFunction
  5. AbstractRichFunction
  6. RichFunction
  7. Function
  8. Serializable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RSSSource(url: String, dateFormat: String, pollingInterval: Int = 1000, maxNumberOfRuns: Int = -1)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def cancel(): Unit
    Definition Classes
    RSSSource → SourceFunction
  6. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  7. def close(): Unit
    Definition Classes
    AbstractRichFunction → RichFunction
    Annotations
    @throws( classOf[java.lang.Exception] )
  8. def decreaseRunsLeft(): Unit

    If there is a limit to the amount of runs decrease by 1

  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getIsRunning: Boolean
  14. def getIterationRuntimeContext(): IterationRuntimeContext
    Definition Classes
    AbstractRichFunction → RichFunction
  15. def getRSSAsString: String

    Requests the RSS feed and returns its body as a string.

    Requests the RSS feed and returns its body as a string. Will keep trying with increasing intervals if it doesn't succeed

    returns

    Body of requested RSS feed

    Annotations
    @throws( ... )
  16. def getRuntimeContext(): RuntimeContext
    Definition Classes
    AbstractRichFunction → RichFunction
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. val logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def open(parameters: Configuration): Unit
    Definition Classes
    RSSSource → AbstractRichFunction → RichFunction
  24. def parseRSSString(rssString: String): Seq[RSSItem]

    Parses a string that contains xml with RSS items

    Parses a string that contains xml with RSS items

    rssString

    XML string with RSS items

    returns

    Sequence of RSS items

  25. def run(ctx: SourceContext[RSSItem]): Unit
    Definition Classes
    RSSSource → SourceFunction
  26. def setRuntimeContext(arg0: RuntimeContext): Unit
    Definition Classes
    AbstractRichFunction → RichFunction
  27. def sortAndDropDuplicates(items: Seq[RSSItem]): Seq[RSSItem]

    Drops items that already have been collected and sorts them based on times

    Drops items that already have been collected and sorts them based on times

    items

    Potential items to be collected

    returns

    Valid sorted items

  28. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  29. def toString(): String
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  33. def waitPollingInterval(times: Int = 1): Unit

    Wait a certain amount of times the polling interval

    Wait a certain amount of times the polling interval

    times

    Times the polling interval should be waited

  34. def xmlToRSSItem(node: Node): RSSItem

    Parses a xml node to a RSS item

    Parses a xml node to a RSS item

    node

    XML node

    returns

    RSS item

Inherited from Logging

Inherited from RichSourceFunction[RSSItem]

Inherited from SourceFunction[RSSItem]

Inherited from AbstractRichFunction

Inherited from RichFunction

Inherited from Function

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped