@Documented @Retention(value=RUNTIME) @Target(value={METHOD,FIELD}) public @interface GridCacheQuerySqlField
GridCacheQuery documentation.GridCacheQuery| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
descending
Specifies whether index should be in descending order or not.
|
String[] |
groups
Array of index groups this field belongs to.
|
boolean |
index
Specifies whether cache should maintain an index for this field or not.
|
String |
name
Property name.
|
GridCacheQuerySqlField.Group[] |
orderedGroups
Array of ordered index groups this field belongs to.
|
boolean |
unique
Deprecated.
No longer supported, will be ignored.
|
public abstract boolean index
When GridH2IndexingSpi is set as indexing SPI and indexed field is
of type com.vividsolutions.jts.geom.Geometry (or any subclass of this class) then GridGain will
consider this index as spatial providing performance boost for spatial queries.
True if index must be created for this field in database.@Deprecated public abstract boolean unique
index() property is set to true.True if field index should be unique.public abstract boolean descending
index() property is set to true.True if field index should be in descending order.public abstract String[] groups
Most of the times user will not specify any group, which means that cache should simply create a single field index.
public abstract GridCacheQuerySqlField.Group[] orderedGroups
public abstract String name
Copyright © 2014. All rights reserved.