Class CassandraPartition
- java.lang.Object
-
- cz.o2.proxima.direct.core.batch.BoundedPartition
-
- cz.o2.proxima.direct.io.cassandra.CassandraPartition
-
public final class CassandraPartition extends BoundedPartition
APartitionin Cassandra.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface cz.o2.proxima.core.storage.Partition
Partition.IntegerPartition
-
-
Constructor Summary
Constructors Constructor Description CassandraPartition(int id, long minStamp, long maxStamp, long tokenStart, long tokenEnd, boolean endInclusive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(java.lang.Object other)booleanequals(java.lang.Object o)longgetMaxStamp()longgetMinStamp()longgetTokenEnd()longgetTokenStart()inthashCode()booleanisEndInclusive()java.lang.StringtoString()-
Methods inherited from class cz.o2.proxima.direct.core.batch.BoundedPartition
getId, isBounded, size
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface cz.o2.proxima.core.storage.Partition
compareTo, getMaxTimestamp, getMinTimestamp, isSplittable, split
-
-
-
-
Method Detail
-
getMinStamp
public long getMinStamp()
-
getMaxStamp
public long getMaxStamp()
-
getTokenStart
public long getTokenStart()
-
getTokenEnd
public long getTokenEnd()
-
isEndInclusive
public boolean isEndInclusive()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classBoundedPartition
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classBoundedPartition
-
canEqual
protected boolean canEqual(java.lang.Object other)
- Overrides:
canEqualin classBoundedPartition
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBoundedPartition
-
-