Class

org.apache.spark.streaming.aliyun.datahub

DatahubUtilsHelper

Related Doc: package datahub

Permalink

class DatahubUtilsHelper extends AnyRef

Annotations
@deprecated
Deprecated
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DatahubUtilsHelper
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DatahubUtilsHelper()

    Permalink

    Deprecated

    As of release 1.8.0, please use spark.readStream.format("datahub") instead.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def createDirectStream(jssc: JavaStreamingContext, endpoint: String, project: String, topic: String, subId: String, accessId: String, accessKey: String, func: (RecordEntry) ⇒ String, zkParam: Map[String, String]): DStream[Array[Byte]]

    Permalink

    :: Experimental :: Java constructor for a DStream where each datahub shard correspond to a RDD partition.

    :: Experimental :: Java constructor for a DStream where each datahub shard correspond to a RDD partition. The Spark configuration spark.streaming.datahub.maxRatePerShard sets max number of records per shard every second.

    endpoint

    datahub endpoint

    project

    datahub project name

    topic

    datahub topic name

    subId

    datahub subscription id

    accessId

    aliyun access key id

    accessKey

    aliyun access key secret

    func

    handle RecordEntry to String

    zkParam

    Zookeeper configuration

  7. def createDirectStream(jssc: JavaStreamingContext, endpoint: String, project: String, topic: String, subId: String, accessId: String, accessKey: String, func: (RecordEntry) ⇒ String, mode: CursorType, zkParam: Map[String, String]): DStream[Array[Byte]]

    Permalink

    :: Experimental :: Java constructor for a DStream where each datahub shard correspond to a RDD partition.

    :: Experimental :: Java constructor for a DStream where each datahub shard correspond to a RDD partition. The Spark configuration spark.streaming.datahub.maxRatePerShard sets max number of records per shard every second.

    endpoint

    datahub endpoint

    project

    datahub project name

    topic

    datahub topic name

    subId

    datahub subscription id

    accessId

    aliyun access key id

    accessKey

    aliyun access key secret

    func

    handle RecordEntry to String

    mode

    datahub cursor type

    zkParam

    Zookeeper configuration

  8. def createStream(jssc: JavaStreamingContext, projectName: String, topicName: String, subId: String, accessKeyId: String, accessKeySecret: String, endpoint: String, func: (RecordEntry) ⇒ String, storageLevel: StorageLevel): DStream[Array[Byte]]

    Permalink

    Java constructor to create a DStream from datahub source.

    Java constructor to create a DStream from datahub source.

    projectName

    datahub project name

    topicName

    datahub topic name

    subId

    datahub subscription id

    accessKeyId

    aliyun access key id

    accessKeySecret

    aliyun access key secret

    endpoint

    datahub endpoint

    func

    handle RecordEntry to String

  9. def createStream(jssc: JavaStreamingContext, projectName: String, topicName: String, subId: String, accessKeyId: String, accessKeySecret: String, endpoint: String, shardId: String, func: (RecordEntry) ⇒ String, storageLevel: StorageLevel): DStream[Array[Byte]]

    Permalink

    Java constructor to create a DStream from datahub source.

    Java constructor to create a DStream from datahub source.

    projectName

    datahub project name

    topicName

    datahub topic name

    subId

    datahub subscription id

    accessKeyId

    aliyun access key id

    accessKeySecret

    aliyun access key secret

    endpoint

    datahub endpoint

    shardId

    datahub topic shard

    func

    handle RecordEntry to String

  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  20. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped