CSO_REPUTATION_REW_QUEUE
This table stores transient details of how many reputations rewards a user has been awarded. The rows in this table will be deleted after the view count is merged in to USERINFORMATION table for each user. assert( NOT_NULL(CALCULATEDPOINTS) or NOT_NULL(REWARDMULTIPLIERTYPE, POINTSPERREWARD, REWARDTYPE, TIMESREWARDED) )
Details
-
Schema: FUSION
-
Object owner: CSO
-
Object type: TABLE
-
Tablespace: TRANSACTION_TABLES
Primary Key
Name | Columns |
---|---|
CSO_REPUTATION_REW_QUEUE_PK |
RECORD_ID |
Columns
Name | Datatype | Length | Precision | Not-null | Comments |
---|---|---|---|---|---|
RECORD_ID | VARCHAR2 | 32 | Yes | This is the primary key of the table. | |
DATE_ADDED | TIMESTAMP | Yes | This is the datetime that the record was added to the repository. | ||
DATE_MODIFIED | TIMESTAMP | Yes | This is the datetime that the record was modified. | ||
USER_ID | VARCHAR2 | 32 | This is the obsolete GUID for the associated user. | ||
IS_ADD | CHAR | 1 | Yes | Flag indicating whether points need to be added or subtracted. | |
CALCULATED_POINTS | NUMBER | The (incremental) number of points which need to be added to or subtracted from the user's reputation points. No further calculations are needed if this column is populated. | |||
REWARD_MULTIPLIER_TYPE | NUMBER | ENUM ReputationRewardMultiplierType Ordinal - NORMAL, FLOAT. | |||
POINTS_PER_REWARD | NUMBER | This is the number of points for this reward (before any multipliers are applied). Generally positive value. | |||
REWARD_TYPE | NUMBER | This is the type of ReputationReward (REWARD_CONTENT_AUTHORED, etc). | |||
TIMES_REWARDED | NUMBER | This is the number of times this type of reward is rewarded (or to be taken away). Positive value. | |||
OPTIMISTIC_FAILURE_COUNT | NUMBER | The count of optimistic locking failures faced when merging this record into CONTENTMETRICs. | |||
OTHER_FAILURE_COUNT | NUMBER | The count of other failures faced when merging this record into CONTENTMETRICs. | |||
USER_PARTY_ID | NUMBER | 18 | This is the ID of the associated user. |
Indexes
Index | Uniqueness | Tablespace | Columns |
---|---|---|---|
CSO_REPUTATION_REW_QUEUE_N1 | Non Unique | Default | DATE_ADDED |
CSO_REPUTATION_REW_QUEUE_N2 | Non Unique | Default | DATE_MODIFIED |
CSO_REPUTATION_REW_QUEUE_N3 | Non Unique | Default | USER_PARTY_ID |
CSO_REPUTATION_REW_QUEUE_U1 | Unique | Default | RECORD_ID |