public class QueryIndexDefinition extends Object implements SortedIndexDefinition
| Constructor and Description |
|---|
QueryIndexDefinition(GridQueryTypeDescriptor typeDesc,
GridCacheContextInfo<?,?> cacheInfo,
IndexName idxName,
String treeName,
IndexRowCache idxRowCache,
boolean isPrimary,
boolean isAffinity,
LinkedHashMap<String,IndexKeyDefinition> keyDefs,
int cfgInlineSize,
IndexKeyTypeSettings keyTypeSettings) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
affinity()
Whether this index is affinity key index or not.
|
GridCacheContextInfo<?,?> |
cacheInfo()
Cache info.
|
IndexName |
idxName() |
IndexRowCache |
idxRowCache()
Cache of index rows.
|
LinkedHashMap<String,IndexKeyDefinition> |
indexKeyDefinitions() |
int |
inlineSize()
Inline size.
|
IndexKeyTypeSettings |
keyTypeSettings()
Index key type settings.
|
boolean |
primary()
Whether this index is primary key (unique) or not.
|
IndexRowComparator |
rowComparator()
Comparator for comparing index rows.
|
InlineIndexRowHandlerFactory |
rowHandlerFactory()
Index row handler.
|
int |
segments()
Amount of index tree segments.
|
String |
toString() |
String |
treeName()
Represents an index tree name.
|
GridQueryTypeDescriptor |
typeDescriptor()
Type descriptor.
|
public QueryIndexDefinition(GridQueryTypeDescriptor typeDesc, GridCacheContextInfo<?,?> cacheInfo, IndexName idxName, String treeName, IndexRowCache idxRowCache, boolean isPrimary, boolean isAffinity, LinkedHashMap<String,IndexKeyDefinition> keyDefs, int cfgInlineSize, IndexKeyTypeSettings keyTypeSettings)
public String treeName()
treeName in interface SortedIndexDefinitionpublic LinkedHashMap<String,IndexKeyDefinition> indexKeyDefinitions()
indexKeyDefinitions in interface IndexDefinitionpublic IndexRowComparator rowComparator()
rowComparator in interface SortedIndexDefinitionpublic int segments()
segments in interface SortedIndexDefinitionpublic int inlineSize()
inlineSize in interface SortedIndexDefinitionpublic boolean primary()
primary in interface SortedIndexDefinitionpublic boolean affinity()
affinity in interface SortedIndexDefinitionpublic InlineIndexRowHandlerFactory rowHandlerFactory()
rowHandlerFactory in interface SortedIndexDefinitionpublic IndexKeyTypeSettings keyTypeSettings()
keyTypeSettings in interface SortedIndexDefinitionpublic IndexRowCache idxRowCache()
idxRowCache in interface SortedIndexDefinitionpublic IndexName idxName()
idxName in interface IndexDefinitionpublic GridQueryTypeDescriptor typeDescriptor()
typeDescriptor in interface SortedIndexDefinitionpublic GridCacheContextInfo<?,?> cacheInfo()
cacheInfo in interface SortedIndexDefinition
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023