public class IgniteIndexReader extends Object implements AutoCloseable
| Modifier and Type | Class and Description |
|---|---|
static class |
IgniteIndexReader.Args
Enum of possible utility arguments.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
ERROR_PREFIX |
static String |
HORIZONTAL_SCAN_NAME |
static String |
RECURSIVE_TRAVERSE_NAME |
| Constructor and Description |
|---|
IgniteIndexReader(@Nullable Predicate<String> idxFilter,
boolean checkParts,
@Nullable PrintStream outStream,
IgniteIndexReaderFilePageStoreFactory filePageStoreFactory)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
static IgnitePair<Integer> |
getCacheAndTypeId(String name)
Tries to get cache id and type id from index tree name.
|
static int |
getCacheId(String name)
Tries to get cache id from index tree name.
|
static void |
main(String[] args)
Entry point.
|
static long |
partMetaPageId(int partId,
byte flag) |
void |
readIdx()
Read index file.
|
public static final String RECURSIVE_TRAVERSE_NAME
public static final String HORIZONTAL_SCAN_NAME
public static final String ERROR_PREFIX
public IgniteIndexReader(@Nullable
@Nullable Predicate<String> idxFilter,
boolean checkParts,
@Nullable
@Nullable PrintStream outStream,
IgniteIndexReaderFilePageStoreFactory filePageStoreFactory)
throws IgniteCheckedException
idxFilter - Index name filter, if null then is not used.checkParts - Check cache data tree in partition files and it's consistency with indexes.outStream - PrintStream for print report, if null then will be used System.out.IgniteCheckedException - If failed.public void readIdx()
public static long partMetaPageId(int partId,
byte flag)
partId - Partition id.flag - Flag.public static int getCacheId(String name)
name - Index name.public static IgnitePair<Integer> getCacheAndTypeId(String name)
name - Index name.public void close()
throws StorageException
close in interface AutoCloseableStorageException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.13.0 Release Date : April 20 2022