Package org.apache.hop.execution
Class ExecutionData
- java.lang.Object
-
- org.apache.hop.execution.ExecutionData
-
public class ExecutionData extends Object
This class contains execution data in the form of rows of data. These rows are collected for a purpose.
-
-
Constructor Summary
Constructors Constructor Description ExecutionData()ExecutionData(Date collectionDate, String parentId, String ownerId, Map<String,RowBuffer> dataSets, Map<String,ExecutionDataSetMeta> setDescriptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)DategetCollectionDate()Gets collectionDateExecutionDataSetMetagetDataSetMeta()Gets dataSetMetaMap<String,RowBuffer>getDataSets()Gets dataSetsExecutionTypegetExecutionType()Gets executionTypeStringgetOwnerId()Gets ownerIdStringgetParentId()Gets parentIdStringgetRowsBinaryGzipBase64Encoded()Encode the rows in binary compressed and encoded format fit for inclusion in JSONMap<String,ExecutionDataSetMeta>getSetMetaData()Gets setDescriptionsinthashCode()booleanisFinished()Gets finishedvoidsetCollectionDate(Date collectionDate)Sets collectionDatevoidsetDataSetMeta(ExecutionDataSetMeta dataSetMeta)Sets dataSetMetavoidsetDataSets(Map<String,RowBuffer> dataSets)Sets dataSetsvoidsetExecutionType(ExecutionType executionType)Sets executionTypevoidsetFinished(boolean finished)Sets finishedvoidsetOwnerId(String ownerId)Sets ownerIdvoidsetParentId(String parentId)Sets parentIdvoidsetRowsBinaryGzipBase64Encoded(String encodedString)Convert the encoded rows of data back to a list of rowsvoidsetSetMetaData(Map<String,ExecutionDataSetMeta> setMetaData)Sets setDescriptions
-
-
-
Method Detail
-
getRowsBinaryGzipBase64Encoded
public String getRowsBinaryGzipBase64Encoded() throws IOException, HopFileException
Encode the rows in binary compressed and encoded format fit for inclusion in JSON- Returns:
- Throws:
IOExceptionHopFileException
-
setRowsBinaryGzipBase64Encoded
public void setRowsBinaryGzipBase64Encoded(String encodedString) throws IOException, HopFileException
Convert the encoded rows of data back to a list of rows- Parameters:
encodedString-- Throws:
IOExceptionHopFileException
-
getExecutionType
public ExecutionType getExecutionType()
Gets executionType- Returns:
- value of executionType
-
setExecutionType
public void setExecutionType(ExecutionType executionType)
Sets executionType- Parameters:
executionType- value of executionType
-
getDataSetMeta
public ExecutionDataSetMeta getDataSetMeta()
Gets dataSetMeta- Returns:
- value of dataSetMeta
-
setDataSetMeta
public void setDataSetMeta(ExecutionDataSetMeta dataSetMeta)
Sets dataSetMeta- Parameters:
dataSetMeta- value of dataSetMeta
-
isFinished
public boolean isFinished()
Gets finished- Returns:
- value of finished
-
setFinished
public void setFinished(boolean finished)
Sets finished- Parameters:
finished- value of finished
-
getCollectionDate
public Date getCollectionDate()
Gets collectionDate- Returns:
- value of collectionDate
-
setCollectionDate
public void setCollectionDate(Date collectionDate)
Sets collectionDate- Parameters:
collectionDate- value of collectionDate
-
getParentId
public String getParentId()
Gets parentId- Returns:
- value of parentId
-
setParentId
public void setParentId(String parentId)
Sets parentId- Parameters:
parentId- value of parentId
-
getOwnerId
public String getOwnerId()
Gets ownerId- Returns:
- value of ownerId
-
setOwnerId
public void setOwnerId(String ownerId)
Sets ownerId- Parameters:
ownerId- value of ownerId
-
setDataSets
public void setDataSets(Map<String,RowBuffer> dataSets)
Sets dataSets- Parameters:
dataSets- value of dataSets
-
getSetMetaData
public Map<String,ExecutionDataSetMeta> getSetMetaData()
Gets setDescriptions- Returns:
- value of setDescriptions
-
setSetMetaData
public void setSetMetaData(Map<String,ExecutionDataSetMeta> setMetaData)
Sets setDescriptions- Parameters:
setMetaData- value of setDescriptions
-
-