Class GridH2RowRangeBounds
- java.lang.Object
-
- org.apache.ignite.internal.processors.query.h2.twostep.msg.GridH2RowRangeBounds
-
- All Implemented Interfaces:
Serializable,Message
public class GridH2RowRangeBounds extends Object implements Message
Bounds of row range.- 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 GridH2RowRangeBounds()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description shortdirectType()bytefieldsCount()GridH2RowMessagefirst()voidfirst(GridH2RowMessage first)GridH2RowMessagelast()voidlast(GridH2RowMessage last)voidonAckReceived()static GridH2RowRangeBoundsrangeBounds(int rangeId, GridH2RowMessage first, GridH2RowMessage last)intrangeId()voidrangeId(int rangeId)booleanreadFrom(ByteBuffer buf, MessageReader reader)StringtoString()booleanwriteTo(ByteBuffer buf, MessageWriter writer)
-
-
-
Method Detail
-
rangeBounds
public static GridH2RowRangeBounds rangeBounds(int rangeId, GridH2RowMessage first, GridH2RowMessage last)
- Parameters:
rangeId- Range ID.first- First.last- Last.- Returns:
- Range bounds.
-
rangeId
public void rangeId(int rangeId)
- Parameters:
rangeId- Range ID.
-
rangeId
public int rangeId()
- Returns:
- Range ID.
-
first
public void first(GridH2RowMessage first)
- Parameters:
first- First.
-
first
public GridH2RowMessage first()
- Returns:
- First.
-
last
public void last(GridH2RowMessage last)
- Parameters:
last- Last.
-
last
public GridH2RowMessage last()
- Returns:
- Last.
-
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
-
-