Class LazyDataEntry
- java.lang.Object
-
- org.apache.ignite.internal.pagemem.wal.record.DataEntry
-
- org.apache.ignite.internal.pagemem.wal.record.LazyDataEntry
-
public class LazyDataEntry extends DataEntry
-
-
Field Summary
-
Fields inherited from class org.apache.ignite.internal.pagemem.wal.record.DataEntry
cacheId, EMPTY_FLAGS, expireTime, flags, FROM_STORE_FLAG, key, nearXidVer, op, partCnt, partId, PRELOAD_FLAG, PRIMARY_FLAG, val, writeVer
-
-
Constructor Summary
Constructors Constructor Description LazyDataEntry(GridCacheSharedContext cctx, int cacheId, byte keyType, byte[] keyBytes, byte valType, byte[] valBytes, GridCacheOperation op, GridCacheVersion nearXidVer, GridCacheVersion writeVer, long expireTime, int partId, long partCnt, byte flags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getKeyBytes()bytegetKeyType()byte[]getValBytes()bytegetValType()KeyCacheObjectkey()CacheObjectvalue()-
Methods inherited from class org.apache.ignite.internal.pagemem.wal.record.DataEntry
cacheId, expireTime, flags, flags, flags, nearXidVersion, op, partitionCounter, partitionCounter, partitionId, toString, writeVersion
-
-
-
-
Constructor Detail
-
LazyDataEntry
public LazyDataEntry(GridCacheSharedContext cctx, int cacheId, byte keyType, byte[] keyBytes, byte valType, byte[] valBytes, GridCacheOperation op, GridCacheVersion nearXidVer, GridCacheVersion writeVer, long expireTime, int partId, long partCnt, byte flags)
- Parameters:
cctx- Shared context.cacheId- Cache ID.keyType- Object type code for Key.keyBytes- Data Entry Key value bytes.valType- Object type code for Value.valBytes- Data Entry Value value bytes.op- Operation.nearXidVer- Near transaction version.writeVer- Write version.expireTime- Expire time.partId- Partition ID.partCnt- Partition counter.flags- Flags.
-
-
Method Detail
-
key
public KeyCacheObject key()
-
value
public CacheObject value()
-
getKeyType
public byte getKeyType()
- Returns:
- Data Entry Key type code. See
CacheObjectfor built-in value type codes
-
getKeyBytes
public byte[] getKeyBytes()
- Returns:
- Key value bytes.
-
getValType
public byte getValType()
- Returns:
- Data Entry Value type code. See
CacheObjectfor built-in value type codes
-
getValBytes
public byte[] getValBytes()
- Returns:
- Value value bytes.
-
-