public class AggregatedStorageStatusRecord extends AbstractStorageStatusRecord implements AggregatedUsageRecord<AggregatedStorageStatusRecord,StorageStatusRecord>
AbstractStorageStatusRecord.DataTypeUsageRecord.OperationResult| Modifier and Type | Field and Description |
|---|---|
static String |
DATA_COUNT |
static String |
DATA_VOLUME |
DATA_SERVICECLASS, DATA_SERVICEID, DATA_SERVICENAME, DATA_TYPE, PROVIDER_IDCONSUMER_ID, OPERATION_RESULT, SCOPEaggregatedFields, computation, computedFields, CREATION_TIME, ID, requiredFields, resourceProperties, validationAGGREGATED, END_TIME, OPERATION_COUNT, START_TIME| Constructor and Description |
|---|
AggregatedStorageStatusRecord() |
AggregatedStorageStatusRecord(Map<String,? extends Serializable> properties) |
AggregatedStorageStatusRecord(StorageStatusRecord record) |
| Modifier and Type | Method and Description |
|---|---|
AggregatedStorageStatusRecord |
aggregate(AggregatedStorageStatusRecord record) |
AggregatedStorageStatusRecord |
aggregate(StorageStatusRecord record) |
Class<StorageStatusRecord> |
getAggregable() |
Calendar |
getEndTime() |
int |
getOperationCount() |
Calendar |
getStartTime() |
boolean |
isAggregable(AggregatedStorageStatusRecord record) |
boolean |
isAggregable(StorageStatusRecord record) |
Boolean |
isAggregated() |
void |
setAggregated(Boolean aggregate) |
void |
setEndTime(Calendar endTime) |
void |
setOperationCount(int operationCount) |
void |
setStartTime(Calendar startTime) |
getDataCount, getDataServiceClass, getDataServiceId, getDataServiceName, getDataType, getDataVolume, getProviderId, getRecordType, setDataCount, setDataServiceClass, setDataServiceId, setDataServiceName, setDataType, setDataVolume, setProviderIdgetConsumerId, getContextFromToken, getOperationResult, getQuerableKeys, getScope, init, setConsumerId, setOperationResult, setScopecleanExtraFields, compareTo, computeField, getAggregatedFields, getAllFields, getComputedFields, getCreationTime, getEndTimeAsCalendar, getEndTimeInMillis, getId, getRequiredFields, getResourceProperties, getResourceProperty, getStartTimeAsCalendar, getStartTimeInMillis, initializeValidation, removeResourceProperty, setCreationTime, setId, setResourceProperties, setResourceProperty, timestampToCalendar, toString, validate, validateField, validatePropertiesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAggregatedFieldsgetComputedFields, getCreationTime, getId, getQuerableKeys, getRecordType, getRequiredFields, getResourceProperties, getResourceProperty, removeResourceProperty, setCreationTime, setId, setResourceProperties, setResourceProperty, validatecompareTopublic static final String DATA_VOLUME
public static final String DATA_COUNT
public AggregatedStorageStatusRecord()
public AggregatedStorageStatusRecord(Map<String,? extends Serializable> properties) throws org.gcube.documentstore.exception.InvalidValueException
org.gcube.documentstore.exception.InvalidValueExceptionpublic AggregatedStorageStatusRecord(StorageStatusRecord record) throws org.gcube.documentstore.exception.InvalidValueException
org.gcube.documentstore.exception.InvalidValueExceptionpublic int getOperationCount()
getOperationCount in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedStorageStatusRecord,StorageStatusRecord>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<AggregatedStorageStatusRecord,StorageStatusRecord>setOperationCount in class org.gcube.documentstore.records.implementation.AbstractRecordorg.gcube.documentstore.exception.InvalidValueExceptionpublic Calendar getStartTime()
getStartTime in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedStorageStatusRecord,StorageStatusRecord>public void setStartTime(Calendar startTime) throws org.gcube.documentstore.exception.InvalidValueException
setStartTime in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedStorageStatusRecord,StorageStatusRecord>setStartTime in class org.gcube.documentstore.records.implementation.AbstractRecordorg.gcube.documentstore.exception.InvalidValueExceptionpublic Calendar getEndTime()
getEndTime in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedStorageStatusRecord,StorageStatusRecord>public void setEndTime(Calendar endTime) throws org.gcube.documentstore.exception.InvalidValueException
setEndTime in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedStorageStatusRecord,StorageStatusRecord>setEndTime in class org.gcube.documentstore.records.implementation.AbstractRecordorg.gcube.documentstore.exception.InvalidValueExceptionpublic void setAggregated(Boolean aggregate) throws org.gcube.documentstore.exception.InvalidValueException
setAggregated in class org.gcube.documentstore.records.implementation.AbstractRecordorg.gcube.documentstore.exception.InvalidValueExceptionpublic Boolean isAggregated()
isAggregated in class org.gcube.documentstore.records.implementation.AbstractRecordpublic AggregatedStorageStatusRecord aggregate(AggregatedStorageStatusRecord record) throws org.gcube.documentstore.exception.NotAggregatableRecordsExceptions
aggregate in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedStorageStatusRecord,StorageStatusRecord>org.gcube.documentstore.exception.NotAggregatableRecordsExceptionspublic AggregatedStorageStatusRecord aggregate(StorageStatusRecord record) throws org.gcube.documentstore.exception.NotAggregatableRecordsExceptions
aggregate in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedStorageStatusRecord,StorageStatusRecord>org.gcube.documentstore.exception.NotAggregatableRecordsExceptionspublic boolean isAggregable(AggregatedStorageStatusRecord record) throws org.gcube.documentstore.exception.NotAggregatableRecordsExceptions
isAggregable in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedStorageStatusRecord,StorageStatusRecord>org.gcube.documentstore.exception.NotAggregatableRecordsExceptionspublic boolean isAggregable(StorageStatusRecord record) throws org.gcube.documentstore.exception.NotAggregatableRecordsExceptions
isAggregable in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedStorageStatusRecord,StorageStatusRecord>org.gcube.documentstore.exception.NotAggregatableRecordsExceptionspublic Class<StorageStatusRecord> getAggregable()
getAggregable in interface org.gcube.documentstore.records.AggregatedRecord<AggregatedStorageStatusRecord,StorageStatusRecord>Copyright © 2020. All Rights Reserved.