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.Index
index
protected String
name
protected FieldDescriptor.Store
store
protected String
value
-
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> T
accept(FieldVisitor<T> fieldVisitor)
boolean
equals(Object o)
AnalyzerDescriptorProvider
getAnalyzerProvider()
FieldDescriptor.Index
getIndex()
String
getName()
FieldDescriptor.Store
getStore()
String
getValue()
int
hashCode()
-
-
-
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:
accept
in classFieldDescriptor
-
getAnalyzerProvider
@Nonnull public AnalyzerDescriptorProvider getAnalyzerProvider()
-
getName
public String getName()
-
getValue
public String getValue()
-
getIndex
public FieldDescriptor.Index getIndex()
-
getStore
public FieldDescriptor.Store getStore()
-
-