VMware GemFire Search Java API Reference
Class Index
java.lang.Object
org.apache.geode.cache.configuration.CacheElement
org.apache.geode.cache.lucene.management.configuration.Index
- All Implemented Interfaces:
Serializable,org.apache.geode.lang.Identifiable<String>
public class Index
extends org.apache.geode.cache.configuration.CacheElement
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">
<sequence>
<element name="field" maxOccurs="unbounded">
<complexType>
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
<attribute name="analyzer" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
</element>
<element name="serializer" type="{http://geode.apache.org/schema/cache}declarable-type" minOccurs="0"/>
</sequence>
<attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
</restriction>
</complexContent>
</complexType>
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<Index.Field>protected Stringprotected org.apache.geode.cache.configuration.DeclarableType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetField()Gets the value of the field property.getId()getName()Gets the value of the name property.org.apache.geode.cache.configuration.DeclarableTypeGets the value of the serializer property.voidSets the value of the name property.voidsetSerializer(org.apache.geode.cache.configuration.DeclarableType value) Sets the value of the serializer property.
-
Field Details
-
field
-
serializer
protected org.apache.geode.cache.configuration.DeclarableType serializer -
name
-
-
Constructor Details
-
Index
public Index()
-
-
Method Details
-
getField
Gets the value of the field property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the field property.For example, to add a new item, do as follows:
getField().add(newItem);
Objects of the following type(s) are allowed in the list
Index.Field- Returns:
- the value of the field property.
-
getSerializer
public org.apache.geode.cache.configuration.DeclarableType getSerializer()Gets the value of the serializer property. possible object isDeclarableType- Returns:
- the value of the serializer property
-
setSerializer
public void setSerializer(org.apache.geode.cache.configuration.DeclarableType value) Sets the value of the serializer property. allowed object isDeclarableType- Parameters:
value- the value of the serializer property to set
-
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 to set
-
getId
-