Class PagingState.RowMark
java.lang.Object
org.apache.cassandra.service.pager.PagingState.RowMark
- Enclosing class:
- PagingState
Marks 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
Modifier and TypeMethodDescriptionClustering<?>clustering(TableMetadata metadata) static PagingState.RowMarkcreate(TableMetadata metadata, Row row, ProtocolVersion protocolVersion) final booleanfinal inthashCode()toString()
-
Method Details
-
create
public static PagingState.RowMark create(TableMetadata metadata, Row row, ProtocolVersion protocolVersion) -
clustering
-
hashCode
public final int hashCode() -
equals
-
toString
-