public class GridQueryFailResponse extends Object implements Message
| Constructor and Description |
|---|
GridQueryFailResponse()
Default constructor.
|
GridQueryFailResponse(long qryReqId,
Throwable err) |
| Modifier and Type | Method and Description |
|---|---|
byte |
directType()
Gets message type.
|
String |
error() |
byte |
fieldsCount()
Gets fields count.
|
long |
queryRequestId() |
boolean |
readFrom(ByteBuffer buf,
MessageReader reader)
Reads this message from provided byte buffer.
|
String |
toString() |
boolean |
writeTo(ByteBuffer buf,
MessageWriter writer)
Writes this message to provided byte buffer.
|
public GridQueryFailResponse()
public GridQueryFailResponse(long qryReqId,
Throwable err)
qryReqId - Query request ID.err - Error.public long queryRequestId()
public String error()
public 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.1.0-incubating Release Date : May 20 2015