Skip to content

Instantly share code, notes, and snippets.

@MiraLak MiraLak/ Secret
Created May 31, 2015

What would you like to do?
Accelerometer to Cassandra REST Api
public class Acceleration {
private UserTimestamp user_timestamp;
private Double x;
private Double y;
private Double z;
public Acceleration(AccelerartionModel accelerationModel) {
user_timestamp = new UserTimestamp();
x = accelerationModel.getX();
y = accelerationModel.getY();
z = accelerationModel.getZ();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.