public class GridQueryFailResponse extends Object implements Message
| Modifier and Type | Field and Description |
|---|---|
static byte |
CANCELLED_BY_ORIGINATOR
Cancelled by originator failure type.
|
static byte |
GENERAL_ERROR
General error failure type.
|
| 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 |
failCode() |
byte |
fieldsCount()
Gets fields count.
|
void |
onAckReceived()
Method called when ack message received.
|
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 static final byte GENERAL_ERROR
public static final byte CANCELLED_BY_ORIGINATOR
public GridQueryFailResponse()
public GridQueryFailResponse(long qryReqId,
Throwable err)
qryReqId - Query request ID.err - Error.public long queryRequestId()
public String error()
public byte failCode()
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 Message
Follow @ApacheIgnite
Ignite Fabric : ver. 1.8.0 Release Date : December 5 2016