public class DataEnrichment extends Object
Constructor and Description |
---|
DataEnrichment() |
Modifier and Type | Method and Description |
---|---|
static Data |
addCorrelationInfo(Data data,
int size,
int number,
String id)
Add split info to be used in agregator.
|
static Data |
addMetadataInfo(Data data,
Dictionary newmetadata)
Add Metadata information to the given Data.
|
static List |
addMetadataInfo(List dataset,
Dictionary newmetadata)
Add Metadata information in all Data in the given DataSet.
|
static int |
getCorrelatedTotal(Data data)
When Data is enrichment with SplittInfo, this method
will return the amount of pices the Data was splitted .
|
public static Data addCorrelationInfo(Data data, int size, int number, String id)
data
- splited data to add info.size
- pieces of splited data.number
- the number of this splited data.id
- id of the data splited.public static int getCorrelatedTotal(Data data)
data
- Splitted Data.public static Data addMetadataInfo(Data data, Dictionary newmetadata)
data
- Data to enrichment with new meta-information.newmetadata
- Dictionary wich contains new meta-information.public static List addMetadataInfo(List dataset, Dictionary newmetadata)
dataset
- DataSet to enrichment with new meta-information.newmetadata
- Dictionary wich contains new meta-information.Copyright © 2012-2013 Adele Team | LIG. All Rights Reserved.