Class RegionConfig.Index
java.lang.Object
org.apache.geode.cache.configuration.RegionConfig.Index
- All Implemented Interfaces:
Serializable,org.apache.geode.lang.Identifiable<String>
- Enclosing class:
- RegionConfig
public static class RegionConfig.Index
extends Object
implements org.apache.geode.lang.Identifiable<String>
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>
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the expression property.Gets the value of the fromClause property.getId()Gets the value of the imports property.getName()Gets the value of the name property.getType()Gets the value of the type property.Gets the value of the keyIndex property.voidsetExpression(String value) Sets the value of the expression property.voidsetFromClause(String value) Sets the value of the fromClause property.voidsetImports(String value) Sets the value of the imports property.voidsetKeyIndex(Boolean value) Sets the value of the keyIndex property.voidSets the value of the name property.voidSets the value of the type property.
-
Field Details
-
name
-
expression
-
fromClause
-
imports
-
keyIndex
-
type
-
-
Constructor Details
-
Index
public Index() -
Index
-
-
Method Details
-
getName
Gets the value of the name property. possible object isString- Returns:
- the value of the name property
-
setName
Sets the value of the name property. allowed object isString- Parameters:
value- the value of the name property
-
getExpression
Gets the value of the expression property. possible object isString- Returns:
- the value of the expression property
-
setExpression
Sets the value of the expression property. allowed object isString- Parameters:
value- the value of the expression property
-
getFromClause
Gets the value of the fromClause property. possible object isString- Returns:
- the value of the fromClause property
-
setFromClause
Sets the value of the fromClause property. allowed object isString- Parameters:
value- the value of the fromClause property
-
getImports
Gets the value of the imports property. possible object isString- Returns:
- the value of the imports property
-
setImports
Sets the value of the imports property. allowed object isString- Parameters:
value- the value of the imports property
-
isKeyIndex
Gets the value of the keyIndex property. possible object isBoolean- Returns:
- the value of the keyIndex property
-
setKeyIndex
Sets the value of the keyIndex property. allowed object isBoolean- Parameters:
value- the value of the keyIndex property
-
getType
Gets the value of the type property. possible object isString- Returns:
- the value of the type property
-
setType
Sets the value of the type property. Also sets the keyIndex property to true if the type being set is"key".- Parameters:
type- the value of the type property- Throws:
IllegalArgumentException- if type is unknown
-
getId
- Specified by:
getIdin interfaceorg.apache.geode.lang.Identifiable<String>
-