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() @HotSpotIntrinsicCandidate() @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. implicit lazy val formats: Formats
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. 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

  14. def getIterationRuntimeContext(): IterationRuntimeContext
    Definition Classes
    AbstractRichFunction → RichFunction
  15. def getProducedType(): TypeInformation[T]
    Definition Classes
    BaseMongoSource → ResultTypeQueryable
  16. def getRuntimeContext(): RuntimeContext
    Definition Classes
    AbstractRichFunction → RichFunction
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. var isWaiting: Boolean
  20. val logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def open(parameters: Configuration): Unit
    Definition Classes
    BaseMongoSource → AbstractRichFunction → RichFunction
  25. val outputClassType: Class[T]
  26. val query: BsonDocument
  27. 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
  28. def setRuntimeContext(arg0: RuntimeContext): Unit
    Definition Classes
    AbstractRichFunction → RichFunction
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. val userConfig: Map[String, String]
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  34. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

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