public abstract class ReadResponse
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static IVersionedSerializer<ReadResponse> |
serializer |
Modifier | Constructor and Description |
---|---|
protected |
ReadResponse() |
Modifier and Type | Method and Description |
---|---|
static ReadResponse |
createDataResponse(UnfilteredPartitionIterator data,
ReadCommand command,
org.apache.cassandra.db.RepairedDataInfo rdi) |
static ReadResponse |
createDigestResponse(UnfilteredPartitionIterator data,
ReadCommand command) |
static ReadResponse |
createRemoteDataResponse(UnfilteredPartitionIterator data,
java.nio.ByteBuffer repairedDataDigest,
boolean isRepairedDigestConclusive,
ReadCommand command,
int version) |
abstract java.nio.ByteBuffer |
digest(ReadCommand command) |
abstract boolean |
isDigestResponse() |
abstract boolean |
isRepairedDigestConclusive() |
protected static java.nio.ByteBuffer |
makeDigest(UnfilteredPartitionIterator iterator,
ReadCommand command) |
abstract UnfilteredPartitionIterator |
makeIterator(ReadCommand command) |
abstract boolean |
mayIncludeRepairedDigest() |
abstract java.nio.ByteBuffer |
repairedDataDigest() |
java.lang.String |
toDebugString(ReadCommand command,
DecoratedKey key)
Creates a string of the requested partition in this read response suitable for debugging.
|
public static final IVersionedSerializer<ReadResponse> serializer
public static ReadResponse createDataResponse(UnfilteredPartitionIterator data, ReadCommand command, org.apache.cassandra.db.RepairedDataInfo rdi)
public static ReadResponse createRemoteDataResponse(UnfilteredPartitionIterator data, java.nio.ByteBuffer repairedDataDigest, boolean isRepairedDigestConclusive, ReadCommand command, int version)
public static ReadResponse createDigestResponse(UnfilteredPartitionIterator data, ReadCommand command)
public abstract UnfilteredPartitionIterator makeIterator(ReadCommand command)
public abstract java.nio.ByteBuffer digest(ReadCommand command)
public abstract java.nio.ByteBuffer repairedDataDigest()
public abstract boolean isRepairedDigestConclusive()
public abstract boolean mayIncludeRepairedDigest()
public abstract boolean isDigestResponse()
public java.lang.String toDebugString(ReadCommand command, DecoratedKey key)
protected static java.nio.ByteBuffer makeDigest(UnfilteredPartitionIterator iterator, ReadCommand command)
Copyright © 2009- The Apache Software Foundation