public static class GridCacheQueryManager.CacheSqlIndexMetadata extends Object implements GridCacheSqlIndexMetadata
| Constructor and Description |
|---|
CacheSqlIndexMetadata()
Required by
Externalizable. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
descending(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.
|
String |
name()
Gets name of the index.
|
void |
readExternal(ObjectInput in) |
String |
toString() |
boolean |
unique()
Gets whether this is a unique index.
|
void |
writeExternal(ObjectOutput out) |
public CacheSqlIndexMetadata()
Externalizable.public String name()
name in interface GridCacheSqlIndexMetadatapublic Collection<String> fields()
fields in interface GridCacheSqlIndexMetadatapublic boolean descending(String field)
descending in interface GridCacheSqlIndexMetadatafield - Field name.True if given field is indexed in descending order.public Collection<String> descendings()
descendings in interface GridCacheSqlIndexMetadatapublic boolean unique()
unique in interface GridCacheSqlIndexMetadataTrue if index is unique, false otherwise.public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.1 Release Date : May 21 2020