public class H2TableDescriptor extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
AFFINITY_KEY_IDX_NAME
Affinity key index name.
|
static String |
PK_HASH_IDX_NAME
PK hash index name.
|
static String |
PK_IDX_NAME
PK index name.
|
| Constructor and Description |
|---|
H2TableDescriptor(IgniteH2Indexing idx,
String schemaName,
GridQueryTypeDescriptor type,
GridCacheContextInfo cacheInfo,
boolean isSql)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
GridCacheContext |
cache() |
GridCacheContextInfo |
cacheInfo() |
String |
cacheName() |
ArrayList<org.gridgain.internal.h2.index.Index> |
createSystemIndexes(GridH2Table tbl,
IgniteLogger log)
Create list of indexes.
|
GridH2IndexBase |
createUserIndex(GridQueryIndexDescriptor idxDesc)
Create user index.
|
Collection<GridH2IndexBase> |
createUserIndexes()
Get collection of user indexes.
|
IgniteH2Indexing |
indexing() |
boolean |
isSystemAffinityIndexShadowed(GridH2Table tbl)
Checks if any user index shadows system affinity index,
|
String |
schemaName() |
boolean |
sql() |
GridH2Table |
table() |
void |
table(GridH2Table tbl) |
String |
toString() |
public static final String PK_IDX_NAME
public static final String PK_HASH_IDX_NAME
public static final String AFFINITY_KEY_IDX_NAME
public H2TableDescriptor(IgniteH2Indexing idx, String schemaName, GridQueryTypeDescriptor type, GridCacheContextInfo cacheInfo, boolean isSql)
idx - Indexing.schemaName - Schema name.type - Type descriptor.cacheInfo - Cache context info.isSql - true in case table has been created from SQL.public boolean sql()
true In case table was created from SQL.public IgniteH2Indexing indexing()
public GridH2Table table()
public void table(GridH2Table tbl)
tbl - Table.public String schemaName()
public String cacheName()
public GridCacheContextInfo cacheInfo()
public GridCacheContext cache()
public ArrayList<org.gridgain.internal.h2.index.Index> createSystemIndexes(GridH2Table tbl, IgniteLogger log)
H2TreeIndexBase.tbl - Table to create indexes for.log - Logger.public boolean isSystemAffinityIndexShadowed(GridH2Table tbl)
tbl - Table.true if system index is shadowed, false otherwise.public Collection<GridH2IndexBase> createUserIndexes()
public GridH2IndexBase createUserIndex(GridQueryIndexDescriptor idxDesc)
idxDesc - Index descriptor.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.17-p1 Release Date : November 27 2025