public class UnwrapDataEntry extends DataEntry implements UnwrappedDataEntry
cacheId, EMPTY_FLAGS, expireTime, flags, FROM_STORE_FLAG, key, nearXidVer, op, partCnt, partId, PRELOAD_FLAG, PRIMARY_FLAG, val, writeVer| Constructor and Description |
|---|
UnwrapDataEntry(int cacheId,
KeyCacheObject key,
CacheObject val,
GridCacheOperation op,
GridCacheVersion nearXidVer,
GridCacheVersion writeVer,
long expireTime,
int partId,
long partCnt,
CacheObjectValueContext cacheObjValCtx,
boolean keepBinary,
byte flags) |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static Object |
unwrapKey(KeyCacheObject key,
boolean keepBinary,
CacheObjectValueContext cacheObjValCtx) |
Object |
unwrappedKey()
Unwraps key value from cache key object into primitive boxed type or source class.
|
Object |
unwrappedValue()
Unwraps value value from cache value object into primitive boxed type or source class.
|
static Object |
unwrapValue(CacheObject val,
boolean keepBinary,
CacheObjectValueContext cacheObjValCtx) |
cacheId, expireTime, flags, flags, flags, key, nearXidVersion, op, partitionCounter, partitionCounter, partitionId, value, writeVersionpublic UnwrapDataEntry(int cacheId,
KeyCacheObject key,
CacheObject val,
GridCacheOperation op,
GridCacheVersion nearXidVer,
GridCacheVersion writeVer,
long expireTime,
int partId,
long partCnt,
CacheObjectValueContext cacheObjValCtx,
boolean keepBinary,
byte flags)
cacheId - Cache ID.key - Key.val - Value or null for delete operation.op - Operation.nearXidVer - Near transaction version.writeVer - Write version.expireTime - Expire time.partId - Partition ID.partCnt - Partition counter.cacheObjValCtx - cache object value context for unwrapping objects.keepBinary - disable unwrapping for non primitive objects, Binary Objects would be returned instead.flags - Flags.public Object unwrappedKey()
unwrappedKey in interface UnwrappedDataEntrypublic Object unwrappedValue()
unwrappedValue in interface UnwrappedDataEntrypublic static Object unwrapKey(KeyCacheObject key, boolean keepBinary, CacheObjectValueContext cacheObjValCtx)
public static Object unwrapValue(CacheObject val, boolean keepBinary, CacheObjectValueContext cacheObjValCtx)
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023