public class AggregatedJobUsageRecord extends AbstractJobUsageRecord implements AggregatedUsageRecord<AggregatedJobUsageRecord,JobUsageRecord>
UsageRecord.OperationResultJOB_END_TIME, JOB_ID, JOB_NAME, JOB_QUALIFIER, JOB_START_TIME, WALL_DURATIONCONSUMER_ID, OPERATION_RESULT, SCOPEaggregatedFields, computation, computedFields, CREATION_TIME, ID, RECORD_TYPE, requiredFields, resourceProperties, validationAGGREGATED, END_TIME, OPERATION_COUNT, START_TIME| Constructor and Description |
|---|
AggregatedJobUsageRecord() |
AggregatedJobUsageRecord(JobUsageRecord jobUsageRecord) |
AggregatedJobUsageRecord(Map<String,? extends Serializable> properties) |
| Modifier and Type | Method and Description |
|---|---|
AggregatedJobUsageRecord |
aggregate(AggregatedJobUsageRecord record) |
AggregatedJobUsageRecord |
aggregate(JobUsageRecord record) |
Class<JobUsageRecord> |
getAggregable() |
Set<String> |
getAggregatedFields() |
Calendar |
getEndTime() |
int |
getOperationCount() |
Calendar |
getStartTime() |
boolean |
isAggregable(AggregatedJobUsageRecord record) |
boolean |
isAggregable(JobUsageRecord record) |
void |
setEndTime(Calendar endTime) |
void |
setOperationCount(int operationCount) |
void |
setStartTime(Calendar startTime) |
calculateWallDuration, getJobEndTime, getJobId, getJobName, getJobQualifier, getJobStartTime, getWallDuration, giveMeRecordType, setJobEndTime, setJobId, setJobName, setJobQualifier, setJobStartTimegetConsumerId, getOperationResult, getScope, init, setConsumerId, setOperationResult, setScopecleanExtraFields, compareTo, computeField, getAllFields, getCreationTime, getEndTimeAsCalendar, getEndTimeInMillis, getId, getRecordType, getRequiredFields, getResourceProperties, getResourceProperty, getStartTimeAsCalendar, getStartTimeInMillis, initializeValidation, setCreationTime, setId, setRecordType, setResourceProperties, setResourceProperty, timestampToCalendar, toString, validate, validateField, validatePropertiesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCreationTime, getId, getRecordType, getRequiredFields, getResourceProperties, getResourceProperty, setCreationTime, setId, setResourceProperties, setResourceProperty, validatecompareTopublic AggregatedJobUsageRecord()
public AggregatedJobUsageRecord(Map<String,? extends Serializable> properties) throws org.gcube.documentstore.exception.InvalidValueException
org.gcube.documentstore.exception.InvalidValueExceptionpublic AggregatedJobUsageRecord(JobUsageRecord jobUsageRecord) throws org.gcube.documentstore.exception.InvalidValueException
org.gcube.documentstore.exception.InvalidValueExceptionpublic Set<String> getAggregatedFields()
getAggregatedFields in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedJobUsageRecord,JobUsageRecord>public int getOperationCount()
getOperationCount in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedJobUsageRecord,JobUsageRecord>getOperationCount in class org.gcube.documentstore.records.implementation.AbstractRecordpublic void setOperationCount(int operationCount)
throws org.gcube.documentstore.exception.InvalidValueException
setOperationCount in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedJobUsageRecord,JobUsageRecord>setOperationCount in class org.gcube.documentstore.records.implementation.AbstractRecordorg.gcube.documentstore.exception.InvalidValueExceptionpublic Calendar getStartTime()
getStartTime in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedJobUsageRecord,JobUsageRecord>public void setStartTime(Calendar startTime) throws org.gcube.documentstore.exception.InvalidValueException
setStartTime in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedJobUsageRecord,JobUsageRecord>setStartTime in class org.gcube.documentstore.records.implementation.AbstractRecordorg.gcube.documentstore.exception.InvalidValueExceptionpublic Calendar getEndTime()
getEndTime in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedJobUsageRecord,JobUsageRecord>public void setEndTime(Calendar endTime) throws org.gcube.documentstore.exception.InvalidValueException
setEndTime in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedJobUsageRecord,JobUsageRecord>setEndTime in class org.gcube.documentstore.records.implementation.AbstractRecordorg.gcube.documentstore.exception.InvalidValueExceptionpublic AggregatedJobUsageRecord aggregate(AggregatedJobUsageRecord record) throws org.gcube.documentstore.exception.NotAggregatableRecordsExceptions
aggregate in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedJobUsageRecord,JobUsageRecord>org.gcube.documentstore.exception.NotAggregatableRecordsExceptionspublic AggregatedJobUsageRecord aggregate(JobUsageRecord record) throws org.gcube.documentstore.exception.NotAggregatableRecordsExceptions
aggregate in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedJobUsageRecord,JobUsageRecord>org.gcube.documentstore.exception.NotAggregatableRecordsExceptionspublic boolean isAggregable(AggregatedJobUsageRecord record) throws org.gcube.documentstore.exception.NotAggregatableRecordsExceptions
isAggregable in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedJobUsageRecord,JobUsageRecord>org.gcube.documentstore.exception.NotAggregatableRecordsExceptionspublic boolean isAggregable(JobUsageRecord record) throws org.gcube.documentstore.exception.NotAggregatableRecordsExceptions
isAggregable in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedJobUsageRecord,JobUsageRecord>org.gcube.documentstore.exception.NotAggregatableRecordsExceptionspublic Class<JobUsageRecord> getAggregable()
getAggregable in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedJobUsageRecord,JobUsageRecord>Copyright © 2016. All Rights Reserved.