Interface FieldMappings.FieldMappingWriter
-
- All Known Implementing Classes:
LuceneFieldMappingWriter,OpenSearchIndexManagerFactory.OpenSearchIndexManagerImpl
- Enclosing class:
- FieldMappings
public static interface FieldMappings.FieldMappingWriterWriter for creating field mappings physically on the underlying index.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanputIfAbsent(FieldMapping mapping)Create the specified field mapping on the underlying index if it is not already present.
-
-
-
Method Detail
-
putIfAbsent
boolean putIfAbsent(FieldMapping mapping) throws SearchIndexAccessException
Create the specified field mapping on the underlying index if it is not already present.- Parameters:
mapping- a mapping to add- Returns:
- true if the mapping was created on the index, or false if it was already present.
- Throws:
SearchIndexAccessException- if the mapping failed to be created
-
-