Class BinaryFieldMapping
- java.lang.Object
-
- com.atlassian.confluence.plugins.index.api.mapping.AbstractFieldMapping
-
- com.atlassian.confluence.plugins.index.api.mapping.BinaryFieldMapping
-
- All Implemented Interfaces:
FieldMapping
public class BinaryFieldMapping extends AbstractFieldMapping
Field mapping for storing binary values.- Since:
- 8.6
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.atlassian.confluence.plugins.index.api.mapping.AbstractFieldMapping
AbstractFieldMapping.Builder
-
-
Constructor Summary
Constructors Constructor Description BinaryFieldMapping(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(FieldMappingVisitor<T> visitor)
Applies the supplied visitor to this field mapping with its respective callback.FieldDescriptor
createField(byte[] value)
Create a field for the current mapping with the given value
-
-
-
Constructor Detail
-
BinaryFieldMapping
public BinaryFieldMapping(String name)
-
-
Method Detail
-
createField
public FieldDescriptor createField(byte[] value)
Create a field for the current mapping with the given value- Parameters:
value
-- Returns:
- the newly created field
-
accept
public <T> T accept(FieldMappingVisitor<T> visitor)
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
-
-