Interface GridQueryIndexDescriptor
-
- All Known Implementing Classes:
QueryEntityIndexDescriptor,QueryIndexDescriptorImpl,QuerySysIndexDescriptorImpl
public interface GridQueryIndexDescriptorDescribes an index to be created for a certain type. It contains all necessary information about fields, order, uniqueness, and specified whether this is SQL or Text index. See alsoGridQueryTypeDescriptor.indexes().
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleandescending(String field)Specifies order of the index for each indexed field.Collection<String>fields()Gets all fields to be indexed.intinlineSize()Gets inline size for SORTED index.Stringname()QueryIndexTypetype()Gets index type.
-
-
-
Method Detail
-
name
String name()
- Returns:
- Name.
-
fields
Collection<String> fields()
Gets all fields to be indexed.- Returns:
- Fields to be indexed.
-
descending
boolean descending(String field)
Specifies order of the index for each indexed field.- Parameters:
field- Field name.- Returns:
Trueif given field should be indexed in descending order.
-
type
QueryIndexType type()
Gets index type.- Returns:
- Type.
-
inlineSize
int inlineSize()
Gets inline size for SORTED index.- Returns:
- Inline size.
-
-