public class GridQueryNextPageResponse extends Object implements Message
| Constructor and Description |
|---|
GridQueryNextPageResponse()
For
Externalizable. |
GridQueryNextPageResponse(long qryReqId,
int qry,
int page,
int allRows,
int cols,
Collection<Message> vals,
Collection<?> plainRows) |
| Modifier and Type | Method and Description |
|---|---|
int |
allRows() |
int |
columns() |
byte |
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) |
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 qry,
int page,
int allRows,
int cols,
Collection<Message> vals,
Collection<?> plainRows)
qryReqId - Query request 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 query()
public int page()
public int allRows()
public int columns()
public Collection<Message> values()
public Collection<?> plainRows()
public void onAckReceived()
onAckReceived in interface Messagepublic boolean writeTo(ByteBuffer buf, MessageWriter writer)
public boolean readFrom(ByteBuffer buf, MessageReader reader)
public byte directType()
directType in interface Messagepublic byte fieldsCount()
fieldsCount in interface Messagepublic AffinityTopologyVersion retry()
public void retry(AffinityTopologyVersion retry)
retry - Retry topology version.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.7.0 Release Date : August 1 2016