T - the distributed set interfacepublic interface DataObject<T>
extends java.io.Serializable
| Modifier and Type | Method and Description | 
|---|---|
void | 
addPartition(DataPartition<T> partition)
Add a partition to the data object 
 | 
default DataPartition<T> | 
getAnyPartition()
Return any of the available partitions 
 | 
java.lang.String | 
getID()
ID of the data object. 
 | 
default DataPartition<T> | 
getLowestPartition()
Returns the partition with the lowest ID, i.e partition from
 the lowest task index in this worker 
 | 
DataPartition<T> | 
getPartition(int partitionId)
Get the partition with the specific partition id 
 | 
int | 
getPartitionCount()
Get the number of partitions currently in the DataObject 
 | 
DataPartition<T>[] | 
getPartitions()
Get the list of partitions for a process 
 | 
void addPartition(DataPartition<T> partition)
partition - the partitionDataPartition<T>[] getPartitions()
DataPartition<T> getPartition(int partitionId)
partitionId - partition iddefault DataPartition<T> getAnyPartition()
default DataPartition<T> getLowestPartition()
int getPartitionCount()
java.lang.String getID()