Class GridH2DmlResponse
- java.lang.Object
-
- org.apache.ignite.internal.processors.query.h2.twostep.msg.GridH2DmlResponse
-
- All Implemented Interfaces:
Serializable,GridCacheQueryMarshallable,Message
public class GridH2DmlResponse extends Object implements Message, GridCacheQueryMarshallable
Response to remote DML request.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.apache.ignite.plugin.extensions.communication.Message
DIRECT_TYPE_SIZE
-
-
Constructor Summary
Constructors Constructor Description GridH2DmlResponse()Default constructor.GridH2DmlResponse(long reqId, long updCnt, Object[] errKeys, String error)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description shortdirectType()Stringerror()Object[]errorKeys()bytefieldsCount()voidmarshall(Marshaller m)voidonAckReceived()booleanreadFrom(ByteBuffer buf, MessageReader reader)longrequestId()StringtoString()voidunmarshall(Marshaller m, GridKernalContext ctx)longupdateCounter()booleanwriteTo(ByteBuffer buf, MessageWriter writer)
-
-
-
Method Detail
-
requestId
public long requestId()
- Returns:
- Request id.
-
updateCounter
public long updateCounter()
- Returns:
- Update counter.
-
errorKeys
public Object[] errorKeys()
- Returns:
- Error keys.
-
error
public String error()
- Returns:
- Error message.
-
marshall
public void marshall(Marshaller m)
- Specified by:
marshallin interfaceGridCacheQueryMarshallable
-
unmarshall
public void unmarshall(Marshaller m, GridKernalContext ctx)
- Specified by:
unmarshallin interfaceGridCacheQueryMarshallable
-
writeTo
public boolean writeTo(ByteBuffer buf, MessageWriter writer)
-
readFrom
public boolean readFrom(ByteBuffer buf, MessageReader reader)
-
directType
public short directType()
- Specified by:
directTypein interfaceMessage
-
fieldsCount
public byte fieldsCount()
- Specified by:
fieldsCountin interfaceMessage
-
onAckReceived
public void onAckReceived()
- Specified by:
onAckReceivedin interfaceMessage
-
-