Class

org.apache.predictionio.data.storage

Event

Related Doc: package storage

Permalink

case class Event(eventId: Option[String] = None, event: String, entityType: String, entityId: String, targetEntityType: Option[String] = None, targetEntityId: Option[String] = None, properties: DataMap = DataMap(), eventTime: DateTime = DateTime.now, tags: Seq[String] = Nil, prId: Option[String] = None, creationTime: DateTime = 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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

    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: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

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

    Permalink

    Time of creation in the system of this event.

  7. val entityId: String

    Permalink

    ID of the entity associated with this event.

  8. val entityType: String

    Permalink

    Type of the entity associated with this event.

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

    Permalink
    Definition Classes
    AnyRef
  10. val event: String

    Permalink

    Name of this event.

  11. val eventId: Option[String]

    Permalink

    Unique ID of this event.

  12. val eventTime: DateTime

    Permalink

    Time of the happening of this event.

  13. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    AnyRef
  17. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. val prId: Option[String]

    Permalink

    PredictedResultId of this event.

  20. val properties: DataMap

    Permalink

    Properties associated with this event.

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

    Permalink
    Definition Classes
    AnyRef
  22. val tags: Seq[String]

    Permalink

    Tags of this event.

  23. val targetEntityId: Option[String]

    Permalink

    ID of the target entity associated with this event.

  24. val targetEntityType: Option[String]

    Permalink

    Type of the target entity associated with this event.

  25. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped