Class PagingState.RowMark
- java.lang.Object
-
- org.apache.cassandra.service.pager.PagingState.RowMark
-
- Enclosing class:
- PagingState
public static class PagingState.RowMark extends java.lang.ObjectMarks the last row returned by paging, the one from which paging should continue. This class essentially holds a row clustering, but due to backward compatibility reasons, we need to actually store the cell name for the last cell of the row we're marking when the protocol v3 is in use, and this class abstract that complication. See CASSANDRA-10254 for more details.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Clustering<?>clustering(TableMetadata metadata)static PagingState.RowMarkcreate(TableMetadata metadata, Row row, ProtocolVersion protocolVersion)booleanequals(java.lang.Object o)inthashCode()java.lang.StringtoString()
-
-
-
Method Detail
-
create
public static PagingState.RowMark create(TableMetadata metadata, Row row, ProtocolVersion protocolVersion)
-
clustering
public Clustering<?> clustering(TableMetadata metadata)
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public final boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-