Class AggregatorBuffer
java.lang.Object
org.gcube.accounting.aggregator.aggregation.AggregatorBuffer
- Author:
- Alessandro Pieve (ISTI - CNR), Luca Frosini (ISTI - CNR)
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<org.gcube.documentstore.records.AggregatedRecord<?,?>> static org.slf4j.Logger -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaggregate(org.gcube.documentstore.records.AggregatedRecord<?, ?> record) static org.gcube.documentstore.records.AggregatedRecordgetAggregatedRecord(org.gcube.documentstore.records.Record record) List<org.gcube.documentstore.records.AggregatedRecord<?,?>> protected static org.gcube.documentstore.records.AggregatedRecordinstantiateAggregatedRecord(org.gcube.documentstore.records.Record record) protected voidmadeAggregation(org.gcube.documentstore.records.AggregatedRecord<?, ?> record)
-
Field Details
-
logger
public static org.slf4j.Logger logger -
aggregatedRecords
-
-
Constructor Details
-
AggregatorBuffer
public AggregatorBuffer()
-
-
Method Details
-
instantiateAggregatedRecord
protected static org.gcube.documentstore.records.AggregatedRecord instantiateAggregatedRecord(org.gcube.documentstore.records.Record record) throws Exception - Throws:
Exception
-
getAggregatedRecord
public static org.gcube.documentstore.records.AggregatedRecord getAggregatedRecord(org.gcube.documentstore.records.Record record) throws Exception - Throws:
Exception
-
madeAggregation
protected void madeAggregation(org.gcube.documentstore.records.AggregatedRecord<?, ?> record) throws org.gcube.documentstore.exception.InvalidValueException- Throws:
org.gcube.documentstore.exception.InvalidValueException
-
getAggregatedRecords
-
aggregate
public void aggregate(org.gcube.documentstore.records.AggregatedRecord<?, ?> record) throws Exception- Throws:
Exception
-