Class GridH2RowRange
- java.lang.Object
-
- org.apache.ignite.internal.processors.query.h2.twostep.msg.GridH2RowRange
-
- All Implemented Interfaces:
Serializable,Message
public class GridH2RowRange extends Object implements Message
Range of rows.- 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 GridH2RowRange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description shortdirectType()bytefieldsCount()booleanisPartial()voidonAckReceived()intrangeId()voidrangeId(int rangeId)booleanreadFrom(ByteBuffer buf, MessageReader reader)List<GridH2RowMessage>rows()voidrows(List<GridH2RowMessage> rows)introwsSize()voidsetPartial()Sets that this is a partial range.StringtoString()booleanwriteTo(ByteBuffer buf, MessageWriter writer)
-
-
-
Method Detail
-
rangeId
public void rangeId(int rangeId)
- Parameters:
rangeId- Range ID.
-
rangeId
public int rangeId()
- Returns:
- Range ID.
-
rows
public void rows(List<GridH2RowMessage> rows)
- Parameters:
rows- Rows.
-
rows
public List<GridH2RowMessage> rows()
- Returns:
- Rows.
-
setPartial
public void setPartial()
Sets that this is a partial range.
-
isPartial
public boolean isPartial()
- Returns:
trueIf this is a partial range.
-
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
-
rowsSize
public int rowsSize()
- Returns:
- Number of rows.
-
-