Packages

class HttpStream extends Thread

Thread class for streaming HTTP data.

Linear Supertypes
Thread, Runnable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpStream
  2. Thread
  3. Runnable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HttpStream(serviceUrl: String, sparkSession: SparkSession, interval: Long)

    serviceUrl

    The URL of the HTTP service.

    sparkSession

    The SparkSession instance.

    interval

    The interval in seconds for fetching HTTP data.

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. final def checkAccess(): Unit
    Definition Classes
    Thread
  6. val client: CloseableHttpClient
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    Thread → AnyRef
    Annotations
    @throws( ... )
  8. implicit val enc: Encoder[HttpData]
  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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getContextClassLoader(): ClassLoader
    Definition Classes
    Thread
    Annotations
    @CallerSensitive()
  14. def getId(): Long
    Definition Classes
    Thread
  15. final def getName(): String
    Definition Classes
    Thread
  16. final def getPriority(): Int
    Definition Classes
    Thread
  17. def getStackTrace(): Array[StackTraceElement]
    Definition Classes
    Thread
  18. def getState(): State
    Definition Classes
    Thread
  19. final def getThreadGroup(): ThreadGroup
    Definition Classes
    Thread
  20. def getUncaughtExceptionHandler(): UncaughtExceptionHandler
    Definition Classes
    Thread
  21. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  22. def interrupt(): Unit
    Definition Classes
    Thread
  23. final def isAlive(): Boolean
    Definition Classes
    Thread
    Annotations
    @native()
  24. final def isDaemon(): Boolean
    Definition Classes
    Thread
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. def isInterrupted(): Boolean
    Definition Classes
    Thread
  27. final def join(): Unit
    Definition Classes
    Thread
    Annotations
    @throws( ... )
  28. final def join(arg0: Long, arg1: Int): Unit
    Definition Classes
    Thread
    Annotations
    @throws( ... )
  29. final def join(arg0: Long): Unit
    Definition Classes
    Thread
    Annotations
    @throws( ... )
  30. lazy val log: Logger
    Annotations
    @transient()
  31. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  32. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  33. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  34. def run(): Unit
    Definition Classes
    HttpStream → Thread → Runnable
  35. def setContextClassLoader(arg0: ClassLoader): Unit
    Definition Classes
    Thread
  36. final def setDaemon(arg0: Boolean): Unit
    Definition Classes
    Thread
  37. final def setName(arg0: String): Unit
    Definition Classes
    Thread
  38. final def setPriority(arg0: Int): Unit
    Definition Classes
    Thread
  39. def setUncaughtExceptionHandler(arg0: UncaughtExceptionHandler): Unit
    Definition Classes
    Thread
  40. implicit val sqlContext: SQLContext
  41. def start(): Unit
    Definition Classes
    Thread
  42. val stream: MemoryStream[HttpData]
  43. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  44. def toDF: DataFrame

    Converts the streaming data to a DataFrame.

    Converts the streaming data to a DataFrame.

    returns

    The DataFrame containing the streaming data.

  45. def toString(): String
    Definition Classes
    Thread → AnyRef → Any
  46. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Deprecated Value Members

  1. def countStackFrames(): Int
    Definition Classes
    Thread
    Annotations
    @native() @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  2. def destroy(): Unit
    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  3. final def resume(): Unit
    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  4. final def stop(arg0: Throwable): Unit
    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  5. final def stop(): Unit
    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

  6. final def suspend(): Unit
    Definition Classes
    Thread
    Annotations
    @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Thread

Inherited from Runnable

Inherited from AnyRef

Inherited from Any

Ungrouped