public final class TextFieldDescriptor extends FieldDescriptor
FieldDescriptor.Index, FieldDescriptor.Store
Modifier and Type | Field and Description |
---|---|
protected FieldDescriptor.Index |
index |
protected String |
name |
protected FieldDescriptor.Store |
store |
protected String |
value |
Constructor and 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.
|
Modifier and Type | Method and 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() |
protected final String name
protected final String value
protected final FieldDescriptor.Index index
protected final FieldDescriptor.Store store
public TextFieldDescriptor(String name, String value, FieldDescriptor.Store store, AnalyzerDescriptorProvider analyzerProvider)
public TextFieldDescriptor(String name, String value, FieldDescriptor.Store store)
public <T> T accept(FieldVisitor<T> fieldVisitor)
accept
in class FieldDescriptor
@Nonnull public AnalyzerDescriptorProvider getAnalyzerProvider()
public String getName()
public String getValue()
public FieldDescriptor.Index getIndex()
public FieldDescriptor.Store getStore()
Copyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences