VMware GemFire Java API Reference
Class RegionConfig.Index
- java.lang.Object
-
- org.apache.geode.cache.configuration.RegionConfig.Index
-
- All Implemented Interfaces:
java.io.Serializable,Identifiable<java.lang.String>
- Enclosing class:
- RegionConfig
public static class RegionConfig.Index extends java.lang.Object implements Identifiable<java.lang.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:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.Stringexpressionprotected java.lang.StringfromClauseprotected java.lang.Stringimportsprotected java.lang.BooleankeyIndexprotected java.lang.Stringnameprotected java.lang.Stringtype
-
Constructor Summary
Constructors Constructor Description Index()Index(RegionConfig.Index index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetExpression()Gets the value of the expression property.java.lang.StringgetFromClause()Gets the value of the fromClause property.java.lang.StringgetId()Gets the identifier uniquely identifying this Object instance.java.lang.StringgetImports()Gets the value of the imports property.java.lang.StringgetName()Gets the value of the name property.java.lang.StringgetType()Gets the value of the type property.java.lang.BooleanisKeyIndex()Gets the value of the keyIndex property.voidsetExpression(java.lang.String value)Sets the value of the expression property.voidsetFromClause(java.lang.String value)Sets the value of the fromClause property.voidsetImports(java.lang.String value)Sets the value of the imports property.voidsetKeyIndex(java.lang.Boolean value)Sets the value of the keyIndex property.voidsetName(java.lang.String value)Sets the value of the name property.voidsetType(java.lang.String type)Sets the value of the type property.
-
-
-
Constructor Detail
-
Index
public Index()
-
Index
public Index(RegionConfig.Index index)
-
-
Method Detail
-
getName
public java.lang.String getName()
Gets the value of the name property. possible object isString- Returns:
- the value of the name property
-
setName
public void setName(java.lang.String value)
Sets the value of the name property. allowed object isString- Parameters:
value- the value of the name property
-
getExpression
public java.lang.String getExpression()
Gets the value of the expression property. possible object isString- Returns:
- the value of the expression property
-
setExpression
public void setExpression(java.lang.String value)
Sets the value of the expression property. allowed object isString- Parameters:
value- the value of the expression property
-
getFromClause
public java.lang.String getFromClause()
Gets the value of the fromClause property. possible object isString- Returns:
- the value of the fromClause property
-
setFromClause
public void setFromClause(java.lang.String value)
Sets the value of the fromClause property. allowed object isString- Parameters:
value- the value of the fromClause property
-
getImports
public java.lang.String getImports()
Gets the value of the imports property. possible object isString- Returns:
- the value of the imports property
-
setImports
public void setImports(java.lang.String value)
Sets the value of the imports property. allowed object isString- Parameters:
value- the value of the imports property
-
isKeyIndex
public java.lang.Boolean isKeyIndex()
Gets the value of the keyIndex property. possible object isBoolean- Returns:
- the value of the keyIndex property
-
setKeyIndex
public void setKeyIndex(java.lang.Boolean value)
Sets the value of the keyIndex property. allowed object isBoolean- Parameters:
value- the value of the keyIndex property
-
getType
public java.lang.String getType()
Gets the value of the type property. possible object isString- Returns:
- the value of the type property
-
setType
public void setType(java.lang.String type)
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:
java.lang.IllegalArgumentException- if type is unknown
-
getId
public java.lang.String getId()
Description copied from interface:IdentifiableGets the identifier uniquely identifying this Object instance.- Specified by:
getIdin interfaceIdentifiable<java.lang.String>- Returns:
- an identifier uniquely identifying this Object.
-
-