Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -213,14 +213,6 @@ class V3EData(val datatype: String, val `type`: String, val dspec: Map[String, A
@scala.beans.BeanInfo
class V3Event(val eid: String, val ets: Long, val `@timestamp`: String, val ver: String, val mid: String, val actor: Actor, val context: V3Context, val `object`: Option[V3Object], val edata: V3EData, val tags: List[AnyRef] = null, val flags : V3FlagContent = null) extends AlgoInput with Input {}

@scala.beans.BeanInfo
class V3EventNew(val eid: String, val ets: Long, val `@timestamp`: String, val ver: String, val mid: String, val actor: Actor, val context: V3Context, val `object`: Option[V3Object], val edata: V3EDataNew, val tags: List[AnyRef] = null) extends AlgoInput with Input {}

@scala.beans.BeanInfo
class V3EDataNew(val `type`: String, val mode: String, val duration: Long, val pageid: String, val item: Question,
val resvalues: Array[Map[String, AnyRef]], val pass: String, val score: Int) extends Serializable {}


@scala.beans.BeanInfo
case class V3DerivedEvent(eid: String, ets: Long, `@timestamp`: String, ver: String, mid: String, actor: Actor, context: V3Context, `object`: Option[V3Object], edata: AnyRef, tags: List[AnyRef] = null) extends AlgoOutput with Output

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -236,11 +236,6 @@ object CommonUtil {
getEventSyncTS(timeInString);
}

def getEventSyncTS(event: V3EventNew): Long = {
val timeInString = event.`@timestamp`;
getEventSyncTS(timeInString);
}

def getEventSyncTS(timeInStr: String): Long = {
var ts = getTimestamp(timeInStr, df5, "yyyy-MM-dd'T'HH:mm:ss.SSSZ");
if (ts == 0) {
Expand Down