Class SimpleDataRow
- java.lang.Object
-
- org.apache.ignite.internal.processors.cache.persistence.freelist.SimpleDataRow
-
- All Implemented Interfaces:
Storable
- Direct Known Subclasses:
MetastorageRowStoreEntry
public class SimpleDataRow extends Object implements Storable
Implementation ofStorablewhich holds byte array of variable length.
-
-
Constructor Summary
Constructors Constructor Description SimpleDataRow(int part, byte[] val)SimpleDataRow(long link, int part, byte[] val)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IOVersions<? extends AbstractDataPageIO>ioVersions()longlink()voidlink(long link)intpartition()intsize()StringtoString()byte[]value()
-
-
-
Method Detail
-
link
public void link(long link)
-
size
public int size() throws IgniteCheckedException- Specified by:
sizein interfaceStorable- Returns:
- Row size in page.
- Throws:
IgniteCheckedException- If failed.
-
value
public byte[] value()
- Returns:
- Value.
-
ioVersions
public IOVersions<? extends AbstractDataPageIO> ioVersions()
- Specified by:
ioVersionsin interfaceStorable- Returns:
- I/O for handling this storable.
-
-