public class GridQueryNextPageResponse extends Object implements Externalizable, Message
| Constructor and Description |
|---|
GridQueryNextPageResponse()
For
Externalizable. |
GridQueryNextPageResponse(long qryReqId,
int qry,
int page,
int allRows,
byte[] rows) |
| Modifier and Type | Method and Description |
|---|---|
int |
allRows() |
byte |
directType()
Gets message type.
|
byte |
fieldsCount()
Gets fields count.
|
int |
page() |
int |
query() |
long |
queryRequestId() |
void |
readExternal(ObjectInput in) |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
byte[] |
rows() |
String |
toString() |
void |
writeExternal(ObjectOutput out) |
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,
byte[] rows)
qryReqId - Query request ID.qry - Query.page - Page.allRows - All rows count.rows - Rows.public long queryRequestId()
public int query()
public int page()
public int allRows()
public byte[] rows()
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic 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 Message
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0 Release Date : March 31 2015