Packages

c

org.codefeedr.plugins.mongodb

BaseMongoSource

class BaseMongoSource[T <: AnyRef] extends RichSourceFunction[T] with ResultTypeQueryable[T] with Logging

Mongo source

T

Type of element that comes from the database

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

Instance Constructors

  1. new BaseMongoSource(userConfig: Map[String, String], query: BsonDocument)(implicit arg0: Manifest[T], arg1: ClassTag[T])

    userConfig

    User configuration. Properties [server, database, collection]

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
    BaseMongoSource → SourceFunction
  6. var client: MongoClient
  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. def close(): Unit
    Definition Classes
    BaseMongoSource → AbstractRichFunction → RichFunction
  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. implicit lazy val formats: Formats
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def getCollection: MongoCollection[Document]

    Get the mongo collection for the configuration.

    Get the mongo collection for the configuration.

    This is not verified to exist; it will be created upon first use.

    returns

    Mongo Collection

  15. def getIterationRuntimeContext(): IterationRuntimeContext
    Definition Classes
    AbstractRichFunction → RichFunction
  16. def getProducedType(): TypeInformation[T]
    Definition Classes
    BaseMongoSource → ResultTypeQueryable
  17. def getRuntimeContext(): RuntimeContext
    Definition Classes
    AbstractRichFunction → RichFunction
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. var isWaiting: Boolean
  21. val logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  25. def open(parameters: Configuration): Unit
    Definition Classes
    BaseMongoSource → AbstractRichFunction → RichFunction
  26. val outputClassType: Class[T]
  27. val query: BsonDocument
  28. def run(ctx: SourceContext[T]): Unit

    Runs the mongo source.

    Runs the mongo source.

    First gets the collection and executes an empty query on all the data. The data is then received in an async manner sending items to the context.

    Definition Classes
    BaseMongoSource → SourceFunction
  29. def setRuntimeContext(arg0: RuntimeContext): Unit
    Definition Classes
    AbstractRichFunction → RichFunction
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. def toString(): String
    Definition Classes
    AnyRef → Any
  32. val userConfig: Map[String, String]
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from Logging

Inherited from ResultTypeQueryable[T]

Inherited from RichSourceFunction[T]

Inherited from SourceFunction[T]

Inherited from AbstractRichFunction

Inherited from RichFunction

Inherited from Function

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped