Class SearchRow
- java.lang.Object
-
- org.apache.ignite.internal.processors.cache.tree.SearchRow
-
- All Implemented Interfaces:
CacheSearchRow
public class SearchRow extends Object implements CacheSearchRow
-
-
Constructor Summary
Constructors Constructor Description SearchRow(int cacheId)Instantiates a new fake search row as a logic cache based bound.SearchRow(int cacheId, KeyCacheObject key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcacheId()inthash()KeyCacheObjectkey()longlink()StringtoString()
-
-
-
Constructor Detail
-
SearchRow
public SearchRow(int cacheId, KeyCacheObject key)- Parameters:
cacheId- Cache ID.key- Key.
-
SearchRow
public SearchRow(int cacheId)
Instantiates a new fake search row as a logic cache based bound.- Parameters:
cacheId- Cache ID.
-
-
Method Detail
-
key
public KeyCacheObject key()
- Specified by:
keyin interfaceCacheSearchRow- Returns:
- Cache key.
-
link
public long link()
- Specified by:
linkin interfaceCacheSearchRow- Returns:
- Link for this row.
-
hash
public int hash()
- Specified by:
hashin interfaceCacheSearchRow- Returns:
- Key hash code.
-
cacheId
public int cacheId()
- Specified by:
cacheIdin interfaceCacheSearchRow- Returns:
- Cache ID or
0if cache ID is not defined.
-
-