Skip to content

Instantly share code, notes, and snippets.

@MiraLak
Created May 31, 2015 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MiraLak/ac995c21ee05387cd893 to your computer and use it in GitHub Desktop.
Save MiraLak/ac995c21ee05387cd893 to your computer and use it in GitHub Desktop.
Accelerometer to Cassandra REST Api
@PrimaryKeyClass
public class UserTimestamp implements Serializable{
@PrimaryKeyColumn(ordinal = 1, type = PrimaryKeyType.PARTITIONED)
private String user_id;
@NotNull
private Long timestamp;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment