public class ConvertOperationForService extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
ConvertOperationForService() |
| Modifier and Type | Method and Description |
|---|---|
static org.gcube.data.analysis.tabulardata.commons.templates.model.actions.impl.AggregationPair.AggregationFunction |
aggregationFunctionFromId(String aggregateFunId)
Aggregation function from id.
|
static List<org.gcube.data.analysis.tabulardata.commons.templates.model.actions.impl.AggregationPair> |
aggregationPairListForTemplate(List<AggregatePair> aggregatePairs,
org.gcube.data.analysis.tabulardata.commons.templates.model.Template template)
Builds the aggregation pair for template.
|
static org.gcube.data.analysis.tabulardata.commons.templates.model.columns.TemplateColumn<?> |
getColumnFromTdColumnData(org.gcube.data.analysis.tabulardata.commons.templates.model.Template template,
TdColumnData column)
Gets the column from td column data.
|
static void |
main(String[] args)
The main method.
|
static org.gcube.data.analysis.tabulardata.expression.Operator |
operatorFromTdOperatorId(String tdOperatorDescriptionId)
Operator from td operator id.
|
static org.gcube.data.analysis.tabulardata.model.time.PeriodType |
periodType(String periodType)
Period type.
|
public static org.gcube.data.analysis.tabulardata.expression.Operator operatorFromTdOperatorId(String tdOperatorDescriptionId) throws Exception
tdOperatorDescriptionId - the td operator description idException - the exceptionpublic static org.gcube.data.analysis.tabulardata.model.time.PeriodType periodType(String periodType) throws Exception
periodType - the period typeException - the exceptionpublic static org.gcube.data.analysis.tabulardata.commons.templates.model.actions.impl.AggregationPair.AggregationFunction aggregationFunctionFromId(String aggregateFunId) throws Exception
aggregateFunId - is the name of the enumException - the exceptionpublic static org.gcube.data.analysis.tabulardata.commons.templates.model.columns.TemplateColumn<?> getColumnFromTdColumnData(org.gcube.data.analysis.tabulardata.commons.templates.model.Template template,
TdColumnData column)
throws Exception
template - the templatecolumn - the columnException - the exceptionpublic static List<org.gcube.data.analysis.tabulardata.commons.templates.model.actions.impl.AggregationPair> aggregationPairListForTemplate(List<AggregatePair> aggregatePairs, org.gcube.data.analysis.tabulardata.commons.templates.model.Template template) throws Exception
aggregatePairs - the aggregate pairstemplate - the templateException - the exceptionpublic static void main(String[] args)
args - the argumentsCopyright © 2016. All Rights Reserved.