org.gcube.contentmanagement.timeseriesservice.impl.timeseries.operations
Class Operation
java.lang.Object
org.gcube.contentmanagement.timeseriesservice.impl.timeseries.operations.Operation
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- AddFAOAreas, Aggregation, ColumnChange, Denormalization, Enrichment, Filter, Grouping, Union
public abstract class Operation
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Operation
public Operation()
setParameters
public abstract void setParameters(java.lang.Object... parameters)
throws java.lang.Exception
- Throws:
java.lang.Exception
getDataAsJSon
public java.lang.String getDataAsJSon(Limit limit,
Order order)
throws java.lang.Exception
- Throws:
java.lang.Exception
apply
public void apply(java.lang.String previuosTableName,
ColumnDefinition[] previousTableDefinition)
throws java.lang.Exception
- Throws:
java.lang.Exception
getCount
public long getCount()
setCount
public void setCount(long count)
getViewName
public java.lang.String getViewName()
setViewName
public void setViewName(java.lang.String viewName)
getType
public OperationType getType()
setType
public void setType(OperationType _type)
getCurrentState
public CurrentState getCurrentState()
setCurrentState
public void setCurrentState(CurrentState currentState)
getColumnDefinition
public ColumnDefinition[] getColumnDefinition()
setColumnDefinition
public void setColumnDefinition(ColumnDefinition[] columnDefintion)
discard
public void discard()
throws java.lang.Exception
- Throws:
java.lang.Exception
getColumnDefinitionReference
public static ColumnDefinition getColumnDefinitionReference(java.lang.String fieldId,
ColumnDefinition[] columnsDefintion)
throws java.lang.Exception
- Parameters:
fieldId
-
- Returns:
-
- Throws:
java.lang.Exception
getHistoryItem
public TSHistoryItem getHistoryItem()
setHistoryItem
public void setHistoryItem(TSHistoryItem historyItem)