<commit_before>package com.nowellpoint.aws.model;

import java.util.Date;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBAttribute;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBHashKey;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBTable;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBAutoGeneratedKey;

@DynamoDBTable(tableName="Events")
public class Event {
	
	public enum EventStatus {
		NEW,
		COMPLETE,
		ERROR
	};
	
	public enum EventType {
		OUTBOUND_MESSAGE
	};

	@DynamoDBAutoGeneratedKey
	@DynamoDBHashKey(attributeName="Id")  
	private String id;
	
	@DynamoDBHashKey(attributeName="OrganizationId")  
	private String organizationId;
	
	@DynamoDBAttribute(attributeName="EventStatus")  
	private String eventStatus;
	
	@DynamoDBAttribute(attributeName="EventDate")  
	private Date eventDate;
	
	@DynamoDBAttribute(attributeName="EventType")  
	private String eventType;
	
	@DynamoDBAttribute(attributeName="UserId")  
	private String userId;
	
	@DynamoDBAttribute(attributeName="Payload")
	private String payload;
	
	@DynamoDBAttribute(attributeName="RecordCount")
	private Integer recordCount;
	
	@DynamoDBAttribute(attributeName="ExecutionTime")
	private Long executionTime;
	<commit_msg>added a DynamoDBRangeKey to OrganizationId in Event object<commit_after>package com.nowellpoint.aws.model;

import java.util.Date;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBAttribute;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBHashKey;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBRangeKey;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBTable;
import com.amazonaws.services.dynamodbv2.datamodeling.DynamoDBAutoGeneratedKey;

@DynamoDBTable(tableName="Events")
public class Event {
	
	public enum EventStatus {
		NEW,
		COMPLETE,
		ERROR
	};
	
	public enum EventType {
		OUTBOUND_MESSAGE
	};

	@DynamoDBAutoGeneratedKey
	@DynamoDBHashKey(attributeName="Id")  
	private String id;
	
	@DynamoDBRangeKey(attributeName="OrganizationId")  
	private String organizationId;
	
	@DynamoDBAttribute(attributeName="EventStatus")  
	private String eventStatus;
	
	@DynamoDBAttribute(attributeName="EventDate")  
	private Date eventDate;
	
	@DynamoDBAttribute(attributeName="EventType")  
	private String eventType;
	
	@DynamoDBAttribute(attributeName="UserId")  
	private String userId;
	
	@DynamoDBAttribute(attributeName="Payload")
	private String payload;
	
	@DynamoDBAttribute(attributeName="RecordCount")
	private Integer recordCount;
	
	@DynamoDBAttribute(attributeName="ExecutionTime")
	private Long executionTime;
	
{'fraction_non_alphanumeric': 0.08767951625094482, 'fraction_numerical': 0.003401360544217687, 'mean_word_length': 6.901492537313433, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5326937', 'n_tokens_mistral': 903, 'n_tokens_neox': 895, 'n_words': 135}