Interface GridCacheSqlIndexMetadata
-
- All Superinterfaces:
Externalizable,Serializable
- All Known Implementing Classes:
GridCacheQueryManager.CacheSqlIndexMetadata
public interface GridCacheSqlIndexMetadata extends Externalizable
Ignite index descriptor.All index descriptors can be obtained from
GridCacheSqlMetadata.indexes(String)method.- See Also:
GridCacheSqlMetadata
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleandescending(String field)Gets order of the index for each indexed field.Collection<String>descendings()Collection<String>fields()Gets names of fields indexed by this index.Stringname()Gets name of the index.booleanunique()Gets whether this is a unique index.-
Methods inherited from interface java.io.Externalizable
readExternal, writeExternal
-
-
-
-
Method Detail
-
name
String name()
Gets name of the index.- Returns:
- Index name.
-
fields
Collection<String> fields()
Gets names of fields indexed by this index.- Returns:
- Indexed fields names.
-
descending
boolean descending(String field)
Gets order of the index for each indexed field.- Parameters:
field- Field name.- Returns:
Trueif given field is indexed in descending order.
-
descendings
Collection<String> descendings()
- Returns:
- Descendings.
-
unique
boolean unique()
Gets whether this is a unique index.- Returns:
Trueif index is unique,falseotherwise.
-
-