Reads events generically.
Reads events generically. If entityType or entityId is not specified, it results in table scan.
return events of this app
return events of this entityType
return events of this entityId
return events of this channel (default channel if it's None)
return events with any of these event names.
return events of this targetEntityType:
return events of this targetEntityId
return events with eventTime >= startTime
return events with eventTime < untilTime
Limit number of events. Get all events if None or Some(-1)
java.util.List[Event]
Reads events generically.
Reads events generically. If entityType or entityId is not specified, it results in table scan.
return events of this app
return events of this entityType
return events of this entityId
return events of this channel (default channel if it's None)
return events with any of these event names.
return events of this targetEntityType:
return events of this targetEntityId
return events with eventTime >= startTime
return events with eventTime < untilTime
Limit number of events. Get all events if None or Some(-1)
CompletableFuture[java.util.List[Event]]
Reads events of the specified entity.
Reads events of the specified entity. May use this in Algorithm's predict() or Serving logic to have fast event store access.
return events of this app
return events of this entityType
return events of this entityId
return events of this channel (default channel if it's None)
return events with any of these event names.
return events of this targetEntityType:
return events of this targetEntityId
return events with eventTime >= startTime
return events with eventTime < untilTime
Limit number of events. Get all events if None or Some(-1)
Return latest event first
java.util.List[Event]
Reads events of the specified entity.
Reads events of the specified entity. May use this in Algorithm's predict() or Serving logic to have fast event store access.
return events of this app
return events of this entityType
return events of this entityId
return events of this channel (default channel if it's None)
return events with any of these event names.
return events of this targetEntityType:
return events of this targetEntityId
return events with eventTime >= startTime
return events with eventTime < untilTime
Limit number of events. Get all events if None or Some(-1)
Return latest event first
CompletableFuture[java.util.List[Event]]
This Java-friendly object provides a set of operation to access Event Store without going through Spark's parallelization.
Note that blocking methods of this object uses
scala.concurrent.ExecutionContext.Implicits.global
internally. Since this is a thread pool which has a number of threads equal to available processors, parallelism is limited up to the number of processors.If this limitation become bottleneck of resource usage, you can increase the number of threads by declaring following VM options before calling "pio deploy":
You can learn more about the global execution context in the Scala documentation: https://docs.scala-lang.org/overviews/core/futures.html#the-global-execution-context