class EventSource extends RichSourceFunction[Event]
Creates a new (Flink) GitHub event source. NOTE: This source will always run in parallelism = 1.
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- EventSource
- RichSourceFunction
- SourceFunction
- AbstractRichFunction
- RichFunction
- Function
- Serializable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
-
new
EventSource(numOfPolls: Int, waitTime: Int, keyManager: KeyManager, duplicateFilter: Boolean, duplicateCheckSize: Int)
- numOfPolls
the amount of polls to do before cancelling.
- waitTime
the wait time between each poll (in ms).
- keyManager
the key manager to use for the requests.
- duplicateFilter
enable to filter duplicates.
- duplicateCheckSize
the amounts of id's to cache for duplicates.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
cancel(): Unit
Closes the sources.
Closes the sources.
- Definition Classes
- EventSource → SourceFunction
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
close(): Unit
- Definition Classes
- AbstractRichFunction → RichFunction
- Annotations
- @throws( classOf[java.lang.Exception] )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- var eventService: EventService
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getIterationRuntimeContext(): IterationRuntimeContext
- Definition Classes
- AbstractRichFunction → RichFunction
-
def
getRuntimeContext(): RuntimeContext
- Definition Classes
- AbstractRichFunction → RichFunction
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- var isRunning: Boolean
- def isUnbounded: Boolean
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- var numOfPollsRemaining: Int
-
def
open(parameters: Configuration): Unit
Opens and initializes this source.
Opens and initializes this source.
- parameters
the configuration parameters.
- Definition Classes
- EventSource → AbstractRichFunction → RichFunction
-
def
run(ctx: SourceContext[Event]): Unit
Runs the source.
Runs the source.
- ctx
the context to collect the elements to.
- Definition Classes
- EventSource → SourceFunction
-
def
setRuntimeContext(arg0: RuntimeContext): Unit
- Definition Classes
- AbstractRichFunction → RichFunction
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )