public final class CommonAttributes
extends java.lang.Object
Definitions and utilities for common fields.
Modifier and Type | Field and Description |
---|---|
static TypedName<java.lang.Integer> |
COUNT
A standard count, for events that may use them.
|
static TypedName<java.lang.Long> |
ENTITY_ID
Attribute indicating the entity ID.
|
static TypedName<java.lang.Long> |
ITEM_ID
The item ID associated with an entity.
|
static TypedName<java.lang.String> |
NAME
A name associated with the entity.
|
static TypedName<java.lang.Double> |
RATING
A rating value.
|
static TypedName<java.lang.Long> |
TIMESTAMP
A timestamp associated with an event entity.
|
static TypedName<java.lang.Long> |
USER_ID
The user ID associated with an entity.
|
public static final TypedName<java.lang.Long> ENTITY_ID
Attribute indicating the entity ID.
public static final TypedName<java.lang.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<java.lang.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<java.lang.String> NAME
A name associated with the entity.
public static final TypedName<java.lang.Long> TIMESTAMP
A timestamp associated with an event entity.
public static final TypedName<java.lang.Double> RATING
A rating value.
public static final TypedName<java.lang.Integer> COUNT
A standard count, for events that may use them.