Commit 5d559c9f authored by Michael Ritter's avatar Michael Ritter
Browse files

Create class for mapping an IngestSummary

parent a7d89399
package edu.umiacs.ace.stats;
import java.math.BigDecimal;
import java.sql.Timestamp;
/**
* A summary of a collection
*
* Created by shake on 8/29/16.
*/
public final class IngestSummary {
public final Timestamp date;
public final String collection;
public final String group;
public final Long count;
public final BigDecimal size;
public IngestSummary(Timestamp date, String collection, String group, Long count, BigDecimal size) {
this.date = date;
this.collection = collection;
this.group = group;
this.count = count;
this.size = size;
}
public Timestamp getDate() {
return date;
}
public String getCollection() {
return collection;
}
public String getGroup() {
return group;
}
public Long getCount() {
return count;
}
public BigDecimal getSize() {
return size;
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment