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 java.lang.String |
expression |
protected java.lang.String |
fromClause |
protected java.lang.String |
imports |
protected java.lang.Boolean |
keyIndex |
protected java.lang.String |
name |
protected java.lang.String |
regionName |
protected java.lang.String |
type |
CLUSTER, groupsURI_CONTEXT, URI_VERSION| Constructor and Description |
|---|
Index() |
Index(RegionConfig.Index index) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getEndpoint()
this returns the URI that display the list of entries.
|
java.lang.String |
getExpression()
Gets the value of the expression property.
|
java.lang.String |
getFromClause()
Gets the value of the fromClause property.
|
java.lang.String |
getId() |
java.lang.String |
getImports()
Gets the value of the imports property.
|
java.lang.String |
getName()
Gets the value of the name property.
|
java.lang.String |
getRegionName() |
java.lang.String |
getType()
Gets the value of the type property.
|
java.lang.Boolean |
isKeyIndex()
Gets the value of the keyIndex property.
|
void |
setExpression(java.lang.String value)
Sets the value of the expression property.
|
void |
setFromClause(java.lang.String value)
Sets the value of the fromClause property.
|
void |
setImports(java.lang.String value)
Sets the value of the imports property.
|
void |
setKeyIndex(java.lang.Boolean value)
Sets the value of the keyIndex property.
|
void |
setName(java.lang.String value)
Sets the value of the name property.
|
void |
setRegionName(java.lang.String regionName) |
void |
setType(java.lang.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 java.lang.String name
protected java.lang.String expression
protected java.lang.String fromClause
protected java.lang.String imports
protected java.lang.Boolean keyIndex
protected java.lang.String type
protected java.lang.String regionName
public Index()
public Index(RegionConfig.Index index)
public java.lang.String getName()
Stringpublic void setName(java.lang.String value)
Stringpublic java.lang.String getExpression()
Stringpublic void setExpression(java.lang.String value)
Stringpublic java.lang.String getFromClause()
Stringpublic void setFromClause(java.lang.String value)
Stringpublic java.lang.String getImports()
Stringpublic void setImports(java.lang.String value)
Stringpublic java.lang.Boolean isKeyIndex()
Booleanpublic void setKeyIndex(java.lang.Boolean value)
Booleanpublic java.lang.String getType()
Stringpublic void setType(java.lang.String value)
setKeyIndex(Boolean)Stringpublic java.lang.String getRegionName()
public void setRegionName(java.lang.String regionName)
public java.lang.String getId()
getId in interface org.apache.geode.lang.Identifiable<java.lang.String>public java.lang.String getEndpoint()
RestfulEndpointgetEndpoint in interface RestfulEndpoint