@Target(value={FIELD,METHOD}) @Retention(value=RUNTIME) @Inherited @Documented public @interface Indexed
Indexed
annotation is used to index a GemfirePersistentEntity
GemfirePersistentProperty
,
which creates a GemFire/Geode Index
on a GemFire/Geode Region
.Modifier and Type | Optional Element and Description |
---|---|
String |
expression
Expression to index.
|
String |
from
The GemFire/Geode
Region on which the Index is created. |
String |
name
Name of the Index.
|
boolean |
override
Determines whether this given
Index definition should override any existing Index definition. |
IndexType |
type
Type of Index to create.
|
String |
value
Name of the Index.
|
public abstract String expression
public abstract String from
Region
on which the Index is created.public abstract boolean override
Index
definition should override any existing Index
definition.
Defaults to false.public abstract IndexType type
IndexType.HASH
.Copyright © 2011-2016–2017 Pivotal Software, Inc.. All rights reserved.