Class/Object

org.dsa.iot.ignition.spark

MongoInput

Related Docs: object MongoInput | package spark

Permalink

class MongoInput extends AbstractRxBlock[DataFrame]

Reads documents from MongoDB.

Linear Supertypes
AbstractRxBlock[DataFrame], Logging, RxBlock[DataFrame], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. MongoInput
  2. AbstractRxBlock
  3. Logging
  4. RxBlock
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new MongoInput()(implicit rt: SparkRuntime)

    Permalink

Type Members

  1. case class Port[X](name: String) extends Product with Serializable

    Permalink

    Connector for attributes and inputs.

    Connector for attributes and inputs. Provides the input as Observable[X].

    Definition Classes
    AbstractRxBlock
  2. case class PortList[X](name: String) extends IndexedSeq[Port[X]] with Product with Serializable

    Permalink

    Connector for a list of attributes or inputs.

    Connector for a list of attributes or inputs.

    Definition Classes
    AbstractRxBlock

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. val collection: Port[String]

    Permalink
  7. val columns: PortList[StructField]

    Permalink
  8. def compute: Observable[DataFrame]

    Permalink

    computes the block's output

    computes the block's output

    Attributes
    protected
    Definition Classes
    MongoInputAbstractRxBlock
  9. val database: Port[String]

    Permalink
  10. def debug(message: ⇒ String, args: Any*): Unit

    Permalink
    Definition Classes
    Logging
  11. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def error(message: ⇒ String, err: Throwable): Unit

    Permalink
    Definition Classes
    Logging
  14. def error(message: ⇒ String, args: Any*): Unit

    Permalink
    Definition Classes
    Logging
  15. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. val id: String

    Permalink

    Generates block's id for logging.

    Generates block's id for logging.

    Attributes
    protected
    Definition Classes
    AbstractRxBlock
  19. def info(message: ⇒ String, args: Any*): Unit

    Permalink
    Definition Classes
    Logging
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. val limit: Port[Int]

    Permalink
  22. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  25. def observe: Observable[DataFrame]

    Permalink

    The currently established Observable output.

    The currently established Observable output.

    Definition Classes
    AbstractRxBlockRxBlock
  26. val offset: Port[Int]

    Permalink
  27. lazy val output: Observable[DataFrame]

    Permalink

    Returns the block's output as an Observable.

    Returns the block's output as an Observable. This observable is stable in the sense that it keeps emitting items, whether the block has been reset, or its inputs changed etc., i.e. it never calls onError or onCompleted methods on its subscribers until the block's shutdown() method is called.

    Definition Classes
    AbstractRxBlockRxBlock
  28. def reset(): Unit

    Permalink

    Resets the block by renewing the subscriptions and re-initiating the sequence.

    Resets the block by renewing the subscriptions and re-initiating the sequence.

    Definition Classes
    AbstractRxBlockRxBlock
  29. def shutdown(): Unit

    Permalink

    Cancels all subscriptions and stops emitting items.

    Cancels all subscriptions and stops emitting items.

    Definition Classes
    AbstractRxBlockRxBlock
  30. val sort: Port[List[SortOrder]]

    Permalink
  31. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  32. def to[U](block: RxTransformer[_ >: DataFrame, U]): block.type

    Permalink

    Connects the output of this block to source input port of a transformer block.

    Connects the output of this block to source input port of a transformer block.

    Definition Classes
    AbstractRxBlock
  33. def to[T](port: Port[_ >: DataFrame]): owner.type

    Permalink

    Connects the output of this block to an input port of another block.

    Connects the output of this block to an input port of another block.

    Definition Classes
    AbstractRxBlock
  34. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  35. def trace(message: ⇒ String, args: Any*): Unit

    Permalink
    Definition Classes
    Logging
  36. def unsubsribeOutput(): Unit

    Permalink

    Cancels the output subscription.

    Cancels the output subscription.

    Attributes
    protected
    Definition Classes
    AbstractRxBlock
  37. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. def warn(message: ⇒ String, err: Throwable): Unit

    Permalink
    Definition Classes
    Logging
  41. def warn(message: ⇒ String, args: Any*): Unit

    Permalink
    Definition Classes
    Logging
  42. def withEvents(name: String)(stream: Observable[DataFrame]): Observable[DataFrame]

    Permalink

    Decorates the observable by adding listeners for its lifecycle events.

    Decorates the observable by adding listeners for its lifecycle events.

    Attributes
    protected
    Definition Classes
    AbstractRxBlock
  43. def ~>[U](block: RxTransformer[_ >: DataFrame, U]): block.type

    Permalink

    Connects the output of this block to source input port of a transformer block.

    Connects the output of this block to source input port of a transformer block. An alias for to(block).

    Definition Classes
    AbstractRxBlock
  44. def ~>[T](port: Port[_ >: DataFrame]): AbstractRxBlock[T]

    Permalink

    Connects the output of this block to an input port of another block.

    Connects the output of this block to an input port of another block. An alias for to(port).

    Definition Classes
    AbstractRxBlock

Inherited from AbstractRxBlock[DataFrame]

Inherited from Logging

Inherited from RxBlock[DataFrame]

Inherited from AnyRef

Inherited from Any

Ungrouped