Class DefaultCacheScanTaskFormat
- java.lang.Object
-
- org.apache.ignite.internal.management.cache.scan.DefaultCacheScanTaskFormat
-
- All Implemented Interfaces:
CacheScanTaskFormat
public class DefaultCacheScanTaskFormat extends Object implements CacheScanTaskFormat
Default cache scan task format.
-
-
Constructor Summary
Constructors Constructor Description DefaultCacheScanTaskFormat()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StringbinaryToString(BinaryObject obj)Convert Binary object to string.Stringname()List<?>row(javax.cache.Cache.Entry<Object,Object> e)Row for single cache entry.List<String>titles(javax.cache.Cache.Entry<Object,Object> first)Calculates and returns titles based on first cache entry.
-
-
-
Field Detail
-
KEY
public static final String KEY
Key title.- See Also:
- Constant Field Values
-
VALUE
public static final String VALUE
Value title.- See Also:
- Constant Field Values
-
-
Method Detail
-
name
public String name()
- Specified by:
namein interfaceCacheScanTaskFormat- Returns:
- name of the format.
- See Also:
CacheScanCommandArg
-
titles
public List<String> titles(javax.cache.Cache.Entry<Object,Object> first)
Calculates and returns titles based on first cache entry.- Specified by:
titlesin interfaceCacheScanTaskFormat- Returns:
- Column titles.
-
row
public List<?> row(javax.cache.Cache.Entry<Object,Object> e)
Row for single cache entry.- Specified by:
rowin interfaceCacheScanTaskFormat
-
binaryToString
public static String binaryToString(BinaryObject obj)
Convert Binary object to string.- Parameters:
obj- Binary object.- Returns:
- String representation of Binary object.
-
-