Skip to content

Instantly share code, notes, and snippets.

@sw-samuraj
Created February 1, 2019 14:34
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 sw-samuraj/92c7bf90bdffe55cdb62d72ba0a50985 to your computer and use it in GitHub Desktop.
Save sw-samuraj/92c7bf90bdffe55cdb62d72ba0a50985 to your computer and use it in GitHub Desktop.
public class HistoryRecord {
@JsonProperty("opcRequestID")
private String id;
@JsonProperty("namespaceName")
private String namespaceName;
@JsonProperty("bucketName")
private String bucketName;
// Rest of the class is ommitted.
}
@KievEntity
public class ObjectSelectHistoryEntity {
@HashKey
@Column(type = ColumnType.STRING, length = 255)
private String id;
@Column(type = ColumnType.STRING, length = 255)
private String namespaceName;
@Column(type = ColumnType.STRING, length = 255)
private String bucketName;
// Rest of the class is ommitted.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment