object StreamingProcess
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- StreamingProcess
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
- case class CountState(sum_duration: Long, count: Int, min_duration: Long, max_duration: Long, sum_squares: Double) extends Serializable with Product
- case class CustomState(number_of_events: Int, events: HashMap[String, Array[(Timestamp, Int)]]) extends Serializable with Product
- case class LastEventState(lastEvent: HashMap[String, Timestamp]) extends Product with Serializable
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 calculateMetrics(eventPair: (String, String), c: Iterator[Count], groupState: GroupState[CountState]): Iterator[Count]
-
def
calculatePairs(traceId: String, eventStream: Iterator[EventStream], groupState: GroupState[CustomState], lookback: Int): Iterator[StreamingPair]
Function that calculates the pairs of the events in an online manner
Function that calculates the pairs of the events in an online manner
- traceId
The id of the trace
- eventStream
Events in the last batch that correspond to this trace
- groupState
A State object for each trace that keeps the previous events
- returns
An Iterator with all the generated pairs from this batch
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
- implicit val countStateEncoder: Encoder[CountState]
- def createPair(eva: (String, Timestamp, Int), evb: (String, Timestamp, Int), traceId: String): StreamingPair
- def createPair(eva: (String, Timestamp, Int), evb: (EventStream, Int)): StreamingPair
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
filterEvents(traceId: String, eventStream: Iterator[EventStream], groupState: GroupState[LastEventState]): Iterator[EventStream]
Maintains the last event of each trace in order to remove late arriving events
Maintains the last event of each trace in order to remove late arriving events
- traceId
The id of the trace
- eventStream
The events in the last batch
- groupState
The state that maintains the last event per trace
- returns
The events that occur after the last stored event in this trace
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- implicit val stateEncoder: Encoder[CustomState]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated