JavaScript is disabled on your browser.
Skip navigation links
Overview
Package
Class
Use
Tree
Index
Help
Summary:
Field |
Optional
|
Required
Detail:
Field |
Element
SEARCH:
Package
org.dizitart.no2.repository.annotations
Annotation Type Index
@Retention
(
RUNTIME
)
@Target
(
TYPE
)
@Repeatable
(
Indices.class
)
public @interface
Index
Annotation to mark a field as indexed.
Since:
1.0
Author:
Anindya Chatterjee.
Required Element Summary
Required Elements
Modifier and Type
Required Element
Description
String
[]
fields
The field name to be indexed.
Optional Element Summary
Optional Elements
Modifier and Type
Optional Element
Description
String
type
Type of the index.
Element Details
fields
String
[]
fields
The field name to be indexed.
Returns:
the field name
type
String
type
Type of the index.
Returns:
the index type
Default:
"Unique"