public final class CommonAttributes extends Object
Definitions and utilities for common fields.
Modifier and Type | Field and Description |
---|---|
static TypedName<Integer> |
COUNT
A standard count, for events that may use them.
|
static TypedName<Long> |
ENTITY_ID
Attribute indicating the entity ID.
|
static TypedName<Long> |
ITEM_ID
The item ID associated with an entity.
|
static TypedName<String> |
NAME
A name associated with the entity.
|
static TypedName<Double> |
RATING
A rating value.
|
static TypedName<Long> |
TIMESTAMP
A timestamp associated with an event entity.
|
static TypedName<Long> |
USER_ID
The user ID associated with an entity.
|
public static final TypedName<Long> USER_ID
The user ID associated with an entity. This is for when the user is a foreign key; in user entities, the user ID is stored as the entity ID.
public static final TypedName<Long> ITEM_ID
The item ID associated with an entity. This is for when the user is a foreign key; in item entities, the item ID is stored as the entity ID.
public static final TypedName<Long> TIMESTAMP
A timestamp associated with an event entity.