public final class EmptyDataPartition extends java.lang.Object implements DataPartition
DEFAULT_REF
Modifier and Type | Method and Description |
---|---|
DataPartitionConsumer |
getConsumer()
Get the data consumer
|
static DataPartition |
getInstance() |
int |
getPartitionId()
Get the id of the partition
|
void |
setId(int id) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clear, first, firstOrDefault, getReference
public DataPartitionConsumer getConsumer()
DataPartition
getConsumer
in interface DataPartition
public void setId(int id)
setId
in interface DataPartition
public int getPartitionId()
DataPartition
getPartitionId
in interface DataPartition
public static DataPartition getInstance()