Class IndexInformation
- java.lang.Object
-
- org.apache.ignite.internal.processors.query.h2.database.IndexInformation
-
public class IndexInformation extends Object
Index information.
-
-
Constructor Summary
Constructors Constructor Description IndexInformation(boolean pk, boolean unique, String name, H2IndexType type, @Nullable String keySql, @Nullable Integer inlineSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable IntegerinlineSize()@Nullable StringkeySql()Get string representation of index key.Stringname()booleanpk()Stringtype()booleanunique()
-
-
-
Constructor Detail
-
IndexInformation
public IndexInformation(boolean pk, boolean unique, String name, H2IndexType type, @Nullable @Nullable String keySql, @Nullable @Nullable Integer inlineSize)- Parameters:
pk- PK.unique- Unique.name- Name.type- Type.keySql- Key sql. Can benullin case columns key is not applicable for the index.inlineSize- Inline size. Can benullin case inline size is not applicable for the index.
-
-
Method Detail
-
unique
public boolean unique()
- Returns:
trueFor unique index.
-
pk
public boolean pk()
- Returns:
trueFor PK index.
-
name
public String name()
- Returns:
- Name of index.
-
type
public String type()
- Returns:
- Type of index.
-
keySql
@Nullable public @Nullable String keySql()
Get string representation of index key.- Returns:
- String representation of index key. Can be
nullin case columns key is not applicable for the index.
-
inlineSize
@Nullable public @Nullable Integer inlineSize()
- Returns:
- Inline size for the index. Can be
nullin case inline size is not applicable for the index.
-
-