public static class RegionConfig.Index extends CacheElement implements RestfulEndpoint, CorrespondWith<RuntimeInfo>
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<choice minOccurs="0">
<element name="functional">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="expression" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="from-clause" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="imports" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="primary-key">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="field" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
</choice>
<attribute name="name" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="expression" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="from-clause" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="imports" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="key-index" type="{http://www.w3.org/2001/XMLSchema}boolean" />
<attribute name="type" default="range">
<simpleType>
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="range"/>
<enumeration value="hash"/>
</restriction>
</simpleType>
</attribute>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected String |
expression |
protected String |
fromClause |
protected String |
imports |
protected Boolean |
keyIndex |
protected String |
name |
protected String |
regionName |
protected String |
type |
CLUSTER, groupsURI_CONTEXT, URI_VERSION| Constructor and Description |
|---|
Index() |
Index(RegionConfig.Index index) |
| Modifier and Type | Method and Description |
|---|---|
String |
getEndpoint()
this returns the URI that display the list of entries.
|
String |
getExpression()
Gets the value of the expression property.
|
String |
getFromClause()
Gets the value of the fromClause property.
|
String |
getId()
Gets the identifier uniquely identifying this Object instance.
|
String |
getImports()
Gets the value of the imports property.
|
String |
getName()
Gets the value of the name property.
|
String |
getRegionName() |
String |
getType()
Gets the value of the type property.
|
Boolean |
isKeyIndex()
Gets the value of the keyIndex property.
|
void |
setExpression(String value)
Sets the value of the expression property.
|
void |
setFromClause(String value)
Sets the value of the fromClause property.
|
void |
setImports(String value)
Sets the value of the imports property.
|
void |
setKeyIndex(Boolean value)
Sets the value of the keyIndex property.
|
void |
setName(String value)
Sets the value of the name property.
|
void |
setRegionName(String regionName) |
void |
setType(String value)
Deprecated.
Index should only be a "key" or "range" type which is set using
setKeyIndex(Boolean) |
addGroup, exists, findElement, getConfigGroup, getGroup, getGroups, removeElement, setGroupclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIdentityEndPoint, getUrigetRuntimeClass, hasRuntimeInfo, isGlobalRuntimeprotected String name
protected String expression
protected String fromClause
protected String imports
protected Boolean keyIndex
protected String type
protected String regionName
public Index()
public Index(RegionConfig.Index index)
public void setName(String value)
Stringpublic String getExpression()
Stringpublic void setExpression(String value)
Stringpublic String getFromClause()
Stringpublic void setFromClause(String value)
Stringpublic String getImports()
Stringpublic void setImports(String value)
Stringpublic Boolean isKeyIndex()
Booleanpublic void setKeyIndex(Boolean value)
Booleanpublic void setType(String value)
setKeyIndex(Boolean)Stringpublic String getRegionName()
public void setRegionName(String regionName)
public String getId()
IdentifiablegetId in interface Identifiable<String>public String getEndpoint()
RestfulEndpointgetEndpoint in interface RestfulEndpoint