Package org.apache.cassandra.db
Class ReadResponse
java.lang.Object
org.apache.cassandra.db.ReadResponse
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ReadResponsecreateDataResponse(UnfilteredPartitionIterator data, ReadCommand command, org.apache.cassandra.db.RepairedDataInfo rdi) static ReadResponsecreateDigestResponse(UnfilteredPartitionIterator data, ReadCommand command) static ReadResponsecreateRemoteDataResponse(UnfilteredPartitionIterator data, ByteBuffer repairedDataDigest, boolean isRepairedDigestConclusive, ReadCommand command, int version) static ReadResponsecreateSimpleDataResponse(UnfilteredPartitionIterator data, ColumnFilter selection) abstract ByteBufferdigest(ReadCommand command) abstract booleanabstract booleanprotected static ByteBuffermakeDigest(UnfilteredPartitionIterator iterator, ReadCommand command) abstract UnfilteredPartitionIteratormakeIterator(ReadCommand command) abstract booleanabstract ByteBuffertoDebugString(ReadCommand command, DecoratedKey key) Creates a string of the requested partition in this read response suitable for debugging.
-
Field Details
-
serializer
-
-
Constructor Details
-
ReadResponse
protected ReadResponse()
-
-
Method Details
-
createDataResponse
public static ReadResponse createDataResponse(UnfilteredPartitionIterator data, ReadCommand command, org.apache.cassandra.db.RepairedDataInfo rdi) -
createSimpleDataResponse
public static ReadResponse createSimpleDataResponse(UnfilteredPartitionIterator data, ColumnFilter selection) -
createRemoteDataResponse
public static ReadResponse createRemoteDataResponse(UnfilteredPartitionIterator data, ByteBuffer repairedDataDigest, boolean isRepairedDigestConclusive, ReadCommand command, int version) -
createDigestResponse
public static ReadResponse createDigestResponse(UnfilteredPartitionIterator data, ReadCommand command) -
makeIterator
-
digest
-
repairedDataDigest
-
isRepairedDigestConclusive
public abstract boolean isRepairedDigestConclusive() -
mayIncludeRepairedDigest
public abstract boolean mayIncludeRepairedDigest() -
isDigestResponse
public abstract boolean isDigestResponse() -
toDebugString
Creates a string of the requested partition in this read response suitable for debugging. -
makeDigest
-