VMware GemFire Java API Reference
Class Index
- java.lang.Object
-
- org.apache.geode.management.configuration.AbstractConfiguration<IndexInfo>
-
- org.apache.geode.management.configuration.Index
-
- All Implemented Interfaces:
java.io.Serializable,Identifiable<java.lang.String>,JsonSerializable,RegionScoped
public class Index extends AbstractConfiguration<IndexInfo> implements RegionScoped
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringINDEXES-
Fields inherited from class org.apache.geode.management.configuration.AbstractConfiguration
CLUSTER
-
-
Constructor Summary
Constructors Constructor Description Index()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)java.lang.StringgetExpression()java.lang.StringgetId()ReturnsgetName().IndexTypegetIndexType()LinksgetLinks()java.lang.StringgetName()java.lang.StringgetRegionName()java.lang.StringgetRegionPath()inthashCode()voidsetExpression(java.lang.String expression)voidsetIndexType(IndexType indexType)voidsetName(java.lang.String name)voidsetRegionPath(java.lang.String regionPath)the regionPath can be in any of these forms, e.g.: 1.-
Methods inherited from class org.apache.geode.management.configuration.AbstractConfiguration
getCreationCommandType, getGroup, getGroupName, isCluster, isGlobalRuntime
-
-
-
-
Field Detail
-
INDEXES
public static final java.lang.String INDEXES
- See Also:
- Constant Field Values
-
-
Method Detail
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getExpression
public java.lang.String getExpression()
-
setExpression
public void setExpression(java.lang.String expression)
-
getRegionPath
public java.lang.String getRegionPath()
-
setRegionPath
public void setRegionPath(java.lang.String regionPath)
the regionPath can be in any of these forms, e.g.: 1. regionName 2. /regionName 3. /regionName alias 4. /regionName.entrySet() 5. /regionName.fieldName.entrySet() aliasNote: only the regionName portion of the path is used when filtering.
- Parameters:
regionPath- the region path to set
-
getIndexType
public IndexType getIndexType()
-
setIndexType
public void setIndexType(IndexType indexType)
-
getRegionName
public java.lang.String getRegionName()
- Specified by:
getRegionNamein interfaceRegionScoped- Returns:
- the regionName specified in the regionPath. Note this method assumes the regionName should not contain "."
-
getId
public java.lang.String getId()
ReturnsgetName().- Specified by:
getIdin interfaceIdentifiable<java.lang.String>- Specified by:
getIdin classAbstractConfiguration<IndexInfo>- Returns:
- an identifier uniquely identifying this Object.
-
getLinks
public Links getLinks()
- Specified by:
getLinksin classAbstractConfiguration<IndexInfo>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-