Packages

object StreamingProcess

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StreamingProcess
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class CountState(sum_duration: Long, count: Int, min_duration: Long, max_duration: Long, sum_squares: Double) extends Serializable with Product
  2. case class CustomState(number_of_events: Int, events: HashMap[String, Array[(Timestamp, Int)]]) extends Serializable with Product
  3. case class LastEventState(lastEvent: HashMap[String, Timestamp]) extends Product with Serializable

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 calculateMetrics(eventPair: (String, String), c: Iterator[Count], groupState: GroupState[CountState]): Iterator[Count]
  6. 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

  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  8. implicit val countStateEncoder: Encoder[CountState]
  9. def createPair(eva: (String, Timestamp, Int), evb: (String, Timestamp, Int), traceId: String): StreamingPair
  10. def createPair(eva: (String, Timestamp, Int), evb: (EventStream, Int)): StreamingPair
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. 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

  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  20. implicit val stateEncoder: Encoder[CustomState]
  21. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  25. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

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

Inherited from AnyRef

Inherited from Any

Ungrouped