org.springframework.data.document.mongodb.index
Annotation Type CompoundIndex
@Target(value=TYPE)
@Retention(value=RUNTIME)
public @interface CompoundIndex
Mark a class to use compound indexes.
- Author:
- Jon Brisbin
Required Element Summary |
java.lang.String |
def
|
def
public abstract java.lang.String def
direction
public abstract IndexDirection direction
- Default:
- org.springframework.data.document.mongodb.index.IndexDirection.ASCENDING
unique
public abstract boolean unique
- Default:
- false
sparse
public abstract boolean sparse
- Default:
- false
dropDups
public abstract boolean dropDups
- Default:
- false
name
public abstract java.lang.String name
- Default:
- ""
collection
public abstract java.lang.String collection
- Default:
- ""