Class GridH2ValueMessage
- java.lang.Object
-
- org.apache.ignite.internal.processors.query.h2.twostep.msg.GridH2ValueMessage
-
- All Implemented Interfaces:
Serializable,Message
- Direct Known Subclasses:
GridH2Array,GridH2Boolean,GridH2Byte,GridH2Bytes,GridH2CacheObject,GridH2Date,GridH2Decimal,GridH2Double,GridH2Float,GridH2Geometry,GridH2Integer,GridH2JavaObject,GridH2Long,GridH2Null,GridH2Short,GridH2String,GridH2Time,GridH2Timestamp,GridH2Uuid
public abstract class GridH2ValueMessage extends Object implements Message
Abstract message wrapper for H2 values.- 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 GridH2ValueMessage()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidonAckReceived()booleanreadFrom(ByteBuffer buf, MessageReader reader)abstract org.h2.value.Valuevalue(GridKernalContext ctx)Gets H2 value.booleanwriteTo(ByteBuffer buf, MessageWriter writer)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.ignite.plugin.extensions.communication.Message
directType, fieldsCount
-
-
-
-
Method Detail
-
value
public abstract org.h2.value.Value value(GridKernalContext ctx) throws IgniteCheckedException
Gets H2 value.- Parameters:
ctx- Kernal context.- Returns:
- Value.
- Throws:
IgniteCheckedException- If failed.
-
onAckReceived
public void onAckReceived()
- Specified by:
onAckReceivedin interfaceMessage
-
writeTo
public boolean writeTo(ByteBuffer buf, MessageWriter writer)
-
readFrom
public boolean readFrom(ByteBuffer buf, MessageReader reader)
-
-