org.apache.predictionio.data.storage

Event

case class Event(eventId: Option[String] = scala.None, event: String, entityType: String, entityId: String, targetEntityType: Option[String] = scala.None, targetEntityId: Option[String] = scala.None, properties: DataMap = DataMap.apply(), eventTime: DateTime = org.joda.time.DateTime.now(), tags: Seq[String] = immutable.this.Nil, prId: Option[String] = scala.None, creationTime: DateTime = org.joda.time.DateTime.now()) extends Product with Serializable

Each event in the Event Store can be represented by fields in this case class.

eventId

Unique ID of this event.

event

Name of this event.

entityType

Type of the entity associated with this event.

entityId

ID of the entity associated with this event.

targetEntityType

Type of the target entity associated with this event.

targetEntityId

ID of the target entity associated with this event.

properties

Properties associated with this event.

eventTime

Time of the happening of this event.

tags

Tags of this event.

prId

PredictedResultId of this event.

creationTime

Time of creation in the system of this event.

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Event
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Event(eventId: Option[String] = scala.None, event: String, entityType: String, entityId: String, targetEntityType: Option[String] = scala.None, targetEntityId: Option[String] = scala.None, properties: DataMap = DataMap.apply(), eventTime: DateTime = org.joda.time.DateTime.now(), tags: Seq[String] = immutable.this.Nil, prId: Option[String] = scala.None, creationTime: DateTime = org.joda.time.DateTime.now())

    eventId

    Unique ID of this event.

    event

    Name of this event.

    entityType

    Type of the entity associated with this event.

    entityId

    ID of the entity associated with this event.

    targetEntityType

    Type of the target entity associated with this event.

    targetEntityId

    ID of the target entity associated with this event.

    properties

    Properties associated with this event.

    eventTime

    Time of the happening of this event.

    tags

    Tags of this event.

    prId

    PredictedResultId of this event.

    creationTime

    Time of creation in the system of this event.

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val creationTime: DateTime

    Time of creation in the system of this event.

  9. val entityId: String

    ID of the entity associated with this event.

  10. val entityType: String

    Type of the entity associated with this event.

  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. val event: String

    Name of this event.

  13. val eventId: Option[String]

    Unique ID of this event.

  14. val eventTime: DateTime

    Time of the happening of this event.

  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. val prId: Option[String]

    PredictedResultId of this event.

  22. val properties: DataMap

    Properties associated with this event.

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. val tags: Seq[String]

    Tags of this event.

  25. val targetEntityId: Option[String]

    ID of the target entity associated with this event.

  26. val targetEntityType: Option[String]

    Type of the target entity associated with this event.

  27. def toString(): String

    Definition Classes
    Event → AnyRef → Any
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped