@Entity public abstract class AbstractAnalyticsEvent extends BaseEntity implements IdentifiableEntity<com.brightcove.player.analytics.AnalyticsEvent,java.lang.Long>
Modifier and Type | Class and Description |
---|---|
static interface |
AbstractAnalyticsEvent.Priority
List of supported event priorities.
|
Modifier and Type | Field and Description |
---|---|
static int |
CRITICAL
The value of critical priority event.
|
static int |
HIGH
The value of high priority event.
|
static int |
LOW
The value of low priority event.
|
static int |
NORMAL
The value of normal priority event.
|
createTime, updateTime
Constructor and Description |
---|
AbstractAnalyticsEvent() |
Modifier and Type | Method and Description |
---|---|
static com.brightcove.player.analytics.AnalyticsEvent |
create(int priority,
java.lang.String type,
java.util.Map<java.lang.String,java.lang.String> parameters)
Creates a new analytics event.
|
static com.brightcove.player.analytics.AnalyticsEvent |
create(java.lang.String type,
java.util.Map<java.lang.String,java.lang.String> parameters)
Creates a new analytics event.
|
io.requery.query.LogicalCondition<? extends io.requery.query.Expression<java.lang.Long>,?> |
getIdentityCondition()
Gets a
LogicalCondition that can be used to match this entity by it's unique identifier. |
io.requery.query.LogicalCondition<? extends io.requery.query.Expression<java.lang.Long>,?> |
getIdentityCondition(java.lang.Long key)
Gets a
LogicalCondition that can be used to match an entity by it's unique identifier. |
getModifiedTime, onBeforeInsert, onBeforeUpdate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getKey
public static final int LOW
public static final int NORMAL
public static final int HIGH
public static final int CRITICAL
public io.requery.query.LogicalCondition<? extends io.requery.query.Expression<java.lang.Long>,?> getIdentityCondition(java.lang.Long key)
IdentifiableEntity
LogicalCondition
that can be used to match an entity by it's unique identifier.getIdentityCondition
in interface IdentifiableEntity<com.brightcove.player.analytics.AnalyticsEvent,java.lang.Long>
key
- the unique identifier of the entity.public io.requery.query.LogicalCondition<? extends io.requery.query.Expression<java.lang.Long>,?> getIdentityCondition()
IdentifiableEntity
LogicalCondition
that can be used to match this entity by it's unique identifier.getIdentityCondition
in interface IdentifiableEntity<com.brightcove.player.analytics.AnalyticsEvent,java.lang.Long>
public static com.brightcove.player.analytics.AnalyticsEvent create(int priority, @NonNull java.lang.String type, @Nullable java.util.Map<java.lang.String,java.lang.String> parameters)
priority
- the priority of the event.type
- the type of the analytics event.parameters
- a map of HTTP query parameter names and values to be sent to the server.public static com.brightcove.player.analytics.AnalyticsEvent create(@NonNull java.lang.String type, @Nullable java.util.Map<java.lang.String,java.lang.String> parameters)
type
- the type of the analytics event.parameters
- a map of HTTP query parameter names and values to be sent to the server.