public class GridQueryNextPageResponse extends Object implements Message
DIRECT_TYPE_SIZE
Constructor and Description |
---|
GridQueryNextPageResponse()
For
Externalizable . |
GridQueryNextPageResponse(long qryReqId,
int segmentId,
int qry,
int page,
int allRows,
int cols,
Collection<Message> vals,
Collection<?> plainRows) |
Modifier and Type | Method and Description |
---|---|
int |
allRows() |
int |
columns() |
short |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
void |
onAckReceived()
Method called when ack message received.
|
int |
page() |
Collection<?> |
plainRows() |
int |
query() |
long |
queryRequestId() |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
AffinityTopologyVersion |
retry() |
void |
retry(AffinityTopologyVersion retry) |
int |
segmentId() |
String |
toString() |
Collection<Message> |
values() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public GridQueryNextPageResponse()
Externalizable
.public GridQueryNextPageResponse(long qryReqId, int segmentId, int qry, int page, int allRows, int cols, Collection<Message> vals, Collection<?> plainRows)
qryReqId
- Query request ID.segmentId
- Index segment ID.qry
- Query.page
- Page.allRows
- All rows count.cols
- Number of columns in row.vals
- Values for rows in this page added sequentially.plainRows
- Not marshalled rows for local node.public long queryRequestId()
public int segmentId()
public int query()
public int page()
public int allRows()
public int columns()
public Collection<Message> values()
public Collection<?> plainRows()
public void onAckReceived()
onAckReceived
in interface Message
public boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public short directType()
directType
in interface Message
public byte fieldsCount()
fieldsCount
in interface Message
public AffinityTopologyVersion retry()
public void retry(AffinityTopologyVersion retry)
retry
- Retry topology version.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017