Class StringFieldMapping
java.lang.Object
com.atlassian.confluence.plugins.index.api.mapping.AbstractFieldMapping
com.atlassian.confluence.plugins.index.api.mapping.StringFieldMapping
- All Implemented Interfaces:
FieldMapping
Field mapping for keywords or non analyzed text.
- Since:
- 8.6
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> T
accept
(FieldMappingVisitor<T> visitor) Applies the supplied visitor to this field mapping with its respective callback.static StringFieldMapping.Builder
createField
(String value) Create a field for the current mapping with the given valueboolean
Indicate whether this field is a lowercaseboolean
Indicate whether this field is a lowercase
-
Constructor Details
-
StringFieldMapping
-
-
Method Details
-
createField
Create a field for the current mapping with the given value- Parameters:
value
-- Returns:
- the newly created field
-
accept
Description copied from interface:FieldMapping
Applies the supplied visitor to this field mapping with its respective callback.- Parameters:
visitor
- The visitor to dispatch- Returns:
- The value that is returned by the supplied visitor
-
builder
-
isAsLowercase
public boolean isAsLowercase()Indicate whether this field is a lowercaseOnly used by OpenSearch when handle
LowercaseFieldSort
- Returns:
- whether this field is a lowercase
- Since:
- 8.8
-
isWithLowercase
public boolean isWithLowercase()Indicate whether this field is a lowercaseOnly used by OpenSearch when handle
LowercaseFieldSort
- Returns:
- whether this field is a lowercase
- Since:
- 8.8
-