-
- All Implemented Interfaces:
-
com.jillesvangurp.eskotlinwrapper.IMapBackedProperties
,kotlin.collections.Map
,kotlin.collections.MutableMap
,org.elasticsearch.common.xcontent.ToXContent
public final class FieldMapping extends MapBackedProperties
-
-
Constructor Summary
Constructors Constructor Description FieldMapping(String typeName)
-
Method Summary
Modifier and Type Method Description final Unit
fields(Function1<FieldMappings, Unit> block)
final String
getType()
final List<String>
getCopyTo()
final String
getAnalyzer()
final String
getSearchAnalyzer()
Set<Entry.Map<String, Object>>
getEntries()
Set<String>
getKeys()
Integer
getSize()
Collection<Object>
getValues()
final Unit
setType(String type)
final Unit
setCopyTo(List<String> copyTo)
final Unit
setAnalyzer(String analyzer)
final Unit
setSearchAnalyzer(String searchAnalyzer)
-
Methods inherited from class com.jillesvangurp.eskotlinwrapper.FieldMapping
esQueryProperty, get, getOrCreateMutableList, property, property, put, putNoSnakeCase, toXContent
-
Methods inherited from class com.jillesvangurp.eskotlinwrapper.MapBackedProperties
clear, compute, computeIfAbsent, computeIfPresent, isFragment, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll
-
Methods inherited from class kotlin.collections.MutableMap
containsKey, containsValue, forEach, getOrDefault, isEmpty
-
Methods inherited from class kotlin.collections.Map
equals, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Constructor Detail
-
FieldMapping
FieldMapping(String typeName)
-
-
Method Detail
-
fields
final Unit fields(Function1<FieldMappings, Unit> block)
-
getAnalyzer
final String getAnalyzer()
-
getSearchAnalyzer
final String getSearchAnalyzer()
-
getEntries
Set<Entry.Map<String, Object>> getEntries()
-
getValues
Collection<Object> getValues()
-
setAnalyzer
final Unit setAnalyzer(String analyzer)
-
setSearchAnalyzer
final Unit setSearchAnalyzer(String searchAnalyzer)
-
-
-
-