@Retention(value=SOURCE)
@Target(value=FIELD)
public @interface Index
Entity.indexes()
Entity.indexes()
Modifier and Type | Optional Element and Description |
---|---|
java.lang.String |
name
Optional name of the index.
|
boolean |
unique
Whether the unique constraint should be created with base on this index
|
java.lang.String |
value
Comma-separated list of properties that should be indexed, e.g.
|
public abstract java.lang.String value
Entity.indexes()
Available under the Apache License, Version 2.0 - Copyright © 2011-2016 greenrobot.org. All Rights Reserved.