Class FieldDescriptor
- java.lang.Object
-
- com.atlassian.confluence.plugins.index.api.FieldDescriptor
-
- Direct Known Subclasses:
DocValuesFieldDescriptor
,DoubleFieldDescriptor
,FloatFieldDescriptor
,IntFieldDescriptor
,LongFieldDescriptor
,NumericDocValuesFieldDescriptor
,SortedDocValuesFieldDescriptor
,StoredFieldDescriptor
,StringFieldDescriptor
,TextFieldDescriptor
@Internal public class FieldDescriptor extends Object
Represents an index field.Use one of the specific subclasses of
AbstractFieldDescriptor
instead.- Since:
- 7.17
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FieldDescriptor.Index
static class
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 FieldDescriptor(String name, String value, FieldDescriptor.Store store, FieldDescriptor.Index index)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(FieldVisitor<T> fieldVisitor)
boolean
equals(Object o)
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
-
FieldDescriptor
public FieldDescriptor(String name, String value, FieldDescriptor.Store store, FieldDescriptor.Index index)
-
-
Method Detail
-
accept
public <T> T accept(FieldVisitor<T> fieldVisitor)
-
getName
public String getName()
-
getValue
public String getValue()
-
getIndex
public FieldDescriptor.Index getIndex()
-
getStore
public FieldDescriptor.Store getStore()
-
-