Constructor and Description |
---|
Partition(int partition)
Constructs a new Samza stream partition from a specified partition number.
|
public Partition(int partition)
partition
- An integer identifying the partition in a Samza stream.public int getPartitionId()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object