Object

org.apache.predictionio.data.store.python

PPythonEventStore

Related Doc: package python

Permalink

object PPythonEventStore

This object provides a set of operation to access Event Store with Spark's parallelization

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

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. def aggregateProperties(appName: String, entityType: String, channelName: String, startTime: Timestamp, untilTime: Timestamp, required: Array[String])(spark: SparkSession): DataFrame

    Permalink

    Aggregate properties of entities based on these special events: $set, $unset, $delete events.

    Aggregate properties of entities based on these special events: $set, $unset, $delete events.

    appName

    use events of this app

    entityType

    aggregate properties of the entities of this entityType

    channelName

    use events of this channel (default channel if it's None)

    startTime

    use events with eventTime >= startTime

    untilTime

    use events with eventTime < untilTime

    required

    only keep entities with these required properties defined

    spark

    Spark session

    returns

    DataFrame DataFrame of entityId and PropetyMap pair

  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def find(appName: String, channelName: String, startTime: Timestamp, untilTime: Timestamp, entityType: String, entityId: String, eventNames: Array[String], targetEntityType: String, targetEntityId: String)(spark: SparkSession): DataFrame

    Permalink

    Read events from Event Store

    Read events from Event Store

    appName

    return events of this app

    channelName

    return events of this channel (default channel if it's None)

    startTime

    return events with eventTime >= startTime

    untilTime

    return events with eventTime < untilTime

    entityType

    return events of this entityType

    entityId

    return events of this entityId

    eventNames

    return events with any of these event names.

    targetEntityType

    return events of this targetEntityType:

    • None means no restriction on targetEntityType
    • Some(None) means no targetEntityType for this event
    • Some(Some(x)) means targetEntityType should match x.
    targetEntityId

    return events of this targetEntityId

    • None means no restriction on targetEntityId
    • Some(None) means no targetEntityId for this event
    • Some(Some(x)) means targetEntityId should match x.
    spark

    Spark context

    returns

    DataFrame

  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. def toString(): String

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped