Class SqlIndexView
- java.lang.Object
-
- org.apache.ignite.spi.systemview.view.sql.SqlIndexView
-
public class SqlIndexView extends Object
Sql index representation for aSystemView.
-
-
Constructor Summary
Constructors Constructor Description SqlIndexView(org.apache.ignite.internal.processors.query.schema.management.TableDescriptor tbl, org.apache.ignite.internal.processors.query.schema.management.IndexDescriptor idx)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcacheGroupId()Returns cache group ID.StringcacheGroupName()Returns Cache group name.intcacheId()Returns cache ID.StringcacheName()Returns cache name.Stringcolumns()Returns all columns on which index is built.StringindexName()Returns index name.StringindexType()Returns index type.IntegerinlineSize()Returns inline size in bytes.booleanisPk()Returns boolean value which indicates whether this index is for primary key or not.booleanisUnique()Returns boolean value which indicates whether this index is unique or not.StringschemaName()Returns schema name.StringtableName()Returns table name.
-
-
-
Method Detail
-
cacheGroupId
public int cacheGroupId()
Returns cache group ID.- Returns:
- Cache group ID.
-
cacheGroupName
public String cacheGroupName()
Returns Cache group name.- Returns:
- Cache group name.
-
cacheId
public int cacheId()
Returns cache ID.- Returns:
- Cache ID.
-
cacheName
public String cacheName()
Returns cache name.- Returns:
- Cache name.
-
schemaName
public String schemaName()
Returns schema name.- Returns:
- Schema name.
-
tableName
public String tableName()
Returns table name.- Returns:
- Table name.
-
indexName
public String indexName()
Returns index name.- Returns:
- Index name.
-
indexType
public String indexType()
Returns index type.- Returns:
- Index type.
-
columns
public String columns()
Returns all columns on which index is built.- Returns:
- Coma separated indexed columns.
-
isPk
public boolean isPk()
Returns boolean value which indicates whether this index is for primary key or not.- Returns:
Trueif primary key index,falseotherwise.
-
isUnique
public boolean isUnique()
Returns boolean value which indicates whether this index is unique or not.- Returns:
Trueif unique index,falseotherwise.
-
inlineSize
public Integer inlineSize()
Returns inline size in bytes.- Returns:
- Inline size.
-
-