public class ConvertForService extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
ConvertForService() |
| Modifier and Type | Method and Description |
|---|---|
static List<Map<String,Object>> |
buildCompositesByAggregatePairs(org.gcube.data.analysis.tabulardata.model.table.Table table,
List<AggregatePair> aggregatePairs)
Convert List
|
static org.gcube.data.analysis.tabulardata.expression.Expression |
concatByReferences(org.gcube.data.analysis.tabulardata.model.column.ColumnReference firstRef,
org.gcube.data.analysis.tabulardata.model.column.ColumnReference secondRef,
String value) |
static Class<? extends org.gcube.data.analysis.tabulardata.expression.Expression> |
convertAggregationFunctionForId(String aggregationId) |
static org.gcube.data.analysis.tabulardata.expression.Expression |
convertExpressionByTdIndexValue(TdIndexValue indexValue,
org.gcube.data.analysis.tabulardata.model.column.ColumnReference sourceRef) |
static org.gcube.data.analysis.tabulardata.model.column.ColumnReference |
getColumnReference(org.gcube.data.analysis.tabulardata.model.table.Table table,
String columnName) |
static org.gcube.data.analysis.tabulardata.expression.Operator |
getOperatorForAggregationFunctionId(String aggregateFunId) |
static org.gcube.data.analysis.tabulardata.model.table.Table |
getTable(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trID,
TdTabularDataService service) |
static void |
main(String[] args) |
static org.gcube.data.analysis.tabulardata.expression.Operator |
operatorFromTdOperatorId(String tdOperatorDescriptionId) |
static org.gcube.data.analysis.tabulardata.expression.Expression |
substringByRegex(org.gcube.data.analysis.tabulardata.model.column.ColumnReference sourceRef,
String regexValue) |
public static org.gcube.data.analysis.tabulardata.expression.Operator operatorFromTdOperatorId(String tdOperatorDescriptionId) throws Exception
tdOperatorDescriptionId - Exceptionpublic static org.gcube.data.analysis.tabulardata.expression.Expression substringByRegex(org.gcube.data.analysis.tabulardata.model.column.ColumnReference sourceRef,
String regexValue)
sourceRef - regexValue - public static org.gcube.data.analysis.tabulardata.expression.Expression convertExpressionByTdIndexValue(TdIndexValue indexValue, org.gcube.data.analysis.tabulardata.model.column.ColumnReference sourceRef) throws Exception
indexValue - sourceRef - Exceptionpublic static org.gcube.data.analysis.tabulardata.expression.Expression concatByReferences(org.gcube.data.analysis.tabulardata.model.column.ColumnReference firstRef,
org.gcube.data.analysis.tabulardata.model.column.ColumnReference secondRef,
String value)
firstRef - secondRef - value - public static Class<? extends org.gcube.data.analysis.tabulardata.expression.Expression> convertAggregationFunctionForId(String aggregationId)
aggregationId - Exceptionpublic static org.gcube.data.analysis.tabulardata.expression.Operator getOperatorForAggregationFunctionId(String aggregateFunId) throws Exception
Exceptionpublic static org.gcube.data.analysis.tabulardata.model.column.ColumnReference getColumnReference(org.gcube.data.analysis.tabulardata.model.table.Table table,
String columnName)
throws Exception
table - columnName - Exceptionpublic static org.gcube.data.analysis.tabulardata.model.table.Table getTable(org.gcube.portlets.user.td.widgetcommonevent.shared.TRId trID,
TdTabularDataService service)
throws Exception
trID - service - Exceptionpublic static List<Map<String,Object>> buildCompositesByAggregatePairs(org.gcube.data.analysis.tabulardata.model.table.Table table, List<AggregatePair> aggregatePairs) throws Exception
table - aggregatePairs - Exceptionpublic static void main(String[] args)
Copyright © 2014. All Rights Reserved.