Class TextFieldDescriptor
- java.lang.Object
-
- com.atlassian.confluence.plugins.index.api.FieldDescriptor
-
- com.atlassian.confluence.plugins.index.api.TextFieldDescriptor
-
public final class TextFieldDescriptor extends FieldDescriptor
Used for analyzed text.- Since:
- 7.17
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.atlassian.confluence.plugins.index.api.FieldDescriptor
FieldDescriptor.Index, FieldDescriptor.Store
-
-
Field Summary
Fields Modifier and Type Field Description protected FieldDescriptor.Indexindexprotected Stringnameprotected FieldDescriptor.Storestoreprotected Stringvalue
-
Constructor Summary
Constructors Constructor Description TextFieldDescriptor(String name, String value, FieldDescriptor.Store store)TextFieldDescriptor(String name, String value, FieldDescriptor.Store store, AnalyzerDescriptorProvider analyzerProvider)Create a text field with a custom analyzer.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> Taccept(FieldVisitor<T> fieldVisitor)booleanequals(Object o)AnalyzerDescriptorProvidergetAnalyzerProvider()FieldDescriptor.IndexgetIndex()StringgetName()FieldDescriptor.StoregetStore()StringgetValue()inthashCode()
-
-
-
Field Detail
-
name
protected final String name
-
value
protected final String value
-
index
protected final FieldDescriptor.Index index
-
store
protected final FieldDescriptor.Store store
-
-
Constructor Detail
-
TextFieldDescriptor
public TextFieldDescriptor(String name, String value, FieldDescriptor.Store store, AnalyzerDescriptorProvider analyzerProvider)
Create a text field with a custom analyzer.- Since:
- 7.17
-
TextFieldDescriptor
public TextFieldDescriptor(String name, String value, FieldDescriptor.Store store)
-
-
Method Detail
-
accept
public <T> T accept(FieldVisitor<T> fieldVisitor)
- Overrides:
acceptin classFieldDescriptor
-
getAnalyzerProvider
@Nonnull public AnalyzerDescriptorProvider getAnalyzerProvider()
-
getName
public String getName()
-
getValue
public String getValue()
-
getIndex
public FieldDescriptor.Index getIndex()
-
getStore
public FieldDescriptor.Store getStore()
-
-