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, groups
URI_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, setGroup
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIdentityEndPoint, getUri
getRuntimeClass, hasRuntimeInfo, isGlobalRuntime
protected 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)
String
public String getExpression()
String
public void setExpression(String value)
String
public String getFromClause()
String
public void setFromClause(String value)
String
public String getImports()
String
public void setImports(String value)
String
public Boolean isKeyIndex()
Boolean
public void setKeyIndex(Boolean value)
Boolean
public void setType(String value)
setKeyIndex(Boolean)
String
public String getRegionName()
public void setRegionName(String regionName)
public String getId()
Identifiable
getId
in interface Identifiable<String>
public String getEndpoint()
RestfulEndpoint
getEndpoint
in interface RestfulEndpoint